Closed depauwjimmy closed 5 months ago
Thanks for your feedback. The lidar has answered the ColaMsg with error code 0x02 (sFA\x00\x02
), meaning that the lidar does not support SOPAS command "sMN IsSystemReady" (error code 2: Sopas_Error_METHODIN_UNKNOWNINDEX, Trying to access a method with an unknown Sopas index). Use SOPAS command "sRN SCdevicestate" to read the current device status:
rosservice call /sick_tim_7xx/ColaMsg "{request: 'sRN SCdevicestate'}"
.
See the TiM-7xx telegram listing for a list of supported SOPAS commands.
Ok it makes sense then. But is that a normal thing that an unknown command would kill the node completely?
The sick_scan_xd driver monitors itself. If the lidar is in measurement mode, but there are no ros messages within the last 150 seconds, sick_scan_xd terminates itself with timeout error. This is intended to enable a restart after error, e.g. by script or by respawn="true" (default setting in sick_tim_7xx.launch is false). In this case, the unexpected sopas response causes the service call to fail.
I am trying sending Cola command in ROS1 using ColaMsg service. Trying the command line first using what i could find inside documentation always end's up failing.
I start the node with roslaunch, i am using a TIM-7xx Reading cloudpoint from /cloud works fine.
Now i want to try running :
rosservice call /sick_lms_5xx/ColaMsg "{request: 'sMN IsSystemReady'}"
The command hangs and on the node i see
Then after a long time, the node shutdowns
Command side i receive
ERROR: transport error completing service call: unable to receive data from sender, check sender's logs for details
I have tried several commands and all behave the same way. Not sure what is wrong.