An example project which contains the Unity components necessary to complete Navigation2's SLAM tutorial with a Turtlebot3, using a custom Unity environment in place of Gazebo.
Apache License 2.0
329
stars
121
forks
source link
"ros2: command not found" after I source install/local_setup.bash #44
After I $ _source ros2_docker/colcon_ws/install/localsetup.bash(or $ _source ros2_docker/colcon_ws/iinstall/localsetup.sh or $ _source ros2_docker/colconws/iinstall/setup.bash), and try $ _ros2 launch unity_slam_example unity_slamexample.py, the terminal shows: "ros2: command not found".
Or after I $ colcon build in the directory: ros2_docker/colcon_ws, and try $ _ros2 launch unity_slam_example unity_slamexample.py, the terminal also shows: "ros2: command not found".
Hi,
I'm ruuning the Nav2 + slam_toolbox Example, and I'm at "Start RViz in the Docker container" - "(Optional) Launching ROS2 components manually" stage.
After I $ _source ros2_docker/colcon_ws/install/localsetup.bash(or $ _source ros2_docker/colcon_ws/iinstall/localsetup.sh or $ _source ros2_docker/colconws/iinstall/setup.bash), and try $ _ros2 launch unity_slam_example unity_slamexample.py, the terminal shows: "ros2: command not found".
Or after I $ colcon build in the directory: ros2_docker/colcon_ws, and try $ _ros2 launch unity_slam_example unity_slamexample.py, the terminal also shows: "ros2: command not found".
My environment: Ubuntu 20.04, Ros2-foxy
Anyone could help me with this?
Thank you so much!