Skip to content

Docker Image for ROS Noetic with Kinect & GUI: A ready-to-use containerized environment that combines ROS Noetic compatibility with Kinect depth camera support and graphical user interface (GUI) capabilities.

License

Notifications You must be signed in to change notification settings

Vipsy-123/Docker-Image-for-ROS-Noetic-with-Kinect-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-Image-for-ROS-Noetic-with-Kinect-GUI

This Docker image is tailored for running ROS1 Noetic with support for GUI applications and the Xbox 360 Kinect Depth Camera. It includes tools such as RViz, Gazebo, and the ability to view the Kinect's depth camera feed using RViz.

Usage

Build the Docker Image

 docker build -t noetic_working -f Dockerfile-ros-noetic .

Run the Docker Container

 docker run -it --name noetic-container --user vipul --ipc=host --privileged -v /dev:/dev -v /sys:/sys -v /tmp/.X11-unix:/tmp/.X11-unix:rw --env=DISPLAY noetic_working

Change vipul with --> your_user_name

To Start an exited Docker container

docker start -ai noetic-container

To access another Docker Container Shell

docker exec -it noetic-container /bin/bash

Some Common Problems & their Solutions:

1. bash: rviz: command not found

This error occurs when bash cannot find RViz. To solve this, source the underlay:

 source /opt/ros/noetic/setup.bash

2. catkin_make Permission Denied

This occurs as non-root doesn't have access to our workspace To give access to non-root users, enter the following command

 sudo chown -R vipul:vipul /home/vipul/catkin_ws

Change vipul with --> your_user_name

3. RLException: [freenect.launch] is neither a launch file in package [freenect_launch] nor is [freenect_launch] a launch file name. The traceback for the exception was written to the log file

Source the catkin workspace setup file:

source ~/catkin_ws/devel/setup.bash

Note: This works only if the non-root user has access to the catkin workspace.

4. Error building freenect_stack - Resource not found: rgbd_launch

Resource not found: rgbd_launch
ROS path [0]=/opt/ros/noetic/share/ros
ROS path [1]=/home/inaciose/catkin_ws/src
ROS path [2]=/opt/ros/noetic/share
The traceback for the exception was written to the log file

 sudo apt-get install ros-noetic-rgbd-launch

5: If the packages are not found, update the package list:

 sudo apt-get update

Credits

Special thanks to Articulated Robotics for their valuable insights and guidance on Docker using ROS.

About

Docker Image for ROS Noetic with Kinect & GUI: A ready-to-use containerized environment that combines ROS Noetic compatibility with Kinect depth camera support and graphical user interface (GUI) capabilities.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages