mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-15 06:17:34 +08:00
flow: add unit test for yaw motion (#950)
This commit is contained in:
committed by
GitHub
parent
df7f261e03
commit
18f334f4db
@@ -95,6 +95,11 @@ bool EkfWrapper::isIntendingFlowFusion() const
|
||||
return _ekf->control_status_flags().opt_flow;
|
||||
}
|
||||
|
||||
void EkfWrapper::setFlowOffset(const Vector3f &offset)
|
||||
{
|
||||
_ekf_params->flow_pos_body = offset;
|
||||
}
|
||||
|
||||
void EkfWrapper::enableExternalVisionPositionFusion()
|
||||
{
|
||||
_ekf_params->fusion_mode |= MASK_USE_EVPOS;
|
||||
|
||||
Reference in New Issue
Block a user