ros-industrial / ros2_canopen

CANopen driver framework for ROS2
https://ros-industrial.github.io/ros2_canopen/manual/rolling/
155 stars 67 forks source link

No data on /rdpo topic #319

Closed ashwinsushil closed 1 month ago

ashwinsushil commented 2 months ago

Describe the bug I am trying to read the encoder data coming from a Siko encoder over CANOpen. I'm using a CAN peak analyzer.

I was able to perform a SDO read-write and even change the NMT states to start publishing the encoder values on the PDO. This I can visualize from the candump. However, I am not seeing anything published on the /rpdo topic.

Am I missing some configuration. I'm using the proxy driver.

Logs Add build or execution log for context. image

The device.eds and master.dcf are attached. simple.zip

Setup:

Additional context Add any other context about the problem here.

ammaraljodah commented 1 month ago

The error indicates you may have wrong eds file, ensure you have the right file for your device

ashwinsushil commented 1 month ago

The issue was on the device eds file. The default COB-ID somehow had an 8 appended to it.

image