Bratmobile
Public Member Functions | List of all members
Task::Action Struct Reference

Public Member Functions

void init (Direction &direction)
 
void setVelocities (const float &l, const float &r)
 
b2Vec2 getLinearVelocity (const float &dt=1) const
 
b2Transform getTransform (const float &dt=1) const
 
float getRWheelSpeed () const
 
float getLWheelSpeed () const
 
void setRWheelSpeed (float f)
 
void setLWheelSpeed (float f)
 
bool isValid ()
 
float getLinearSpeed ()
 
float getOmega (const float &dt=1) const
 
float getOmega (const float l, const float r, float dt=1) const
 Uses kinematic model to calculate angle. More...
 
void setOmega (const float &o)
 
void setLinearSpeed (const float &s)
 

Member Function Documentation

◆ getOmega()

float Task::Action::getOmega ( const float  l,
const float  r,
float  dt = 1 
) const
inline

Uses kinematic model to calculate angle.

Parameters
lleft wheel speed (normalised)
rright wheen speed (normalised) *

The documentation for this struct was generated from the following file: