ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Actually, this is just a misleading output from https://github.com/ros-industrial/ros_canopen/blob/kinetic-devel/socketcan_interface/src/candump.cpp#L46

ERROR should better be STATE (I will fix that!).

In the first first line

ERROR: state=1 internal_error=0('OK') asio: system:0

state=1 means that the device was opened successfully.

And in the second line

ERROR: state=2 internal_error=0('OK') asio: system:0

the driver switches to ready and can therefore receive and transmit data.

Actually, this is just a misleading output from https://github.com/ros-industrial/ros_canopen/blob/kinetic-devel/socketcan_interface/src/candump.cpp#L46

ERROR should better be STATE (I will fix fix that!).

In the first first line

ERROR: state=1 internal_error=0('OK') asio: system:0

state=1 means that the device was opened successfully.

And in the second line

ERROR: state=2 internal_error=0('OK') asio: system:0

the driver switches to ready and can therefore receive and transmit data.