Commit 387c4d2
committed
AP_HAL_SITL: add camera simulation object
Add a new SIM_Camera object to SITL, similar to existing Sprayer and
Gripper payload simulations.
The camera simulation can be enabled via SIM_CAM_ENABLE and supports
triggering image capture via:
- servo output (TRIG_SRV + TRIG_PWM)
- GPIO pin (GPIO)
When triggered, the camera increments an internal image counter and
sends a GCS message indicating capture.1 parent b2ec483 commit 387c4d2
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
0 commit comments