Ignore:
Timestamp:
Mar 4, 2017, 3:29:18 PM (4 years ago)
Author:
Sanahuja Guillaume
Message:

iadded isready to iodevice:
avoid problem of imu not ready in ardrone2

File:
1 edited

Legend:

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

    r103 r157  
    9696  SamplingSettings();
    9797  GyrosBias();
     98  self->SetIsReady(true);
    9899  // RealignUpNorth(true,true);
    99100
     
    265266    ssize_t written = 0;
    266267
    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");
    269269
    270270    command[0] = 0xcd; // entete
     
    296296    }
    297297
    298     Printf("Gx3_25_imu::gyros_bias: %s ok\n",
    299            self->IODevice::ObjectName().c_str());
     298    Printf("Gx3_25_imu::calibration done\n");
    300299
    301300  } else {
Note: See TracChangeset for help on using the changeset viewer.