Changeset 50 in flair-dev for trunk/include/FlairSensorActuator
- Timestamp:
- May 31, 2017, 3:54:26 PM (7 years ago)
- Location:
- trunk/include/FlairSensorActuator
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairSensorActuator/AfroBldc.h
r13 r50 18 18 namespace flair { 19 19 namespace core { 20 class FrameworkManager;21 20 class I2cPort; 22 21 } -
trunk/include/FlairSensorActuator/BatteryMonitor.h
r13 r50 21 21 class Label; 22 22 class DoubleSpinBox; 23 class SpinBox; 23 24 } 24 25 } … … 56 57 * 57 58 */ 58 bool IsBatteryLow(void) const;59 bool IsBatteryLow(void); 59 60 60 61 /*! … … 77 78 float batteryvalue; 78 79 gui::DoubleSpinBox *battery_thresh; 80 gui::SpinBox *thresholdTime; 79 81 gui::Label *battery; 82 core::Time underThersholdStartTime; 83 bool isUnderThershold; 80 84 }; 81 85 } // end namespace sensor -
trunk/include/FlairSensorActuator/BlCtrlV2.h
r13 r50 18 18 namespace flair { 19 19 namespace core { 20 class FrameworkManager;21 20 class I2cPort; 22 21 } -
trunk/include/FlairSensorActuator/BlCtrlV2_x4_speed.h
r13 r50 25 25 namespace core { 26 26 class cvmatrix; 27 class FrameworkManager;28 27 class I2cPort; 29 28 } … … 44 43 45 44 public: 46 BlCtrlV2_x4_speed( core::FrameworkManager *parent,std::string name,45 BlCtrlV2_x4_speed(std::string name, 47 46 core::I2cPort *i2cport, uint8_t base_address, 48 47 uint8_t priority); -
trunk/include/FlairSensorActuator/Bldc.h
r13 r50 19 19 namespace flair { 20 20 namespace core { 21 class FrameworkManager;22 21 class cvmatrix; 23 22 } … … 186 185 }; 187 186 } // end namespace actuator 188 } // end namespace f ramewor187 } // end namespace flair 189 188 #endif // BLDC_H -
trunk/include/FlairSensorActuator/Camera.h
r47 r50 43 43 * 44 44 * Construct a Camera. 45 * 46 * \param parent parent 45 * It will be child of the FrameworkManager. 46 * 47 47 * \param name name 48 48 * \param width width … … 50 50 * \param format image format 51 51 */ 52 Camera( const core::FrameworkManager *parent,std::string name, uint16_t width,52 Camera(std::string name, uint16_t width, 53 53 uint16_t height, core::cvimage::Type::Format format); 54 54 -
trunk/include/FlairSensorActuator/EmulatedController.h
r26 r50 21 21 namespace flair { 22 22 namespace core { 23 class FrameworkManager;24 23 class cvmatrix; 25 24 } … … 39 38 class EmulatedController : public TargetController { 40 39 public: 41 EmulatedController( const core::FrameworkManager* parent,std::string name,uint8_t priority=0);40 EmulatedController(std::string name,uint8_t priority=0); 42 41 ~EmulatedController(); 43 42 enum class ButtonType : uint16_t { -
trunk/include/FlairSensorActuator/Gx3_25_imu.h
r36 r50 50 50 * \brief Constructor 51 51 * 52 * Construct a Gx3_25_imu. 52 * Construct a Gx3_25_imu. It will be child of the FrameworkManager. 53 53 * 54 * \param parent parent55 54 * \param name name 56 55 * \param serialport SerialPort … … 58 57 * \param priority priority of the Thread 59 58 */ 60 Gx3_25_imu( const core::FrameworkManager *parent,std::string name,59 Gx3_25_imu(std::string name, 61 60 core::SerialPort *serialport, Command_t command, uint8_t priority); 62 61 -
trunk/include/FlairSensorActuator/HokuyoUTM30Lx.h
r13 r50 24 24 namespace core { 25 25 class cvmatrix; 26 class FrameworkManager;27 26 class SerialPort; 28 27 class Mutex; … … 47 46 * 48 47 * Construct a Hokuyo UTM30-Lx. 49 * 50 * \param parent parent48 * It will be child of the FrameworkManage 49 * 51 50 * \param name name 52 51 * \param serialport serialport 53 52 * \param priority priority of the Thread 54 53 */ 55 HokuyoUTM30Lx( const core::FrameworkManager *parent,std::string name,54 HokuyoUTM30Lx(std::string name, 56 55 core::SerialPort *serialport, uint8_t priority); 57 56 void getMesure(int startStep, int endStep, int clusterCount, int interval, … … 168 167 }; 169 168 } // end namespace sensor 170 } // end namespace f ramewor169 } // end namespace flair 171 170 #endif // HOKUYOUTM30LX_H -
trunk/include/FlairSensorActuator/HostEthController.h
r13 r50 26 26 namespace flair { 27 27 namespace core { 28 class FrameworkManager;29 28 class cvmatrix; 30 29 class TcpSocket; 31 class Socket;30 class UdpSocket; 32 31 class Mutex; 33 32 } … … 56 55 class HostEthController : public core::Thread, public core::IODevice { 57 56 public: 58 HostEthController( const core::FrameworkManager *parent,std::string name,57 HostEthController(std::string name, 59 58 std::string address, int port, uint32_t period = 10, 60 59 uint32_t _bitsPerAxis = 7, uint8_t priority = 0); … … 65 64 std::string controllerName; 66 65 core::TcpSocket *controlSocket; // connection to the target 67 core:: Socket *dataSocket;66 core::UdpSocket *dataSocket; 68 67 std::string targetAddress; 69 68 int targetPort; -
trunk/include/FlairSensorActuator/Imu.h
r36 r50 15 15 16 16 #include <IODevice.h> 17 #include <Vector3D.h> 17 18 18 19 namespace flair { … … 49 50 * 50 51 * Construct an Imu. 52 * It will be child of the FrameworkManager. 51 53 * 52 * \param parent parent53 54 * \param name name 54 55 */ 55 Imu( const core::FrameworkManager *parent,std::string name);56 Imu(std::string name); 56 57 57 58 /*! … … 71 72 */ 72 73 ~Imu(); 74 75 /*! 76 * \brief Get IMU datas 77 * 78 * \return ImuData 79 */ 80 const core::ImuData *GetDatas(void) const; 81 73 82 74 83 /*! … … 121 130 122 131 /*! 123 * \brief UpdateImu132 * \brief ApplyRotation 124 133 * 125 * The reimplemented class must call this function as soon as IMU datas are 126 *available. \n 134 * The reimplemented class must call this function to rotate IMU datas, before filling the ImuData. \n 127 135 * It handles the data rotation if it was defined. 128 136 * 137 * \param vector vector to apply rotation to 129 138 */ 130 void UpdateImu(); 139 void ApplyRotation(core::Vector3Df& vector); 140 141 /*! 142 * \brief ApplyRotation 143 * 144 * The reimplemented class must call this function to rotate IMU datas, before filling the ImuData. \n 145 * It handles the data rotation if it was defined. 146 * 147 * \param quaternion quaternion to apply rotation to 148 */ 149 void ApplyRotation(core::Quaternion& quaternion); 131 150 132 151 /*! 133 152 * \brief Get imu datas 134 153 * 154 * Can be used by dervied class to fill core::ImuData 155 * 135 156 * \param imuData imu datas 136 157 */ -
trunk/include/FlairSensorActuator/LaserRangeFinder.h
r13 r50 42 42 * 43 43 * Construct a Laser Range Finder. 44 * It will be child of the FrameworkManager 44 45 * 45 * \param parent parent46 46 * \param name name 47 47 */ 48 LaserRangeFinder( const core::FrameworkManager *parent,std::string name);48 LaserRangeFinder(std::string name); 49 49 /*! 50 50 * \brief Constructor … … 129 129 }; 130 130 } // end namespace sensor 131 } // end namespace f ramewor131 } // end namespace flair 132 132 #endif // LASERRANGEFINDER_H -
trunk/include/FlairSensorActuator/Mb800.h
r32 r50 19 19 namespace flair { 20 20 namespace core { 21 class FrameworkManager;22 21 class SerialPort; 23 22 } … … 36 35 * 37 36 * Construct a Mb800. 38 * 39 * \param parent parent 37 * It will be child of the FrameworkManager. 38 * 40 39 * \param name name 41 40 * \param serialport serialport … … 43 42 * \param priority priority of the Thread 44 43 */ 45 Mb800( const core::FrameworkManager *parent,std::string name,44 Mb800(std::string name, 46 45 core::SerialPort *serialport, NmeaGps::NMEAFlags_t NMEAFlags, 47 46 uint8_t priority); … … 75 74 }; 76 75 } // end namespace sensor 77 } // end namespace f ramewor76 } // end namespace flair 78 77 #endif // MB800_H -
trunk/include/FlairSensorActuator/NmeaGps.h
r32 r50 15 15 16 16 #include <IODevice.h> 17 #include <Vector3D.h> 17 18 #include <nmea/nmea.h> 18 19 … … 21 22 class FrameworkManager; 22 23 class GeoCoordinate; 23 class Vector3D;24 24 class GpsData; 25 25 } … … 53 53 VTG = 0x02, /*!< VTG */ 54 54 GST = 0x04, /*!< GST */ 55 GSA = 0x08, /*!< GSA */ 55 56 }; 56 57 … … 59 60 * 60 61 * Construct a NmeaGps. 62 * It will be child of the FrameworkManager. 63 * 64 * \param name name 65 * \param NMEAFlags NMEA sentances to enable 66 */ 67 NmeaGps(std::string name, 68 NMEAFlags_t NMEAFlags); 69 70 /*! 71 * \brief Constructor 72 * 73 * Construct a NmeaGps. \n 74 * This contructor must only be called for a simulated device. 61 75 * 62 76 * \param parent parent 63 77 * \param name name 64 * \param NMEAFlags NMEA sentances to enable65 */66 NmeaGps(const core::FrameworkManager *parent, std::string name,67 NMEAFlags_t NMEAFlags);68 69 /*!70 * \brief Constructor71 *72 * Construct a NmeaGps. \n73 * This contructor must only be called for a simulated device.74 *75 * \param parent parent76 * \param name name77 78 */ 78 79 NmeaGps(const core::IODevice *parent, std::string name); … … 168 169 * \param point to store position 169 170 */ 170 void GetEnu(core::Vector3D *point);171 void GetEnu(core::Vector3Df *point); 171 172 172 173 protected: … … 222 223 }; 223 224 } // end namespace sensor 224 } // end namespace f ramewor225 } // end namespace flair 225 226 #endif // NMEAGPS_H -
trunk/include/FlairSensorActuator/Novatel.h
r32 r50 36 36 * 37 37 * Construct a Novatel. 38 * It will be child of the FrameworkManager. 38 39 * 39 * \param parent parent40 40 * \param name name 41 41 * \param serialport serialport … … 43 43 * \param priority priority of the Thread 44 44 */ 45 Novatel( const core::FrameworkManager *parent,std::string name,45 Novatel(std::string name, 46 46 core::SerialPort *serialport, NmeaGps::NMEAFlags_t NMEAFlags, 47 47 uint8_t priority); … … 75 75 }; 76 76 } // end namespace sensor 77 } // end namespace f ramewor77 } // end namespace flair 78 78 #endif // Novatel_H -
trunk/include/FlairSensorActuator/Ps3Eye.h
r13 r50 17 17 18 18 namespace flair { 19 namespace core {20 class cvimage;21 class FrameworkManager;22 }23 namespace gui {24 class GridLayout;25 class DoubleSpinBox;26 class CheckBox;27 }28 }29 30 namespace flair {31 19 namespace sensor { 32 20 /*! \class Ps3Eye … … 41 29 * 42 30 * Construct a Ps3Eye. 31 * It will be child of the FrameworkManager. 43 32 * 44 * \param parent parent45 33 * \param name name 46 34 * \param camera_index index of the camera, ie /dev/videox 47 35 * \param priority priority of the Thread 48 36 */ 49 Ps3Eye( const core::FrameworkManager *parent,std::string name,37 Ps3Eye(std::string name, 50 38 int camera_index, uint8_t priority); 51 39 -
trunk/include/FlairSensorActuator/RadioReceiver.h
r13 r50 19 19 namespace flair { 20 20 namespace core { 21 class FrameworkManager;22 21 class cvmatrix; 23 22 } … … 41 40 * 42 41 * Construct a RadioReceiver. 42 * It will be child of the FrameworkManager. 43 43 * 44 * \param parent parent45 44 * \param name name 46 45 * \param nb_channels number of supported channels 47 46 */ 48 RadioReceiver( const core::FrameworkManager *parent,std::string name,47 RadioReceiver(std::string name, 49 48 unsigned int nb_channels); 50 49 -
trunk/include/FlairSensorActuator/SimuBldc.h
r13 r50 46 46 * \param name name 47 47 * \param motors_count number of motors 48 * \param dev_id device id 48 * \param modelId Model id 49 * \param deviceId Bldc id of the Model 49 50 */ 50 51 SimuBldc(const core::IODevice *parent, gui::Layout *layout, std::string name, 51 uint8_t motors_count, uint32_t dev_id);52 uint8_t motors_count, uint32_t modelId,uint32_t deviceId); 52 53 53 54 /*! … … 59 60 * \param name name 60 61 * \param motors_count number of motors 61 * \param dev_id device id 62 * \param modelId Model id 63 * \param deviceId Bldc id of the Model 62 64 */ 63 65 SimuBldc(const core::Object *parent, std::string name, uint8_t motors_count, 64 uint32_t dev_id);66 uint32_t modelId,uint32_t deviceId); 65 67 66 68 /*! … … 107 109 */ 108 110 void SetMotors(float *value); 109 111 112 std::string ShMemName(uint32_t modelId,uint32_t deviceId); 110 113 core::SharedMem *shmem; 111 114 gui::DoubleSpinBox *k; -
trunk/include/FlairSensorActuator/SimuCamera.h
r13 r50 19 19 20 20 namespace flair { 21 namespace core { 22 class SharedMem; 23 } 24 namespace gui { 25 class SpinBox; 26 } 21 namespace core { 22 class SharedMem; 23 } 27 24 } 28 25 … … 39 36 * 40 37 * Construct a SimuCamera. Control part. 38 * It will be child of the FrameworkManager. 41 39 * 42 * \param parent parent43 40 * \param name name 44 41 * \param width width 45 42 * \param height height 46 43 * \param channels number of channels 47 * \param dev_id device id 44 * \param modelId Model id 45 * \param deviceId Camera id of the Model 48 46 * \param priority priority of the Thread 49 47 */ 50 SimuCamera( const core::FrameworkManager *parent,std::string name,51 uint16_t width, uint16_t height, uint8_t channels, uint32_t dev_id,48 SimuCamera(std::string name, 49 uint16_t width, uint16_t height, uint8_t channels, uint32_t modelId,uint32_t deviceId, 52 50 uint8_t priority); 53 51 … … 63 61 * \param height height 64 62 * \param channels number of channels 65 * \param dev_id device id 63 * \param modelId Model id 64 * \param deviceId Camera id of the Model 66 65 */ 67 66 SimuCamera(const core::IODevice *parent, std::string name, uint16_t width, 68 uint16_t height, uint8_t channels, uint32_t dev_id);67 uint16_t height, uint8_t channels, uint32_t modelId,uint32_t deviceId); 69 68 70 69 /*! … … 98 97 */ 99 98 void UpdateFrom(const core::io_data *data){}; 99 100 std::string ShMemName(uint32_t modelId,uint32_t deviceId); 100 101 101 gui::SpinBox *data_rate;102 102 size_t buf_size; 103 IplImage *img;103 char* shmemReadBuf; 104 104 }; 105 105 } // end namespace sensor -
trunk/include/FlairSensorActuator/SimuGps.h
r34 r50 19 19 namespace flair { 20 20 namespace core { 21 class FrameworkManager;22 21 class SharedMem; 23 22 } … … 40 39 * 41 40 * Construct a simulation GPS. Control part. 42 * 43 * \param parent parent 41 * It will be child of the FrameworkManager. 42 * 44 43 * \param name name 45 44 * \param NMEAFlags NMEA sentances to enable 46 * \param deviceId device id 45 * \param modelId Model id 46 * \param deviceId Gps id of the Model 47 47 * \param priority priority of the Thread 48 48 */ 49 SimuGps( const core::FrameworkManager *parent,std::string name,50 NmeaGps::NMEAFlags_t NMEAFlags, uint32_t deviceId,uint8_t priority);49 SimuGps(std::string name, 50 NmeaGps::NMEAFlags_t NMEAFlags, uint32_t modelId,uint32_t deviceId,uint8_t priority); 51 51 52 52 /*! … … 58 58 * \param parent parent 59 59 * \param name name 60 * \param deviceId device id 60 * \param modelId Model id 61 * \param deviceId Gps id of the Model 61 62 */ 62 SimuGps(const core::IODevice *parent, std::string name, uint32_t deviceId);63 SimuGps(const core::IODevice *parent, std::string name, uint32_t modelId,uint32_t deviceId); 63 64 64 65 /*! … … 93 94 float vn; 94 95 } gps_states_t; 96 97 std::string ShMemName(uint32_t modelId,uint32_t deviceId); 95 98 96 99 core::SharedMem *shmem; … … 99 102 }; 100 103 } // end namespace sensor 101 } // end namespace f ramewor104 } // end namespace flair 102 105 #endif // SIMUGPS_H -
trunk/include/FlairSensorActuator/SimuImu.h
r32 r50 39 39 * 40 40 * Construct a SimuImu. Control part. 41 * It will be child of the FrameworkManager. 41 42 * 42 * \param parent parent43 43 * \param name name 44 * \param dev_id device id 44 * \param modelId Model id 45 * \param deviceId Imu id of the Model 45 46 * \param priority priority of the Thread 46 47 */ 47 SimuImu( const core::FrameworkManager *parent,std::string name,48 uint32_t dev_id, uint8_t priority);48 SimuImu(std::string name, 49 uint32_t modelId,uint32_t deviceId, uint8_t priority); 49 50 50 51 /*! … … 56 57 * \param parent parent 57 58 * \param name name 58 * \param dev_id device id 59 * \param modelId Model id 60 * \param deviceId Imu id of the Model 59 61 */ 60 SimuImu(const core::IODevice *parent, std::string name, uint32_t dev_id);62 SimuImu(const core::IODevice *parent, std::string name, uint32_t modelId,uint32_t deviceId); 61 63 62 64 /*! … … 93 95 float wz; 94 96 } imu_states_t; 97 98 std::string ShMemName(uint32_t modelId,uint32_t deviceId); 95 99 96 100 gui::SpinBox *dataRate; -
trunk/include/FlairSensorActuator/SimuLaser.h
r13 r50 38 38 * 39 39 * Construct a SimuUs. Control part. 40 * It will be child of the FrameworkManager. 40 41 * 41 * \param parent parent42 42 * \param name name 43 * \param dev_id device id 43 * \param modelId Model id 44 * \param deviceId LaserRangeFinder id of the Model 44 45 * \param priority priority of the Thread 45 46 */ 46 SimuLaser( const core::FrameworkManager *parent,std::string name,47 uint32_t dev_id, uint8_t priority);47 SimuLaser(std::string name, 48 uint32_t modelId,uint32_t deviceId, uint8_t priority); 48 49 49 50 /*! … … 55 56 * \param parent parent 56 57 * \param name name 57 * \param dev_id device id 58 * \param modelId Model id 59 * \param deviceId LaserRangeFinder id of the Model 58 60 */ 59 SimuLaser(const core::IODevice *parent, std::string name, uint32_t dev_id);61 SimuLaser(const core::IODevice *parent, std::string name, uint32_t modelId,uint32_t deviceId); 60 62 61 63 /*! … … 89 91 */ 90 92 void Run(void); 91 93 94 std::string ShMemName(uint32_t modelId,uint32_t deviceId); 92 95 gui::SpinBox *data_rate; 93 96 }; -
trunk/include/FlairSensorActuator/SimuUs.h
r13 r50 38 38 * 39 39 * Construct a SimuUs. Control part. 40 * It will be child of the FrameworkManager. 40 41 * 41 * \param parent parent42 42 * \param name name 43 * \param dev_id device id 43 * \param modelId Model id 44 * \param deviceId UsRangeFinder id of the Model 44 45 * \param priority priority of the Thread 45 46 */ 46 SimuUs( const core::FrameworkManager *parent,std::string name,47 uint32_t dev_id, uint8_t priority);47 SimuUs(std::string name, 48 uint32_t modelId,uint32_t deviceId, uint8_t priority); 48 49 49 50 /*! … … 55 56 * \param parent parent 56 57 * \param name name 57 * \param dev_id device id 58 * \param modelId Model id 59 * \param deviceId UsRangeFinder id of the Model 58 60 */ 59 SimuUs(const core::IODevice *parent, std::string name, uint32_t dev_id);61 SimuUs(const core::IODevice *parent, std::string name, uint32_t modelId,uint32_t deviceId); 60 62 61 63 /*! … … 89 91 */ 90 92 void Run(void); 91 93 94 std::string ShMemName(uint32_t modelId,uint32_t deviceId); 92 95 gui::SpinBox *data_rate; 93 96 }; -
trunk/include/FlairSensorActuator/Srf08.h
r32 r50 19 19 namespace flair { 20 20 namespace core { 21 class FrameworkManager;22 21 class I2cPort; 23 22 } 24 23 namespace gui { 25 24 class SpinBox; 26 ;27 25 } 28 26 } … … 41 39 * 42 40 * Construct a SRF08 sensor 41 * It will be child of the FrameworkManager. 43 42 * 44 * \param parent parent45 43 * \param name name 46 44 * \param i2cport i2c port … … 48 46 * \param priority priority of the Thread 49 47 */ 50 Srf08( const core::FrameworkManager *parent,std::string name,48 Srf08(std::string name, 51 49 core::I2cPort *i2cport, uint16_t address, uint8_t priority); 52 50 -
trunk/include/FlairSensorActuator/TargetController.h
r13 r50 49 49 class TargetController : public core::Thread, public core::IODevice { 50 50 public: 51 TargetController(const core::FrameworkManager *parent, std::string name, 52 uint8_t priority = 0); 51 TargetController(std::string name,uint8_t priority = 0); 53 52 ~TargetController(); 54 53 // void DrawUserInterface(); -
trunk/include/FlairSensorActuator/TargetEthController.h
r25 r50 29 29 class cvmatrix; 30 30 class TcpSocket; 31 class Socket;31 class UdpSocket; 32 32 } 33 33 namespace gui { … … 47 47 class TargetEthController : public TargetController { 48 48 public: 49 TargetEthController( const core::FrameworkManager *parent,std::string name,49 TargetEthController(std::string name, 50 50 uint16_t port, uint8_t priority = 0); 51 51 ~TargetEthController(); … … 78 78 int listeningPort; 79 79 core::TcpSocket *controlSocket = NULL; 80 core:: Socket *dataSocket;80 core::UdpSocket *dataSocket; 81 81 std::string *axisName = NULL; 82 82 std::string *buttonName = NULL; -
trunk/include/FlairSensorActuator/UsRangeFinder.h
r13 r50 44 44 * 45 45 * Construct a UsRangeFinder. Control part. 46 * 47 * \param parent parent 46 * It will be child of the FrameworkManager. 47 * 48 48 * \param name name 49 49 */ 50 UsRangeFinder( const core::FrameworkManager *parent,std::string name);50 UsRangeFinder(std::string name); 51 51 52 52 /*! -
trunk/include/FlairSensorActuator/V4LCamera.h
r13 r50 21 21 namespace core { 22 22 class cvimage; 23 class FrameworkManager;24 23 } 25 24 namespace gui { 26 class GridLayout;27 25 class DoubleSpinBox; 28 26 class CheckBox; … … 43 41 * 44 42 * Construct a Camera. 43 * It will be child of the FrameworkManager. 45 44 * 46 * \param parent parent47 45 * \param name name 48 46 * \param camera_index camera index … … 52 50 * \param priority priority of the Thread 53 51 */ 54 V4LCamera( const core::FrameworkManager *parent,std::string name,52 V4LCamera(std::string name, 55 53 uint8_t camera_index, uint16_t width, uint16_t height, 56 54 core::cvimage::Type::Format format, uint8_t priority); … … 61 59 */ 62 60 ~V4LCamera(); 61 62 //hack for ps3eye in hds uav 63 //TODO: put this in ps3eye class 64 bool HasProblems(void); 63 65 64 66 protected: … … 118 120 */ 119 121 virtual void SetContrast(float value); 120 122 121 123 private: 122 124 /*! … … 140 142 141 143 gui::Tab *sensor_tab; 142 gui::DoubleSpinBox *bright, *exposure, *gain, *contrast, *hue, *sharpness, 143 *sat; 144 gui::DoubleSpinBox *bright, *exposure, *gain, *contrast, *hue, *sharpness,*sat; 144 145 gui::CheckBox *autogain, *awb, *autoexposure; 145 146 gui::Label *fps; 147 bool hasProblems; 146 148 }; 147 149 } // end namespace sensor -
trunk/include/FlairSensorActuator/VrpnClient.h
r44 r50 49 49 * \param name name 50 50 * \param address server address 51 * \param us_period Thread period in us52 51 * \param priority priority of the Thread 53 52 */ 54 53 VrpnClient(std::string name, 55 std::string address, uint16_t us_period,uint8_t priority);54 std::string address, uint8_t priority); 56 55 57 56 /*! -
trunk/include/FlairSensorActuator/VrpnObject.h
r44 r50 16 16 17 17 #include <IODevice.h> 18 #include <Vector3D.h> 18 19 #include <stdint.h> 19 20 … … 21 22 namespace core { 22 23 class cvmatrix; 23 class Vector3D;24 class Euler;25 24 class Quaternion; 26 25 } … … 101 100 102 101 /*! 103 * \brief Get Euler angles104 *105 * \param euler output datas106 */107 void GetEuler(core::Euler &euler) const;108 109 /*!110 102 * \brief Get Quaternion 111 103 * … … 118 110 * \param point output datas 119 111 */ 120 void GetPosition(core::Vector3D &point) const;112 void GetPosition(core::Vector3Df &point) const; 121 113 122 114 /*! … … 124 116 * 125 117 * Matrix is of type float and as follows: \n 126 * (0,0) roll (rad) \n 127 * (1,0) pitch (rad) \n 128 * (2,0) yaw (rad) \n 129 * (3,0) x \n 130 * (4,0) y \n 131 * (5,0) z \n 118 * (0,0) q0 \n 119 * (1,0) q1 \n 120 * (2,0) q2 \n 121 * (3,0) q3 \n 122 * (4,0) x \n 123 * (5,0) y \n 124 * (6,0) z \n 132 125 * 133 * \return Output m etrix126 * \return Output matrix 134 127 */ 135 128 core::cvmatrix *Output(void) const; … … 138 131 * \brief State matrix 139 132 * 133 * Used for plotting on ground station. \n 140 134 * Matrix is of type float and as follows: \n 141 135 * (0,0) roll (deg) \n … … 143 137 * (2,0) yaw (deg) \n 144 138 * 145 * \return State m etrix139 * \return State matrix 146 140 */ 147 141 core::cvmatrix *State(void) const; … … 178 172 void UpdateFrom(const core::io_data *data){}; 179 173 180 void mainloop(void);181 174 class VrpnObject_impl *pimpl_; 182 175 };
Note:
See TracChangeset
for help on using the changeset viewer.