dusty-nv / jetson-containers

Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
MIT License
2.09k stars 436 forks source link

install ros apt pkg on jetson containers #178

Open hongyeecheah opened 2 years ago

hongyeecheah commented 2 years ago

Hello, I'm using jetson Nano with this image dustynv/ros:foxy-ros-base-l4t-r34.1.1 however when running this in the terminal apt install ros-foxy-cartographer ros-foxy-cartographer-ros I am not able to get to show the cartographer pkg source /opt/ros/foxy/install/setup.bash ros2 pkg list |grep carto

behretv commented 1 year ago

The ROS packages inside the containers are installed with --merge-install, hence the setup.bash file is inside the install/ folder.

If you install via apt install, you will have a second setup.bash script in /opt/ros/foxy/setup.bash.