#include <angle_compensator.h>
Definition at line 11 of file angle_compensator.h.
AngleCompensator::AngleCompensator |
( |
| ) |
|
|
inline |
AngleCompensator::AngleCompensator |
( |
bool |
_useNegSign | ) |
|
|
inline |
double AngleCompensator::compensateAngleInDeg |
( |
double |
angleInDeg | ) |
|
Compensate raw angle given in [DEG].
- Parameters
-
angleInDeg | raw angle in [DEG] |
Definition at line 173 of file angle_compensator.cpp.
double AngleCompensator::compensateAngleInRad |
( |
double |
angleInRad | ) |
|
Compensate raw angle given in [RAD].
- Parameters
-
angleInRad | raw angle in [RAD] |
Definition at line 156 of file angle_compensator.cpp.
double AngleCompensator::compensateAngleInRadFromRos |
( |
double |
angleInRadFromRos | ) |
|
Compensate raw angle given in [RAD] in the ROS axis orientation system.
- Parameters
-
angleInRad | raw angle in [RAD] ( |
Definition at line 116 of file angle_compensator.cpp.
std::string AngleCompensator::getHumanReadableFormula |
( |
void |
| ) |
|
int AngleCompensator::parseAsciiReply |
( |
const char * |
replyStr | ) |
|
Parse ASCII reply.
- Parameters
-
replyStr | holds reply with the angular compensation information |
Definition at line 194 of file angle_compensator.cpp.
int AngleCompensator::parseReply |
( |
bool |
isBinary, |
|
|
std::vector< unsigned char > & |
replyVec |
|
) |
| |
Parse reply of angle compensation values given the command MCAngleCompSin (see testbed)
- Parameters
-
isBinary | reply is in binary format (true) or in ASCII format (false) |
replyVec | holds received byte array |
Definition at line 268 of file angle_compensator.cpp.
void AngleCompensator::testbed |
( |
| ) |
|
double AngleCompensator::amplCorr |
|
private |
double AngleCompensator::offsetCorrInDeg |
|
private |
double AngleCompensator::offsetCorrInRad |
|
private |
double AngleCompensator::phaseCorrInDeg |
|
private |
double AngleCompensator::phaseCorrInRad |
|
private |
bool AngleCompensator::useNegSign |
|
private |
The documentation for this class was generated from the following files: