Docker compose
Added a docker compose config file. Added a new entrypoint that fakes an arm, to save time not having to arm vehicle through mission planner in simulation.
Docker compose can be launched using 4 different profiles
- **simulation **(default). Creates a subnet to launch sitl and asv_workspace (ASV automatically armed)
- hostsitl. Works the same way as simulation but sitl is accesible through mission planner and not automated arm (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