This guide provides step-by-step instructions for setting up and using Jackal in Docker.
- Docker installed on your system
- Git installed on your system
- Terminal access with sudo privileges
Clone the Jackal GitHub repository to your local machine:
git clone https://github.com/ArturPrentki/Jackal.gitChange to the Jackal directory:
cd JackalBuild the Docker image and run the container:
sudo docker build -t jackal_foxy .
sudo ./run.shTo enter the Docker container from another terminal:
sudo ./enter.shOn your host machine, run the following command to allow Docker to access the display:
xhost +local:dockerUpdate the package cache and install VCS tools:
sudo apt-get update
sudo apt-get install python3-vcstoolCreate a source directory for the workspace:
mkdir srcDownload and import the Jackal dependencies:
wget https://raw.githubusercontent.com/jackal/jackal_robot/foxy-devel/dependencies.repos
vcs import src < dependencies.reposSource the ROS2 Foxy installation:
source /opt/ros/foxy/setup.bashInstall additional dependencies using rosdep:
rosdep install --from-paths src --ignore-src --rosdistro=$ROS_DISTRO -y \
--skip-keys=micro_ros_agentBuild the workspace using colcon:
colcon buildSource your newly built workspace:
source install/setup.bashAdd the authentication key for the packages.clearpathrobotics.com repository:
wget https://packages.clearpathrobotics.com/public.key -O - | sudo apt-key add -Add the Clearpath repository to your sources list:
sudo sh -c 'echo "deb https://packages.clearpathrobotics.com/stable/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/clearpath-latest.list'Update your system's package cache:
sudo apt-get updateInstall the Jackal desktop and simulator packages:
sudo apt-get install ros-foxy-jackal-desktop ros-foxy-jackal-simulatorFor simulation instructions and additional guidance, visit the official Clearpath Robotics documentation:
- All commands in steps 5-15 should be executed inside the Docker container