mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
RC_Channel: integrate visodom rename of requset_align_yaw_to_ahrs
This commit is contained in:
parent
8336814607
commit
6114e1f2ea
@ -1220,7 +1220,7 @@ bool RC_Channel::do_aux_function(const aux_func_t ch_option, const AuxSwitchPos
|
|||||||
if (ch_flag == AuxSwitchPos::HIGH) {
|
if (ch_flag == AuxSwitchPos::HIGH) {
|
||||||
AP_VisualOdom *visual_odom = AP::visualodom();
|
AP_VisualOdom *visual_odom = AP::visualodom();
|
||||||
if (visual_odom != nullptr) {
|
if (visual_odom != nullptr) {
|
||||||
visual_odom->align_sensor_to_vehicle();
|
visual_odom->request_align_yaw_to_ahrs();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user