#include <angle_compensator.h>
Definition at line 11 of file angle_compensator.h.
◆ AngleCompensator() [1/2]
AngleCompensator::AngleCompensator |
( |
| ) |
|
|
inline |
◆ AngleCompensator() [2/2]
AngleCompensator::AngleCompensator |
( |
bool |
_useNegSign | ) |
|
|
inline |
◆ compensateAngleInDeg()
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.
◆ compensateAngleInRad()
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.
◆ compensateAngleInRadFromRos()
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.
◆ getHumanReadableFormula()
std::string AngleCompensator::getHumanReadableFormula |
( |
void |
| ) |
|
◆ parseAsciiReply()
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.
◆ parseReply()
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.
◆ testbed()
void AngleCompensator::testbed |
( |
| ) |
|
◆ amplCorr
double AngleCompensator::amplCorr |
|
private |
◆ offsetCorrInDeg
double AngleCompensator::offsetCorrInDeg |
|
private |
◆ offsetCorrInRad
double AngleCompensator::offsetCorrInRad |
|
private |
◆ phaseCorrInDeg
double AngleCompensator::phaseCorrInDeg |
|
private |
◆ phaseCorrInRad
double AngleCompensator::phaseCorrInRad |
|
private |
◆ useNegSign
bool AngleCompensator::useNegSign |
|
private |
The documentation for this class was generated from the following files: