what(): Unable to find package: nodelet
I am working with ROS melodic on a raspberry pi 3, compiled from source. I also had to compile openCV 3.x from source.
My end goal is to use the freenect_stack to do SLAM with an Xbox Kinect device.
When launching:
roslaunch freenect_launch freenect.launch depth_registration:=true
I get the following error. The kinect camera isn't detected or topics registered so I believe this is an integral part of the stack. However, the logs do not exist that are being referenced. I wonder if it's a shared object loading issue, (openCV is installed in my workspace) but setting LD_RUN_PATH didn't solve the issue either. I'm running the application directly:
/home/pi/ros_catkin_ws/install_isolated/lib/nodelet/nodelet manager __name:=camera_nodelet_manager
And trying to use 'strace' to figure it out. But not sure how else to troubleshoot it.
process[camera/camera_nodelet_manager-2]: started with pid [24271]
terminate called after throwing an instance of 'pluginlib::ClassLoaderException'
what(): Unable to find package: nodelet
[camera/camera_nodelet_manager-2] process has died [pid 24271, exit code -6, cmd /home/pi/ros_catkin_ws/install_isolated/lib/nodelet/nodelet manager __name:=camera_nodelet_manager __log:=/home/pi/.ros/log/3e64c5f6-511b-11ec-9888-b827eb4bb89f/camera-camera_nodelet_manager-2.log].
log file: /home/pi/.ros/log/3e64c5f6-511b-11ec-9888-b827eb4bb89f/camera-camera_nodelet_manager-2*.log
Hi @jgauthier, if you could add more context to your question and more insights what you are working on it will be helpful. Take a look at prior answer with similar error and the details that were provided: https://answers.ros.org/question/2787...
It's unlikely that the error is caused by the same issue, but it was easier to find a solution with the details provided.
I will edit the post to include more information.