#include <MotionModule3D.h>
Public Member Functions | |
virtual void | odometryDiff (MIPMatrix &RobStat, Decimal *ENCTime) |
gets the differential odometry (odometry since last call of this function) | |
virtual void | updateOdometry (MIPMatrix &RobStat, Decimal *ENCTime)=0 |
update the odometry and oldOdometry for the differentiasl odometry | |
virtual ResourcePlate | getPlate () const =0 |
get resource id (mandatory), it must be defined for all implemented resource | |
virtual void | velCmd (Decimal drive, Decimal turnrate)=0 |
velocity commands | |
virtual void | getVel (Decimal &drive, Decimal &turnrate)=0 |
velocity values | |
Protected Attributes | |
Unicycle3DPar * | _uniPar |
Unicycle3DVar * | _uniVar |
virtual void MipResources::Unicycle3D::odometryDiff | ( | MIPMatrix & | RobStat, | |
Decimal * | ENCTime | |||
) | [inline, virtual] |
gets the differential odometry (odometry since last call of this function)
virtual void MipResources::Unicycle3D::updateOdometry | ( | MIPMatrix & | RobStat, | |
Decimal * | ENCTime | |||
) | [pure virtual] |
update the odometry and oldOdometry for the differentiasl odometry
virtual ResourcePlate MipResources::Unicycle3D::getPlate | ( | ) | const [pure virtual] |
get resource id (mandatory), it must be defined for all implemented resource
Implements MipResources::MotionModule3D.
velocity commands
drive | linear velocity command | |
turnrate | angular velocity command |
virtual void MipResources::Unicycle3D::getVel | ( | Decimal & | drive, | |
Decimal & | turnrate | |||
) | [pure virtual] |
velocity values
drive | linear velocity current value | |
turnrate | angular velocity value |
Unicycle3DPar* MipResources::Unicycle3D::_uniPar [protected] |
Unicycle3DVar* MipResources::Unicycle3D::_uniVar [protected] |