It groups the base joints together.
More...
#include <YouBotBase.hpp>
It groups the base joints together.
Definition at line 76 of file YouBotBase.hpp.
youbot::YouBotBase::YouBotBase |
( |
const std::string |
name, |
|
|
const std::string |
configFilePath = "../config/" |
|
) |
| |
youbot::YouBotBase::~YouBotBase |
( |
| ) |
|
|
virtual |
youbot::YouBotBase::YouBotBase |
( |
const YouBotBase & |
source | ) |
|
|
private |
void youbot::YouBotBase::commutationFirmware148 |
( |
| ) |
|
|
private |
does the commutation of the arm joints with firmware 1.48 and below
Definition at line 461 of file YouBotBase.cpp.
void youbot::YouBotBase::commutationFirmware200 |
( |
| ) |
|
|
private |
does the commutation of the arm joints with firmware 2.0
Definition at line 377 of file YouBotBase.cpp.
void youbot::YouBotBase::doJointCommutation |
( |
| ) |
|
does the sine commutation of the base joints
Definition at line 95 of file YouBotBase.cpp.
YouBotJoint & youbot::YouBotBase::getBaseJoint |
( |
const unsigned int |
baseJointNumber | ) |
|
return a joint form the base
- Parameters
-
baseJointNumber | 1-4 for the base joints |
Definition at line 110 of file YouBotBase.cpp.
void youbot::YouBotBase::getBasePosition |
( |
quantity< si::length > & |
longitudinalPosition, |
|
|
quantity< si::length > & |
transversalPosition, |
|
|
quantity< plane_angle > & |
orientation |
|
) |
| |
gets the cartesien base position which is calculated from the odometry
- Parameters
-
longitudinalPosition | is the forward or backward position |
transversalPosition | is the sideway position |
orientation | is the rotation around the center of the YouBot |
Definition at line 123 of file YouBotBase.cpp.
void youbot::YouBotBase::getBaseVelocity |
( |
quantity< si::velocity > & |
longitudinalVelocity, |
|
|
quantity< si::velocity > & |
transversalVelocity, |
|
|
quantity< si::angular_velocity > & |
angularVelocity |
|
) |
| |
gets the cartesien base velocity
- Parameters
-
longitudinalVelocity | is the forward or backward velocity |
transversalVelocity | is the sideway velocity |
angularVelocity | is the rotational velocity around the center of the YouBot |
Definition at line 195 of file YouBotBase.cpp.
gets the position or angle of all base joints which have been calculated from the actual encoder value These values are all read at the same time from the different joints
- Parameters
-
data | returns the angles by reference |
Definition at line 268 of file YouBotBase.cpp.
gets the velocities of all base joints which have been calculated from the actual encoder values These values are all read at the same time from the different joints
- Parameters
-
data | returns the velocities by reference |
Definition at line 300 of file YouBotBase.cpp.
gets the motor currents of all base joints which have been measured by a hal sensor These values are all read at the same time from the different joints
- Parameters
-
data | returns the actual motor currents by reference |
Definition at line 332 of file YouBotBase.cpp.
gets the joint torque of all base joints which have been calculated from the current These values are all read at the same time from the different joints
- Parameters
-
data | returns the actual joint torque by reference |
Definition at line 364 of file YouBotBase.cpp.
void youbot::YouBotBase::initializeJoints |
( |
| ) |
|
|
private |
void youbot::YouBotBase::initializeKinematic |
( |
| ) |
|
|
private |
void youbot::YouBotBase::setBasePosition |
( |
const quantity< si::length > & |
longitudinalPosition, |
|
|
const quantity< si::length > & |
transversalPosition, |
|
|
const quantity< plane_angle > & |
orientation |
|
) |
| |
sets the cartesien base position
- Parameters
-
longitudinalPosition | is the forward or backward position |
transversalPosition | is the sideway position |
orientation | is the rotation around the center of the YouBot |
Definition at line 150 of file YouBotBase.cpp.
void youbot::YouBotBase::setBaseVelocity |
( |
const quantity< si::velocity > & |
longitudinalVelocity, |
|
|
const quantity< si::velocity > & |
transversalVelocity, |
|
|
const quantity< si::angular_velocity > & |
angularVelocity |
|
) |
| |
commands the base in cartesien velocities
- Parameters
-
longitudinalVelocity | is the forward or backward velocity |
transversalVelocity | is the sideway velocity |
angularVelocity | is the rotational velocity around the center of the YouBot |
Definition at line 223 of file YouBotBase.cpp.
void youbot::YouBotBase::setJointData |
( |
const std::vector< JointAngleSetpoint > & |
JointData | ) |
|
|
virtual |
commands positions or angles to all base joints all positions will be set at the same time
- Parameters
-
Definition at line 250 of file YouBotBase.cpp.
commands velocities to all base joints all velocities will be set at the same time
- Parameters
-
Definition at line 283 of file YouBotBase.cpp.
commands current to all base joints all current values will be set at the same time
- Parameters
-
Definition at line 315 of file YouBotBase.cpp.
commands torque to all base joints all torque values will be set at the same time
- Parameters
-
Definition at line 347 of file YouBotBase.cpp.
std::string youbot::YouBotBase::actualFirmwareVersionAllJoints |
|
private |
int youbot::YouBotBase::alternativeControllerType |
|
private |
boost::scoped_ptr<ConfigFile> youbot::YouBotBase::configfile |
|
private |
int youbot::YouBotBase::controllerType |
|
private |
boost::ptr_vector<YouBotJoint> youbot::YouBotBase::joints |
|
private |
std::vector<std::string> youbot::YouBotBase::supportedFirmwareVersions |
|
private |
This class represents the kinematic of the YouBot.
Definition at line 114 of file YouBotBase.hpp.
The documentation for this class was generated from the following files: