mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
Copter: changes for AP_Mount API
This commit is contained in:
parent
4de2a654ab
commit
d38d9ea88f
@ -812,13 +812,13 @@ static AP_HAL::AnalogSource* board_vcc_analog_source;
|
||||
#if MOUNT == ENABLED
|
||||
// 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?
|
||||
static AP_Mount camera_mount(¤t_loc, g_gps, &ahrs, 0);
|
||||
static AP_Mount camera_mount(¤t_loc, g_gps, ahrs, 0);
|
||||
#endif
|
||||
|
||||
#if MOUNT2 == ENABLED
|
||||
// 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?
|
||||
static AP_Mount camera_mount2(¤t_loc, g_gps, &ahrs, 1);
|
||||
static AP_Mount camera_mount2(¤t_loc, g_gps, ahrs, 1);
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user