NimbRo ROS Soccer Package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
walk_and_kick::BehDribbleBall Class Reference

A walk and kick behaviour state that dribbles the ball towards a target. More...

#include <beh_dribble_ball.h>

Inheritance diagram for walk_and_kick::BehDribbleBall:
walk_and_kick::GazeBehLookForBall walk_and_kick::GazeBehLookAround walk_and_kick::WAKBehState

Public Member Functions

 BehDribbleBall (WAKConfig &config, const SensorVars &SV, const WAKBehShared &WBS, const WAKGameShared &WGS, int ID)
 
virtual void execute (ActuatorVars &AV, const ActuatorVars &lastAV, bool justActivated)
 
bool okToDribble () const
 
bool stillOkToDribble () const
 
float minBallTargetWedge () const
 
float calcArcTheta (const Vec2f &vector) const
 
float calcPathAngle (bool useRightFoot, const Vec2f &robotE, Vec2f &robotToBehindBallE, Vec2f &robotToPathTargetE) const
 
float calcPathInterpFactor (const Vec2f &robotToBehindBallE, float localPathAngle) const
 
float calcWalkAngle (const Vec2f &robotToBehindBallE, float interpFactor, float localPathAngle, float pathAngle) const
 
- Public Member Functions inherited from walk_and_kick::GazeBehLookForBall
 GazeBehLookForBall (WAKConfig &config, const SensorVars &SV, const WAKBehShared &WBS, const WAKGameShared &WGS, int ID)
 
- Public Member Functions inherited from walk_and_kick::GazeBehLookAround
 GazeBehLookAround (WAKConfig &config, const SensorVars &SV, const WAKBehShared &WBS, const WAKGameShared &WGS, int ID)
 
- Public Member Functions inherited from walk_and_kick::WAKBehState
 WAKBehState (WAKConfig &config, const SensorVars &SV, const WAKBehShared &WBS, const WAKGameShared &WGS, int ID)
 
void reset ()
 
int id () const
 
std::string name () const
 
const std::string & nameRef () const
 
bool isActive () const
 
void activate ()
 
void deactivate ()
 

Protected Member Functions

virtual void handleActivation (bool nowActive)
 
- Protected Member Functions inherited from walk_and_kick::GazeBehLookAround
void resetGazeSpline ()
 

Additional Inherited Members

- Public Attributes inherited from walk_and_kick::WAKBehState
WAKConfigconfig
 
const SensorVarsSV
 
const WAKBehSharedWBS
 
const GameVarsGV
 
const WAKGameSharedWGS
 
const FieldDimensionsfield
 
plot_msgs::PlotManagerFS & PM
 
WAKMarkerManMM
 

Detailed Description

A walk and kick behaviour state that dribbles the ball towards a target.


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