socketcan_bridge_node error handling
I have an application that uses socketcan_bridge_node to do CAN communication. It works well, but occasionally the CAN network enters an error mode and the entire bridge node stops working. Is there a way I can detect this and reset the CAN?
The interesting thing is that, even if the node is in error mode, I can still send CAN packets on the same network without resetting using canutils (cansend, etc.). This tells me that the problem lies with the node not handling the error properly
I am not an expert on CAN networks however, so there might be something about CAN errors that I'm not understanding...
Which errors do you get?
I'm getting "controller problems". It's really hard to isolate though, it only seems to happen when a microcontroller (not the computer running ROS) in the CAN network starts controlling a motor, and outdoors (hot weather) not indoors. Either way, I just want to be able to recover as a workaround.
HI! I also want to use ros socketcan_interface to communicate with the robot. i.e. subscribe data and send it to my microcontroller by USB-CAN. But I don't have any idea,can you tell me maybe how should i do?