MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / update

Method update

libraries/AP_Camera/AP_Camera.cpp:663–673  ·  view source on GitHub ↗

update; triggers by distance moved and camera trigger */

Source from the content-addressed store, hash-verified

661 update; triggers by distance moved and camera trigger
662*/
663void 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

Callers 5

crypto_sign_updateFunction · 0.45
crypto_check_updateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected