You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Purpose:** Communicate with robot containers via ROS 2 DDS and MAVLink UDP
122
126
123
-
!!! note
124
-
Microsoft AirSim (legacy) uses `172.31.0.201` (Isaac Sim uses `172.31.0.200`). Only one simulator should be active at a time. Set `SIM_IP=172.31.0.201` in `.env` when using Microsoft AirSim (legacy).
125
-
126
127
**Port usage:**
127
128
128
129
| Port | Protocol | Purpose |
@@ -312,15 +313,15 @@ AIRSIM_CAM_FOV=120 airstack up --profile ms-airsim
312
313
313
314
**MAVROS won't connect (robot container):**
314
315
315
-
- Verify `SIM_IP=172.31.0.201` is set in `.env`
316
+
- Verify `SIM_IP=172.31.0.200` is set in `.env`
316
317
- Ensure PX4 SITL has started (look for `[mavlink]` output in the PX4 tmux window)
|`ControlPortLocal`|`24540 + i`|AirSim MAVLink proxy local port (moved off `14540+i` so it doesn't intercept PX4 ↔ MAVROS traffic)|
105
+
|`ControlPortRemote`|`24580 + i`|AirSim MAVLink proxy remote port |
107
106
108
-
### Camera
107
+
`settings.json` is generated at container start from [`settings.json.j2`](https://github.com/.../simulation/ms-airsim/config/settings.json.j2) via [`generate_settings.py`](https://github.com/.../simulation/ms-airsim/config/generate_settings.py), which expands per-robot port offsets, spawn positions, and camera parameters.
109
108
110
-
The default configuration uses a single forward-facing depth camera:
109
+
### Cameras
111
110
112
-
- Resolution: 480x300
113
-
- FOV: 90 degrees
114
-
- Position: 20cm forward, 10cm up from body center
111
+
The default configuration is a forward-facing **stereo pair** (left + right) plus aligned depth:
115
112
116
-
To modify camera settings, edit `settings.json` under `Vehicles.drone1.Cameras.front_camera`.
0 commit comments