Changeset 245 in flair-src for trunk/lib/FlairSensorActuator/src


Ignore:
Timestamp:
May 24, 2018, 11:45:54 AM (7 years ago)
Author:
Sanahuja Guillaume
Message:

added simupressuresensor

Location:
trunk/lib/FlairSensorActuator/src
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/SimuCamera.cpp

    r238 r245  
    6363void SimuCamera::Run(void) {
    6464  Time time;
    65 //  if (data_rate == NULL) {
    66 //    Thread::Err("not applicable for simulation part.\n");
    67 //    return;
    68 //  }
    6965
    7066//  SetPeriodUS((uint32_t)(1000000. / data_rate->Value()));
  • trunk/lib/FlairSensorActuator/src/SimuGps.cpp

    r224 r245  
    8282  gga.diff_units='M';
    8383
    84   if (dataRate == NULL) {
    85     Thread::Err("not applicable for simulation part.\n");
    86     return;
    87   }
    88 
    8984  SetPeriodUS((uint32_t)(1000000. / dataRate->Value()));
    9085
  • trunk/lib/FlairSensorActuator/src/SimuImu.cpp

    r224 r245  
    6262  GetDatas(&imuData);
    6363
    64   if (dataRate == NULL) {
    65     Thread::Err("not applicable for simulation part.\n");
    66     return;
    67   }
    68 
    6964  SetPeriodUS((uint32_t)(1000000. / dataRate->Value()));
    7065
  • trunk/lib/FlairSensorActuator/src/SimuLaser.cpp

    r224 r245  
    5656  float z[360];
    5757
    58   if (data_rate == NULL) {
    59     Thread::Err("not applicable for simulation part.\n");
    60     return;
    61   }
    62 
    6358  SetPeriodUS((uint32_t)(1000000. / data_rate->Value()));
    6459
  • trunk/lib/FlairSensorActuator/src/SimuUs.cpp

    r230 r245  
    5555void SimuUs::Run(void) {
    5656  float z;
    57 
    58   if (data_rate == NULL) {
    59     Thread::Err("not applicable for simulation part.\n");
    60     return;
    61   }
    62 
     57 
    6358  SetPeriodUS((uint32_t)(1000000. / data_rate->Value()));
    6459
Note: See TracChangeset for help on using the changeset viewer.