mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-04 04:33:59 -04:00
APMrover2: Camera options for better camera control
All on one because they would not pass autotest if split up.
This commit is contained in:
parent
6da7e76990
commit
80f19aefc7
@ -381,7 +381,7 @@ void Rover::update_GPS_10Hz(void)
|
||||
}
|
||||
|
||||
#if CAMERA == ENABLED
|
||||
if (camera.update_location(current_loc) == true) {
|
||||
if (camera.update_location(current_loc, rover.ahrs) == true) {
|
||||
do_take_picture();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user