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.
double getQ()
Returns the internal value of the joint (e.g. Angle, length, depending on joint type) ...
void getStatus()
prints out the status of the joints current position in degrees
int getId()
Get the Id object.