clubcapra / markhor

🐐 Capra-Markhor is a ROS-based solution for managing and operating Club Capra's second rescue robot. 🐐
9 stars 1 forks source link

Ftr/docker #61

Closed SimonR99 closed 1 year ago

SimonR99 commented 1 year ago

Fix zedcam dependency and add hability to run markhor (Gazebo, lidar, slam and nav) in a docker container.

To disable the camera you need an env variable

export MARKHOR_SIMULATION=true

To run the docker container : ./scripts/start_gazebo.sh docker-compose up

saxtot commented 1 year ago

This PR is already so long. Consider branching out for any other changes.

Leuchak commented 1 year ago

Don't wait for the pull request to become too large to be reviewed. It will end up like the 'moveit_minimal' branch in 'ovis,' remaining there forever without ever being merged. The addition of Docker is a feature, and all the components required for it to work are extras that should be documented in their own pull request. For example, 'add network connectivity' is not related to the addition of Docker.

Leuchak commented 1 year ago

my bad, It is --depth 1 and not --depth 0

Error: buildx failed with: ERROR: failed to solve: executor failed running [/bin/sh -c cd ./src && git clone https://github.com/clubcapra/capra_estop.git && git clone --depth 0 https://github.com/lprobsth/gazebo_ros_tracked_vehicle_interface.git]: exit code: 128