Changeset 99 in flair-src
- Timestamp:
- Oct 5, 2016, 3:02:20 PM (8 years ago)
- Location:
- trunk/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/Gx3_25_ahrs.cpp
r15 r99 19 19 #include <FrameworkManager.h> 20 20 #include <AhrsData.h> 21 #include <OneAxisRotation.h> 21 22 22 23 using std::string; … … 45 46 Vector3D filteredAngRates; 46 47 input->GetQuaternionAndAngularRates(quaternion, filteredAngRates); 48 GetImu()->GetOneAxisRotation()->ComputeRotation(quaternion); 49 GetImu()->GetOneAxisRotation()->ComputeRotation(filteredAngRates); 47 50 output->SetQuaternionAndAngularRates(quaternion, filteredAngRates); 48 51 output->SetDataTime(input->DataTime()); -
trunk/lib/FlairSensorActuator/src/Imu.cpp
r55 r99 59 59 60 60 void Imu::GetDatas(ImuData **outImuData) const { *outImuData = imuData; } 61 62 OneAxisRotation *Imu::GetOneAxisRotation(void) const { 63 return rotation; 64 } 61 65 62 66 void Imu::UpdateImu() { -
trunk/lib/FlairSensorActuator/src/Imu.h
r51 r99 104 104 gui::Tab *GetPlotTab(void) const; 105 105 106 /*! 107 * \brief Get OneAxisRotation 108 * 109 * \return fixed rotation of the imu 110 */ 111 core::OneAxisRotation *GetOneAxisRotation(void) const; 112 113 106 114 protected: 107 115 /*!
Note:
See TracChangeset
for help on using the changeset viewer.