This is an error report.
Screenshot of the error
Error details
As seen in terminal, it the cartographer.launch.py is not being found in the share directory. I am not sure if it is a simple error on my end, but I have tried rebuilding a couple of times and seeing if there are different solutions but I can't seem to find one.
Hi @mariellarsanchez ,
Welcome to this Community!
Usually building the ROS2 packages from scratch would solve this issue. But I would like to see the contents of the setup.py
file in full. I feel that your setup.py
file is lacking some extra codes.
First try to re-build from scratch:
cd ~/ros2_ws
rm -rf ./build ./install ./log
colcon build
source install/setup.bash
ros2 launch <package_name> <launch_file_name>
To build from scratch
basically means tat you delete the build
, install
and log
folders and build the ROS2 workspace again, simple!
If the above step does not work for you, then please post the full contents of your setup.py
file here as a markdown formatted code-block. Refer: Extended Syntax | Markdown Guide
Regards,
Girish