Browse Source

Copter: changes for AP_Mount API

mission-4.1.18
Andrew Tridgell 11 years ago committed by Randy Mackay
parent
commit
d38d9ea88f
  1. 4
      ArduCopter/ArduCopter.pde

4
ArduCopter/ArduCopter.pde

@ -812,13 +812,13 @@ static AP_HAL::AnalogSource* board_vcc_analog_source;
#if MOUNT == ENABLED #if MOUNT == ENABLED
// current_loc uses the baro/gps soloution for altitude rather than gps only. // current_loc uses the baro/gps soloution for altitude rather than gps only.
// mabe one could use current_loc for lat/lon too and eliminate g_gps alltogether? // mabe one could use current_loc for lat/lon too and eliminate g_gps alltogether?
static AP_Mount camera_mount(&current_loc, g_gps, &ahrs, 0); static AP_Mount camera_mount(&current_loc, g_gps, ahrs, 0);
#endif #endif
#if MOUNT2 == ENABLED #if MOUNT2 == ENABLED
// current_loc uses the baro/gps soloution for altitude rather than gps only. // current_loc uses the baro/gps soloution for altitude rather than gps only.
// mabe one could use current_loc for lat/lon too and eliminate g_gps alltogether? // mabe one could use current_loc for lat/lon too and eliminate g_gps alltogether?
static AP_Mount camera_mount2(&current_loc, g_gps, &ahrs, 1); static AP_Mount camera_mount2(&current_loc, g_gps, ahrs, 1);
#endif #endif
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

Loading…
Cancel
Save