- Timestamp:
- Apr 13, 2017, 11:52:54 AM (8 years ago)
- Location:
- trunk/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/IODevice.cpp
r157 r169 47 47 } 48 48 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()); 52 51 data->pimpl_->Circle(); 53 52 } -
trunk/lib/FlairSensorActuator/src/Camera.cpp
r157 r169 143 143 void Camera::SavePictureToFile(string filename) const { 144 144 if(filename=="") filename="./"+ObjectName()+"_"+std::to_string(GetTime())+".jpg"; 145 145 string::size_type idx = filename.rfind('.'); 146 146 147 147 if(idx != string::npos) { … … 158 158 } 159 159 output->ReleaseMutex(); 160 Printf("saving %s ok\n", filename.c_str()); 160 161 161 162 } else { -
trunk/lib/FlairSensorActuator/src/V4LCamera.cpp
r165 r169 37 37 : Thread(getFrameworkManager(), name, priority), 38 38 Camera(name, width, height, format) { 39 capture = cvCaptureFromCAM(camera_index); // a mettre apres l'init dsp 40 39 capture = cvCaptureFromCAM(camera_index); 41 40 if (capture < 0) 42 41 Thread::Err("cvCaptureFromCAM error\n");
Note:
See TracChangeset
for help on using the changeset viewer.