ros2_socketcan icon indicating copy to clipboard operation
ros2_socketcan copied to clipboard

Aborting the launchfile leads to errors

Open Oszimilian opened this issue 7 months ago • 0 comments

Hello everyone, I currently have a problem with the launchfile. After I have started the launchfile (socket_can_bridge.launch.xml) and then end it with str + c, I get a few error messages.

[ERROR] [socket_can_receiver_node_exe-1]: process has died [pid 4692, exit code -6, cmd '/home/User/Projekt/ros2_ws/install/ros2_socketcan/lib/ros2_socketcan/socket_can_receiver_node_exe --ros-args -r __node:=socket_can_receiver -r __ns:=/ --params-file /tmp/launch_params_nh3yeyn8 -r from_can_bus:=from_can_bus'].
[INFO] [socket_can_sender_node_exe-2]: process has finished cleanly [pid 4694]
[socket_can_sender_node_exe-2] [INFO] [1720995637.325222512] [rclcpp]: signal_handler(signum=2)
[socket_can_receiver_node_exe-1] terminate called without an active exception

I also noticed that after I closed the node, I still get topics displayed with ros2 topic list that should no longer be there.

╰─ ros2 topic list
/from_can_bus
/parameter_events
/rosout
/socket_can_receiver/transition_event

I don't understand exactly why I have this behavior. I would be happy if I could get some help

Oszimilian avatar Jul 14 '24 22:07 Oszimilian