Changeset 169 in flair-src


Ignore:
Timestamp:
Apr 13, 2017, 11:52:54 AM (8 years ago)
Author:
Sanahuja Guillaume
Message:

cosmetic

Location:
trunk/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/IODevice.cpp

    r157 r169  
    4747  }
    4848
    49     if(data!=NULL) {
    50         if(getFrameworkManager()->IsLogging()==true) pimpl_->WriteLog(data->DataTime());
    51 
     49  if(data!=NULL) {
     50    if(getFrameworkManager()->IsLogging()==true) pimpl_->WriteLog(data->DataTime());
    5251    data->pimpl_->Circle();
    5352  }
  • trunk/lib/FlairSensorActuator/src/Camera.cpp

    r157 r169  
    143143void Camera::SavePictureToFile(string filename) const {
    144144        if(filename=="") filename="./"+ObjectName()+"_"+std::to_string(GetTime())+".jpg";
    145     string::size_type idx = filename.rfind('.');
     145  string::size_type idx = filename.rfind('.');
    146146
    147147        if(idx != string::npos) {
     
    158158                }
    159159                output->ReleaseMutex();
     160    Printf("saving %s ok\n", filename.c_str());
    160161                       
    161162        } else {
  • trunk/lib/FlairSensorActuator/src/V4LCamera.cpp

    r165 r169  
    3737    : Thread(getFrameworkManager(), name, priority),
    3838      Camera(name, width, height, format) {
    39   capture = cvCaptureFromCAM(camera_index); // a mettre apres l'init dsp
    40 
     39  capture = cvCaptureFromCAM(camera_index);
    4140  if (capture < 0)
    4241    Thread::Err("cvCaptureFromCAM error\n");
Note: See TracChangeset for help on using the changeset viewer.