update; triggers by distance moved and camera trigger */
| 661 | update; triggers by distance moved and camera trigger |
| 662 | */ |
| 663 | void AP_Camera::update() |
| 664 | { |
| 665 | WITH_SEMAPHORE(_rsem); |
| 666 | |
| 667 | // call each instance |
| 668 | for (uint8_t instance = 0; instance < AP_CAMERA_MAX_INSTANCES; instance++) { |
| 669 | if (_backends[instance] != nullptr) { |
| 670 | _backends[instance]->update(); |
| 671 | } |
| 672 | } |
| 673 | } |
| 674 | |
| 675 | // start/stop recording video. returns true on success |
| 676 | // start_recording should be true to start recording, false to stop recording |
no outgoing calls
no test coverage detected