-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added docker-compose and fixed typo initialised vehicle location map
- Loading branch information
Showing
4 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
version: '3' | ||
|
||
services: | ||
simhost: # Must be called simhost | ||
image: uobflightlabstarling/starling-sim-iris-px4-flightarena:latest | ||
command: [ "ros2", "launch", "launch/system.launch.xml" , sim_only:=true] | ||
ports: | ||
- "8080:8080" | ||
|
||
# ---------- | ||
# Spawn Vehicle 1 | ||
gazebo_spawn_1: | ||
image: uobflightlabstarling/starling-sim-iris:latest | ||
command: [ "./spawn_iris.sh" ] | ||
environment: | ||
- "PX4_SIM_HOST=localhost" | ||
- "PX4_INSTANCE=0" | ||
- "IGNORE_FAILURE=true" | ||
depends_on: | ||
- simhost | ||
pid: "host" # Share Process ID Namespace | ||
|
||
sitl: | ||
image: uobflightlabstarling/starling-sim-px4-sitl:latest | ||
environment: | ||
- "PX4_SIM_HOST=simhost" | ||
- "PX4_OFFBOARD_HOST=mavros" | ||
- "PX4_INSTANCE=0" | ||
depends_on: | ||
- gazebo_spawn_1 | ||
ports: | ||
- "18570:18570/udp" | ||
|
||
mavros: | ||
image: uobflightlabstarling/starling-mavros:latest | ||
command: ros2 launch launch/mavros_bridge.launch.xml | ||
environment: | ||
- "MAVROS_TGT_SYSTEM=1" | ||
- "MAVROS_FCU_IP=0.0.0.0" | ||
- "MAVROS_GCS_URL=tcp-l://0.0.0.0:5760" | ||
depends_on: | ||
- sitl | ||
ports: | ||
- "5760:5760" | ||
|
||
rosbridge-suite: | ||
image: uobflightlabstarling/rosbridge-suite:latest | ||
ports: | ||
- "9090:9090" | ||
|
||
allocator: | ||
image: uobflightlabstarling/starling-allocator:latest | ||
|
||
starling-ui-dashly: | ||
image: mickeyli789/starling-ui-dashly:latest | ||
ports: | ||
- "3001:3000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters