Changeset 157 in flair-src for trunk/lib/FlairSensorActuator/src
- Timestamp:
- Mar 4, 2017, 3:29:18 PM (8 years ago)
- Location:
- trunk/lib/FlairSensorActuator/src
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/AfroBldc.cpp
r15 r157 37 37 : Bldc(parent, layout, name, motors_count) { 38 38 pimpl_ = new AfroBldc_impl(this, layout, i2cport); 39 40 SetIsReady(true); 39 41 } 40 42 -
trunk/lib/FlairSensorActuator/src/BlCtrlV2.cpp
r15 r157 38 38 : Bldc(parent, layout, name, motors_count) { 39 39 pimpl_ = new BlCtrlV2_impl(this, layout, i2cport); 40 41 SetIsReady(true); 40 42 } 41 43 -
trunk/lib/FlairSensorActuator/src/BlCtrlV2_x4_speed.cpp
r148 r157 134 134 delete desc; 135 135 136 SetIsReady(true); 137 136 138 /* 137 139 -
trunk/lib/FlairSensorActuator/src/Bldc.cpp
r148 r157 61 61 : IODevice(parent, name) { 62 62 pimpl_ = new Bldc_impl(this, motors_count); 63 64 SetIsReady(true); 63 65 } 64 66 -
trunk/lib/FlairSensorActuator/src/Camera.cpp
r137 r157 50 50 setup_groupbox = new GroupBox(sensor_tab->NewRow(), name); 51 51 setup_layout = new GridLayout(sensor_tab->NewRow(), "setup"); 52 52 53 } 53 54 -
trunk/lib/FlairSensorActuator/src/EmulatedController.cpp
r137 r157 30 30 EmulatedController::EmulatedController(string name,uint8_t priority) : 31 31 TargetController(name,priority) { 32 SetIsReady(true); 32 33 } 33 34 -
trunk/lib/FlairSensorActuator/src/Gx3_25_imu_impl.cpp
r103 r157 96 96 SamplingSettings(); 97 97 GyrosBias(); 98 self->SetIsReady(true); 98 99 // RealignUpNorth(true,true); 99 100 … … 265 266 ssize_t written = 0; 266 267 267 Printf("Gx3_25_imu::gyros_bias: %s\n", 268 self->IODevice::ObjectName().c_str()); 268 Printf("Gx3_25_imu::calibrating gyros, do not move imu\n"); 269 269 270 270 command[0] = 0xcd; // entete … … 296 296 } 297 297 298 Printf("Gx3_25_imu::gyros_bias: %s ok\n", 299 self->IODevice::ObjectName().c_str()); 298 Printf("Gx3_25_imu::calibration done\n"); 300 299 301 300 } else { -
trunk/lib/FlairSensorActuator/src/HokuyoUTM30Lx.cpp
r148 r157 50 50 this->serialport = serialport; 51 51 serialport->SetRxTimeout(100000000); 52 53 SetIsReady(true); 52 54 } 53 55 -
trunk/lib/FlairSensorActuator/src/Mb800.cpp
r137 r157 33 33 this->serialport = serialport; 34 34 serialport->SetRxTimeout(100000000); 35 36 SetIsReady(true); 35 37 } 36 38 -
trunk/lib/FlairSensorActuator/src/Novatel.cpp
r137 r157 32 32 : NmeaGps(name, NMEAFlags), Thread(getFrameworkManager(), name, priority) { 33 33 this->serialport = serialport; 34 35 SetIsReady(true); 34 36 } 35 37 -
trunk/lib/FlairSensorActuator/src/Ps3Eye.cpp
r137 r157 27 27 uint8_t priority) 28 28 : V4LCamera( name, camera_index, 320, 240, 29 cvimage::Type::Format::YUYV, priority) {} 29 cvimage::Type::Format::YUYV, priority) { 30 SetIsReady(true); 31 } 30 32 31 33 Ps3Eye::~Ps3Eye() {} -
trunk/lib/FlairSensorActuator/src/RadioReceiver.cpp
r148 r157 53 53 54 54 AddDataToLog(output); 55 56 SetIsReady(true); 55 57 } 56 58 -
trunk/lib/FlairSensorActuator/src/SimuBldc.cpp
r15 r157 42 42 GroupBox *groupbox = new GroupBox(layout->NewRow(), "simubldc"); 43 43 k = new DoubleSpinBox(groupbox->NewRow(), "k driver:", 0, 10000, 1); 44 45 SetIsReady(true); 44 46 } 45 47 … … 58 60 59 61 shmem->Write((char *)&values, motors_count * sizeof(float)); 62 63 SetIsReady(true); 60 64 } 61 65 -
trunk/lib/FlairSensorActuator/src/SimuCamera.cpp
r151 r157 45 45 dev_name << "simu_cam_" << dev_id; 46 46 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), buf_size, SharedMem::Type::producerConsumer); 47 48 SetIsReady(true); 47 49 } 48 50 … … 59 61 buf_size, SharedMem::Type::producerConsumer); 60 62 shmemReadBuf=NULL; 63 64 SetIsReady(true); 61 65 } 62 66 -
trunk/lib/FlairSensorActuator/src/SimuGps.cpp
r137 r157 53 53 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), 54 54 sizeof(gps_states_t)); 55 56 SetIsReady(true); 55 57 } 56 58 … … 64 66 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), 65 67 sizeof(gps_states_t)); 68 69 SetIsReady(true); 66 70 } 67 71 -
trunk/lib/FlairSensorActuator/src/SimuImu.cpp
r137 r157 45 45 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), 46 46 sizeof(imu_states_t)); 47 SetIsReady(true); 47 48 } 48 49 … … 55 56 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), 56 57 sizeof(imu_states_t)); 58 SetIsReady(true); 57 59 } 58 60 -
trunk/lib/FlairSensorActuator/src/SimuLaser.cpp
r137 r157 41 41 dev_name << "simu_Laser_" << dev_id; 42 42 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), 43 360 * sizeof(float)); //**** 43 360 * sizeof(float)); 44 SetIsReady(true); 44 45 } 45 46 … … 52 53 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), 53 54 360 * sizeof(float)); 55 SetIsReady(true); 54 56 } 55 57 -
trunk/lib/FlairSensorActuator/src/SimuUs.cpp
r137 r157 41 41 dev_name << "simu_us_" << dev_id; 42 42 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), sizeof(float)); 43 44 SetIsReady(true); 43 45 } 44 46 … … 50 52 dev_name << "simu_us_" << dev_id; 51 53 shmem = new SharedMem((Thread *)this, dev_name.str().c_str(), sizeof(float)); 54 55 SetIsReady(true); 52 56 } 53 57 -
trunk/lib/FlairSensorActuator/src/Srf08.cpp
r137 r157 53 53 SetRange(); 54 54 SetMaxGain(); 55 56 SetIsReady(true); 55 57 } 56 58 -
trunk/lib/FlairSensorActuator/src/VrpnObject.cpp
r140 r157 35 35 pimpl_ = new VrpnObject_impl(this, name, -1, tab); 36 36 AddDataToLog(pimpl_->output); 37 38 SetIsReady(true); 37 39 } 38 40 … … 43 45 pimpl_ = new VrpnObject_impl(this, name, id, tab); 44 46 AddDataToLog(pimpl_->output); 47 48 SetIsReady(true); 45 49 } 46 50 -
trunk/lib/FlairSensorActuator/src/XBldc.cpp
r15 r157 30 30 : Bldc(parent, layout, name, 4) { 31 31 pimpl_ = new XBldc_impl(this, i2cport); 32 33 SetIsReady(true); 32 34 } 33 35
Note:
See TracChangeset
for help on using the changeset viewer.