-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: the 'package' argument is required to perform a relative import for '.odrive_can.srv' #6
Comments
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.The text was updated successfully, but these errors were encountered: