Closed semyonkozlov closed 8 months ago
# ros2 service list -t
/odrive_axis0/can_node/describe_parameters [rcl_interfaces/srv/DescribeParameters]
/odrive_axis0/can_node/get_parameter_types [rcl_interfaces/srv/GetParameterTypes]
/odrive_axis0/can_node/get_parameters [rcl_interfaces/srv/GetParameters]
/odrive_axis0/can_node/get_type_description [type_description_interfaces/srv/GetTypeDescription]
/odrive_axis0/can_node/list_parameters [rcl_interfaces/srv/ListParameters]
/odrive_axis0/can_node/set_parameters [rcl_interfaces/srv/SetParameters]
/odrive_axis0/can_node/set_parameters_atomically [rcl_interfaces/srv/SetParametersAtomically]
/odrive_axis0/request_axis_state [odrive_can/srv/AxisState]
mb will be useful
Seeing the same error when trying to make a service call.
same here, hoping that @samuelsadok can shed some light
Hey guys, I think I can help. I checked the command you used against my notes:
ros2 service call /odrive_axis0/request_axis_state /odrive_can/srv/AxisState "{axis_requested_state: 1}" <-- yours
ros2 service call /odrive_axis0/request_axis_state odrive_can/srv/AxisState "{axis_requested_state: 1}" <-- my notes
The only difference is the leading "/" on the odrive_can/srv/AxisState. I confirmed that you're command produces the same error on my setup, but it works without the "/"
Nice find @JesseDarr! The docs need be updated to remove the forward slash.
Whoops don't know how that slash got in there but I could confirm that the proposed fix works. Thanks for the pointer! I just updated the docs.
I was able to launch node, so package is built and setup.bash is sourced.
ros2 topic echo
and other command are also working correctly.