16 Joint::Joint(
int jointID,
double jointMin,
double jointMax) : id(jointID), qMin(jointMin), qMax(jointMax) {
20 Joint::Joint(
int jointID,
double jointMin,
double jointMax,
double q0) :
id(jointID),
qMin(jointMin),
qMax(jointMax) {
35 std::cout <<
"Joint ID " <<
id <<
" @ pos " <<
getQ() <<
" deg" << std::endl;
~Joint()
Destroy the Joint object.
Joint(int jointID, double jointMin, double jointMax)
Construct a new Joint object.
Defines some macros for debugging output.
double getQ()
Returns the internal value of the joint (e.g. Angle, length, depending on joint type) ...
The Joint class is a abstract class which represents a joint in a Robot objec. This class can be used...
void getStatus()
prints out the status of the joints current position in degrees
int getId()
Get the Id object.