Changeset 62 in flair-dev for trunk/include
- Timestamp:
- Jan 9, 2018, 11:44:14 AM (7 years ago)
- Location:
- trunk/include
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairCore/Semaphore.h
r47 r62 48 48 49 49 /*! 50 * \brief TryGetSemaphore 51 * 52 * Lock the semaphore. If not possible immediately returns false 53 * 54 */ 55 bool TryGetSemaphore() const; 56 57 /*! 50 58 * \brief GetSemaphore 51 59 * -
trunk/include/FlairCore/SharedMem.h
r50 r62 27 27 * 28 28 * Shared memory is identified by its name so it can be accessed 29 * by another process ususing its name.29 * by another process using its name. 30 30 */ 31 31 … … 65 65 * \param size buffer size 66 66 */ 67 void Read(char *buf, size_t size) const;67 bool Read(char *buf, size_t size, Time nsTimeout=TIME_INFINITE) const; 68 68 69 69 70 70 /*! 71 * \brief This function should be called when reader starts(in case of a SharedMem of type producerConsumer)71 * \brief This function should be called when reader is ready (in case of a SharedMem of type producerConsumer) 72 72 */ 73 73 void ReaderReady(); -
trunk/include/FlairCore/Vector3DSpinBox.h
r50 r62 68 68 void XmlEvent(void); 69 69 70 core::Vector3D fbox_value;70 core::Vector3D<double> box_value; 71 71 }; 72 72 -
trunk/include/FlairFilter/AhrsComplementaryFilter.h
r50 r62 24 24 namespace gui { 25 25 class DoubleSpinBox; 26 class Vector3DSpinBox; 26 27 } 27 28 } … … 69 70 gui::DoubleSpinBox *ka[3]; 70 71 gui::DoubleSpinBox *kb[3]; 72 gui::DoubleSpinBox *km[3]; 73 gui::Vector3DSpinBox *magRef; 71 74 }; 72 75 } // end namespace filter -
trunk/include/FlairFilter/PidThrust.h
r13 r62 55 55 56 56 /*! 57 * \brief Reset integral and offset to 058 *59 */60 void Reset(void);61 62 /*!63 57 * \brief Reset integral to 0 64 58 * … … 67 61 68 62 /*! 69 * \brief Reset offset to 063 * \brief Set offset to a specified value 70 64 * 65 * \param value desired value 71 66 */ 72 void ResetOffset(void);73 67 void SetOffset(float value); 68 74 69 /*! 75 70 * \brief Set offset to specified value in ground station 76 71 * 77 72 */ 78 void Set Offset(void);73 void SetDefaultOffset(void); 79 74 80 75 /*! -
trunk/include/FlairFilter/TrajectoryGenerator1D.h
r50 r62 127 127 * \brief Position 128 128 * 129 * \return the actual position 129 130 */ 130 131 float Position(void) const; … … 133 134 * \brief Speed 134 135 * 136 * \return the actual speed 135 137 */ 136 138 float Speed(void) const; 139 140 /*! 141 * \brief Get percentage of completion 142 * 143 * Value is between 0 and 100. 144 * 145 * \return the percentage of completion (in position) 146 */ 147 float GetPercentageOfCompletion(void) const; 137 148 138 149 /*! -
trunk/include/FlairMeta/UavStateMachine.h
r50 r62 228 228 const sensor::TargetController *GetJoystick(void) const; 229 229 MetaDualShock3 *joy; 230 231 filter::NestedSat *GetURoll(void); 232 filter::NestedSat *GetUPitch(void); 233 filter::Pid *GetUYaw(void); 234 filter::PidThrust *GetUZ(void); 235 filter::TrajectoryGenerator1D *GetAltitudeTrajectory(void); 230 236 231 237 gui::Tab *setupLawTab, *graphLawTab; -
trunk/include/FlairSensorActuator/Imu.h
r50 r62 53 53 * 54 54 * \param name name 55 * \param needRotation true will enable post rotation in GCS. Post rotation must be applied manually in reimplemented code 55 56 */ 56 Imu(std::string name );57 Imu(std::string name,bool needRotation=true); 57 58 58 59 /*! -
trunk/include/FlairSensorActuator/SimuGps.h
r50 r62 99 99 core::SharedMem *shmem; 100 100 gui::SpinBox *dataRate,*fixQuality,*numberOfSatellites; 101 gui::DoubleSpinBox *latitudeRef,*longitudeRef,*altitudeRef ;101 gui::DoubleSpinBox *latitudeRef,*longitudeRef,*altitudeRef,*magneticDeclination; 102 102 }; 103 103 } // end namespace sensor
Note:
See TracChangeset
for help on using the changeset viewer.