Best practices working with isolated CAN devices using socketCAN?
Hey there! :)
I'm currently working with 2 CAN-devices controlled via ROS & socketCAN & would like to keep them separate, albeit being controlled from one machine running each corresponding control node. What would be a viable approach to this?
Since socketCAN uses a single CAN instance (vcan0) with 2 topics (sent_messages & received_messages) - wouldn't that require launching a 2nd modified socketCAN instance to work with a new vcan1, bridging 2 new topics (sent_messages_1 & received_messages_1) to the 2nd control node to keep them separate?
While this seems like an obvious solution, this also doesn't feel quite right, hence I wonder if there is a better solution to this?
Thanks a bunch!