Skip to content
Snippets Groups Projects
Commit f1f57a18 authored by Markus Grotz's avatar Markus Grotz Committed by Jonas Beil
Browse files

disabled median filter for XSens IMU

parent ba233069
No related branches found
No related tags found
No related merge requests found
......@@ -496,7 +496,7 @@ namespace IMU
case eGaussianFusion:
if (GaussianFuseCurrentState())
{
SendEvent(CIMUEvent(m_LastFrameTimeStamp, CIMUEvent::eOnIMUIntegratedState, this, m_FusedIMUState));
SendEvent(CIMUEvent(m_LastFrameTimeStamp, CIMUEvent::eOnIMUFusedCycle, this, m_FusedIMUState));
if (IntegrateCurrentState())
{
......@@ -507,8 +507,11 @@ namespace IMU
break;
case eNoFusion:
if (IntegrateCurrentState())
{
SendEvent(CIMUEvent(m_LastFrameTimeStamp, CIMUEvent::eOnIMUFusedCycle, this, m_FusedIMUState));
SendEvent(CIMUEvent(m_LastFrameTimeStamp, CIMUEvent::eOnIMUIntegratedState, this, m_IntegratedIMUState));
}
......
......@@ -112,7 +112,7 @@ void XsensIMU::onInitIMU()
SetDispatchingMode(IMU::IIMUEventDispatcher::eDecoupled);
SetMaximalPendingEvents(5);
IMUDevice.SetFusion(IMU::CIMUDevice::eMeanFusion, 4);
//IMUDevice.SetFusion(IMU::CIMUDevice::eGaussianFusion, 2);
IMUDevice.RegisterEventDispatcher(this);
IMUDevice.Connect(_IMU_DEVICE_DEFAUL_CONNECTION_, IMU::CIMUDevice::eSamplingFrequency_120HZ);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment