Browse Source

ArduCopter: Camera options for better camera control

All on one because they would not pass autotest if split up.
mission-4.1.18
Andre Kjellstrup 9 years ago committed by Andrew Tridgell
parent
commit
eb0daee4b3
  1. 2
      ArduCopter/ArduCopter.cpp

2
ArduCopter/ArduCopter.cpp

@ -551,7 +551,7 @@ void Copter::update_GPS(void) @@ -551,7 +551,7 @@ void Copter::update_GPS(void)
if (gps.status() >= AP_GPS::GPS_OK_FIX_3D) {
#if CAMERA == ENABLED
if (camera.update_location(current_loc) == true) {
if (camera.update_location(current_loc, copter.ahrs) == true) {
do_take_picture();
}
#endif

Loading…
Cancel
Save