![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpServoData.h>
Public Member Functions | |
| vpServoData () | |
| virtual | ~vpServoData () |
| void | setCmDeg () |
| void | setMeterRad () |
| void | save (const vpServo &task) |
| void | open (const std::string &directory) |
| void | close () |
Save data during the task execution when using vpServo.
Definition at line 54 of file vpServoData.h.
|
inline |
Default constructor.
Definition at line 84 of file vpServoData.h.
|
inlinevirtual |
Destructor that closes all data files if needed.
Definition at line 89 of file vpServoData.h.
References close().
| void vpServoData::close | ( | ) |
Close all data files open with open() function.
Definition at line 93 of file vpServoData.cpp.
Referenced by ~vpServoData().
| BEGIN_VISP_NAMESPACE void vpServoData::open | ( | const std::string & | directory | ) |
Set the directory in which data are saved. In this directory, creates the following files:
| directory | : Path to the folder that contains data files to save. |
Definition at line 46 of file vpServoData.cpp.
References vpIoTools::checkDirectory(), vpIoTools::makeDirectory(), and vpERROR_TRACE.
| void vpServoData::save | ( | const vpServo & | task | ) |
Save visual-servoing control law data.
Definition at line 74 of file vpServoData.cpp.
References vpMath::deg().
| void vpServoData::setCmDeg | ( | ) |
Velocity output are set in cm and deg.
Definition at line 72 of file vpServoData.cpp.
| void vpServoData::setMeterRad | ( | ) |
Velocity output are set in meter and deg (default).
Definition at line 73 of file vpServoData.cpp.