Having a little trouble packaging up my ROS workspace. It feels like a path issue somewhere but I can’t track it down.
When we start the snap, we get a few errors:
cannot launch node of type [our_package/our_rosbridge_suite_node] in package [our_package]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
I have a hunch that these are related but troubleshooting rosdep feels like the easier place to start troubleshooting since it’s probably a bit more universal. Everything works fine outside of our snap; in fact,
roscore starts from within the snap and we can launch nodes as another user.
After launching bash in the context of my snap (thanks for the tip, Kyle!) I was able to run
rosdep update. It updated source lists and reported:
updated cache in /home/my-user/snap/my-snap/x1/ros/rosdep/sources.cache
After this, running
rosdep check rosbridge_server returned:
ERROR: Rosdep experienced an internal error.
Please go to the rosdep page... blah blah blah
rosdep version: 011.8
Bad installer [apt]: [Errno 2] No such file or directory
Is it missing permission to install dependencies? Something else? Appreciate any advice.