mirror of https://github.com/ArduPilot/ardupilot
Rover: fixes for AP_Mount API
This commit is contained in:
parent
d38d9ea88f
commit
f62c53502d
|
@ -303,7 +303,7 @@ static struct Location current_loc;
|
||||||
#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?
|
||||||
AP_Mount camera_mount(¤t_loc, g_gps, &ahrs, 0);
|
AP_Mount camera_mount(¤t_loc, g_gps, ahrs, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue