mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: Camera options for better camera control
All on one because they would not pass autotest if split up.
This commit is contained in:
parent
80f19aefc7
commit
eb0daee4b3
|
@ -551,7 +551,7 @@ void Copter::update_GPS(void)
|
||||||
if (gps.status() >= AP_GPS::GPS_OK_FIX_3D) {
|
if (gps.status() >= AP_GPS::GPS_OK_FIX_3D) {
|
||||||
|
|
||||||
#if CAMERA == ENABLED
|
#if CAMERA == ENABLED
|
||||||
if (camera.update_location(current_loc) == true) {
|
if (camera.update_location(current_loc, copter.ahrs) == true) {
|
||||||
do_take_picture();
|
do_take_picture();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue