Public Member Functions | Private Attributes | List of all members
youbot::FourSwedishWheelOmniBaseKinematic Class Reference

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

#include <FourSwedishWheelOmniBaseKinematic.hpp>

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

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 ()
 
- Public Member Functions inherited from youbot::WheeledBaseKinematic
virtual void cartesianVelocityToWheelVelocities (const quantity< si::velocity > &longitudinalVelocity, const quantity< si::velocity > &transversalVelocity, const quantity< angular_velocity > &angularVelocity, std::vector< quantity< angular_velocity > > &wheelVelocities)=0
 

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 65 of file FourSwedishWheelOmniBaseKinematic.hpp.

Constructor & Destructor Documentation

youbot::FourSwedishWheelOmniBaseKinematic::FourSwedishWheelOmniBaseKinematic ( )

Definition at line 54 of file FourSwedishWheelOmniBaseKinematic.cpp.

youbot::FourSwedishWheelOmniBaseKinematic::~FourSwedishWheelOmniBaseKinematic ( )
virtual

Definition at line 60 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 184 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 70 of file FourSwedishWheelOmniBaseKinematic.cpp.

void youbot::FourSwedishWheelOmniBaseKinematic::getConfiguration ( FourSwedishWheelOmniBaseKinematicConfiguration configuration) const

Definition at line 219 of file FourSwedishWheelOmniBaseKinematic.cpp.

void youbot::FourSwedishWheelOmniBaseKinematic::setConfiguration ( const FourSwedishWheelOmniBaseKinematicConfiguration configuration)

Definition at line 213 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 130 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 103 of file FourSwedishWheelOmniBaseKinematic.cpp.

Member Data Documentation

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

Definition at line 115 of file FourSwedishWheelOmniBaseKinematic.hpp.

FourSwedishWheelOmniBaseKinematicConfiguration youbot::FourSwedishWheelOmniBaseKinematic::config
private

Definition at line 105 of file FourSwedishWheelOmniBaseKinematic.hpp.

bool youbot::FourSwedishWheelOmniBaseKinematic::lastWheelPositionInitialized
private

Definition at line 109 of file FourSwedishWheelOmniBaseKinematic.hpp.

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

Definition at line 107 of file FourSwedishWheelOmniBaseKinematic.hpp.

quantity<si::length> youbot::FourSwedishWheelOmniBaseKinematic::longitudinalPos
private

Definition at line 111 of file FourSwedishWheelOmniBaseKinematic.hpp.

quantity<si::length> youbot::FourSwedishWheelOmniBaseKinematic::transversalPos
private

Definition at line 113 of file FourSwedishWheelOmniBaseKinematic.hpp.


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


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:27