mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 04:20:35 +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;
|
||||
|
||||
@@ -71,6 +71,7 @@ public:
|
||||
void enableFlowFusion();
|
||||
void disableFlowFusion();
|
||||
bool isIntendingFlowFusion() const;
|
||||
void setFlowOffset(const matrix::Vector3f &offset);
|
||||
|
||||
void enableExternalVisionPositionFusion();
|
||||
void disableExternalVisionPositionFusion();
|
||||
|
||||
Reference in New Issue
Block a user