Public Member Functions | Private Attributes
youbot::FourSwedishWheelOmniBaseKinematic Class Reference

#include <FourSwedishWheelOmniBaseKinematic.hpp>

Inheritance diagram for youbot::FourSwedishWheelOmniBaseKinematic:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void cartesianPositionToWheelPositions (const quantity< si::length > &longitudinalPosition, const quantity< si::length > &transversalPosition, const quantity< plane_angle > &orientation, std::vector< quantity< plane_angle > > &wheelPositions)
virtual void cartesianVelocityToWheelVelocities (const quantity< si::velocity > &longitudinalVelocity, const quantity< si::velocity > &transversalVelocity, const quantity< si::angular_velocity > &angularVelocity, std::vector< quantity< angular_velocity > > &wheelVelocities)
 FourSwedishWheelOmniBaseKinematic ()
void getConfiguration (FourSwedishWheelOmniBaseKinematicConfiguration &configuration) const
void setConfiguration (const FourSwedishWheelOmniBaseKinematicConfiguration &configuration)
virtual void wheelPositionsToCartesianPosition (const std::vector< quantity< plane_angle > > &wheelPositions, quantity< si::length > &longitudinalPosition, quantity< si::length > &transversalPosition, quantity< plane_angle > &orientation)
virtual void wheelVelocitiesToCartesianVelocity (const std::vector< quantity< angular_velocity > > &wheelVelocities, quantity< si::velocity > &longitudinalVelocity, quantity< si::velocity > &transversalVelocity, quantity< angular_velocity > &angularVelocity)
virtual ~FourSwedishWheelOmniBaseKinematic ()

Private Attributes

quantity< plane_angle > angle
FourSwedishWheelOmniBaseKinematicConfiguration config
bool lastWheelPositionInitialized
std::vector< quantity
< plane_angle > > 
lastWheelPositions
quantity< si::length > longitudinalPos
quantity< si::length > transversalPos

Detailed Description

Implementation of a base kinematic with four swedish wheels. The youBot base kinematic.

Definition at line 67 of file FourSwedishWheelOmniBaseKinematic.hpp.


Constructor & Destructor Documentation

Definition at line 55 of file FourSwedishWheelOmniBaseKinematic.cpp.

Definition at line 62 of file FourSwedishWheelOmniBaseKinematic.cpp.


Member Function Documentation

void youbot::FourSwedishWheelOmniBaseKinematic::cartesianPositionToWheelPositions ( const quantity< si::length > &  longitudinalPosition,
const quantity< si::length > &  transversalPosition,
const quantity< plane_angle > &  orientation,
std::vector< quantity< plane_angle > > &  wheelPositions 
) [virtual]

Calculates from the cartesian position the wheel positions

Parameters:
longitudinalPositionis the forward or backward position
transversalPositionis the sideway position
orientationis the rotation around the center
wheelPositionsare the individual positions of the wheels

Definition at line 211 of file FourSwedishWheelOmniBaseKinematic.cpp.

void youbot::FourSwedishWheelOmniBaseKinematic::cartesianVelocityToWheelVelocities ( const quantity< si::velocity > &  longitudinalVelocity,
const quantity< si::velocity > &  transversalVelocity,
const quantity< si::angular_velocity > &  angularVelocity,
std::vector< quantity< angular_velocity > > &  wheelVelocities 
) [virtual]

Calculates from the cartesian velocity the individual wheel velocities

Parameters:
longitudinalVelocityis the forward or backward velocity
transversalVelocityis the sideway velocity
angularVelocityis the rotational velocity around the center of the YouBot
wheelVelocitiesare the individual wheel velocities

Definition at line 73 of file FourSwedishWheelOmniBaseKinematic.cpp.

Definition at line 253 of file FourSwedishWheelOmniBaseKinematic.cpp.

Definition at line 245 of file FourSwedishWheelOmniBaseKinematic.cpp.

void youbot::FourSwedishWheelOmniBaseKinematic::wheelPositionsToCartesianPosition ( const std::vector< quantity< plane_angle > > &  wheelPositions,
quantity< si::length > &  longitudinalPosition,
quantity< si::length > &  transversalPosition,
quantity< plane_angle > &  orientation 
) [virtual]

Calculates from the wheel positions the cartesian position

Parameters:
wheelPositionsare the individual positions of the wheels
longitudinalPositionis the forward or backward position
transversalPositionis the sideway position
orientationis the rotation around the center

Implements youbot::WheeledBaseKinematic.

Definition at line 147 of file FourSwedishWheelOmniBaseKinematic.cpp.

void youbot::FourSwedishWheelOmniBaseKinematic::wheelVelocitiesToCartesianVelocity ( const std::vector< quantity< angular_velocity > > &  wheelVelocities,
quantity< si::velocity > &  longitudinalVelocity,
quantity< si::velocity > &  transversalVelocity,
quantity< angular_velocity > &  angularVelocity 
) [virtual]

Calculates from the wheel velocities the cartesian velocity

Parameters:
wheelVelocitiesare the velocities of the individual wheels
longitudinalVelocityis the forward or backward velocity
transversalVelocityis the sideway velocity
angularVelocityis the rotational velocity around the center of the YouBot

Implements youbot::WheeledBaseKinematic.

Definition at line 111 of file FourSwedishWheelOmniBaseKinematic.cpp.


Member Data Documentation

quantity<plane_angle> youbot::FourSwedishWheelOmniBaseKinematic::angle [private]

Definition at line 129 of file FourSwedishWheelOmniBaseKinematic.hpp.

Definition at line 119 of file FourSwedishWheelOmniBaseKinematic.hpp.

Definition at line 123 of file FourSwedishWheelOmniBaseKinematic.hpp.

std::vector<quantity<plane_angle> > youbot::FourSwedishWheelOmniBaseKinematic::lastWheelPositions [private]

Definition at line 121 of file FourSwedishWheelOmniBaseKinematic.hpp.

Definition at line 125 of file FourSwedishWheelOmniBaseKinematic.hpp.

Definition at line 127 of file FourSwedishWheelOmniBaseKinematic.hpp.


The documentation for this class was generated from the following files:


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Oct 6 2014 09:08:04