ACE-TI Gitlab

Skip to content

Docker compose

Alejandro Casado requested to merge docker_compose into main

Added a docker compose config file

Docker compose can be launched using 4 different profiles

  • **simulation **(default). Creates a subnet to launch sitl and asv_workspace
  • hostsitl. Works the same way as simulation but sitl is accesible through mission planner (only 1 asv can be launched to avoid overlapping)
  • vehicle. Launches the ASV for real vehicle operation
  • vehiclecamera. Launches the ASV and the camera for real operation

there exists an .env file where ASV_ID default value can be declared

parameters appearing before docker compose are optional

  • $i is vehicle number

$ cd dockerfiles $ VEH_LAT={vehiclepos[0]} VEH_LON={vehiclepos[1]} ASV_ID=i docker compose -p asvi up -d --force-recreate

Merge request reports

Loading