Ignore:
Timestamp:
06/27/18 11:45:33 (4 years ago)
Author:
Bayard Gildas
Message:

bug #36 solved

File:
1 edited

Legend:

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

    r246 r249  
    112112
    113113void TargetController::Run() {
    114   SetPeriodMS(20);; //50Hz
    115114
    116115  Message *message;
     
    118117  //if (getFrameworkManager()->ErrorOccured() || !ControllerInitialization()) {
    119118  if (!ControllerInitialization()) {
    120     SafeStop();
     119//    SafeStop();
    121120    Thread::Err("An error occured, we don't proceed with the loop.\n");
    122121  } else {
    123 
    124122    axis = new Matrix((IODevice *)this, axisNumber, 1, floatType);
    125123    button =
    126124        new Matrix((IODevice *)this, buttonNumber, 1, SignedIntegerType(8));
    127125
     126    SetPeriodMS(20); //50Hz
    128127    while (!ToBeStopped()) {
    129128      // Thread::Info("Debug: entering acquisition loop\n");
     
    139138
    140139        // send pending controller state change request(s)
    141 
    142140        while (changeStateQueue.size() != 0) {
    143141          message = changeStateQueue.front();
Note: See TracChangeset for help on using the changeset viewer.