All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
telekyb_behavior::Formation Class Reference

#include <Formation.hpp>

Inheritance diagram for telekyb_behavior::Formation:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void destroy ()
virtual void didBecomeActive (const TKState &currentState, const Behavior &previousBehavior)
virtual void didBecomeInActive (const TKState &currentState, const Behavior &nextBehavior)
 Formation ()
virtual void initialize ()
virtual bool isValid (const TKState &currentState) const
virtual void trajectoryStepActive (const TKState &currentState, TKTrajectory &generatedTrajInput)
virtual void trajectoryStepCreation (const TKState &currentState, TKTrajectory &generatedTrajInput)
virtual void trajectoryStepTermination (const TKState &currentState, TKTrajectory &generatedTrajInput)
virtual bool willBecomeActive (const TKState &currentState, const Behavior &previousBehavior)
virtual void willBecomeInActive (const TKState &currentState, const Behavior &nextBehavior)

Protected Member Functions

Velocity3D getFormationVirtPointVel ()
void joystickCB (const sensor_msgs::Joy::ConstPtr &msg)
void obsPointCB (const telekyb_msgs::StampedPointArray::ConstPtr &obsPointsMsg)
void userVelocityCB (const geometry_msgs::Vector3Stamped::ConstPtr &msg)

Protected Attributes

bool deadManPressed
std::vector< double > distanceVector
std::vector
< CoTanAttractiveGradient * > 
formationAttractiveGradientVector
std::vector
< CoTanRepulsiveGradient * > 
formationRepulsiveGradientVector
ros::Subscriber joySub
std::vector< Position3DlastObstaclePoints
Velocity3D lastVelocityInput
ros::Subscriber obsPointSub
ObstacleAvoidancePotential obsPotential
Time posModeLastInputTime
Option< double > * tFormationAttrGain
Option< bool > * tFormationDoYawControl
double tFormationInitialYawAngle
Option< double > * tFormationRepulGain
Option< double > * tFormationRepulMinDist
Option< std::string > * tJoystickTopic
Option< double > * tMaxYawRate
Option< std::vector< int > > * tNeighbors
Option< std::string > * tObsPointsTopicName
Option< bool > * tVelocityInputEnabled
Option< std::string > * tVelocityInputTopic
ros::Subscriber userInputSub
bool valid
Position3D virtualPoint

Detailed Description

Definition at line 35 of file Formation.hpp.


Constructor & Destructor Documentation

Definition at line 25 of file Formation.cpp.


Member Function Documentation

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 121 of file Formation.cpp.

void telekyb_behavior::Formation::didBecomeActive ( const TKState currentState,
const Behavior previousBehavior 
) [virtual]

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 240 of file Formation.cpp.

void telekyb_behavior::Formation::didBecomeInActive ( const TKState currentState,
const Behavior nextBehavior 
) [virtual]

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 261 of file Formation.cpp.

Definition at line 327 of file Formation.cpp.

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 70 of file Formation.cpp.

bool telekyb_behavior::Formation::isValid ( const TKState currentState) const [virtual]

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 322 of file Formation.cpp.

void telekyb_behavior::Formation::joystickCB ( const sensor_msgs::Joy::ConstPtr &  msg) [protected]

Definition at line 32 of file Formation.cpp.

Definition at line 57 of file Formation.cpp.

void telekyb_behavior::Formation::trajectoryStepActive ( const TKState currentState,
TKTrajectory generatedTrajInput 
) [virtual]

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 272 of file Formation.cpp.

void telekyb_behavior::Formation::trajectoryStepCreation ( const TKState currentState,
TKTrajectory generatedTrajInput 
) [virtual]

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 266 of file Formation.cpp.

void telekyb_behavior::Formation::trajectoryStepTermination ( const TKState currentState,
TKTrajectory generatedTrajInput 
) [virtual]

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 316 of file Formation.cpp.

void telekyb_behavior::Formation::userVelocityCB ( const geometry_msgs::Vector3Stamped::ConstPtr &  msg) [protected]

Definition at line 46 of file Formation.cpp.

bool telekyb_behavior::Formation::willBecomeActive ( const TKState currentState,
const Behavior previousBehavior 
) [virtual]

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 126 of file Formation.cpp.

void telekyb_behavior::Formation::willBecomeInActive ( const TKState currentState,
const Behavior nextBehavior 
) [virtual]

Implements TELEKYB_NAMESPACE::Behavior.

Definition at line 245 of file Formation.cpp.


Member Data Documentation

Definition at line 76 of file Formation.hpp.

std::vector<double> telekyb_behavior::Formation::distanceVector [protected]

Definition at line 54 of file Formation.hpp.

Definition at line 98 of file Formation.hpp.

Definition at line 97 of file Formation.hpp.

Definition at line 61 of file Formation.hpp.

Definition at line 48 of file Formation.hpp.

Definition at line 67 of file Formation.hpp.

Definition at line 62 of file Formation.hpp.

Definition at line 85 of file Formation.hpp.

Definition at line 73 of file Formation.hpp.

Definition at line 89 of file Formation.hpp.

Definition at line 91 of file Formation.hpp.

Definition at line 93 of file Formation.hpp.

Definition at line 90 of file Formation.hpp.

Definition at line 88 of file Formation.hpp.

Definition at line 40 of file Formation.hpp.

Definition at line 51 of file Formation.hpp.

Option< std::vector<int> >* telekyb_behavior::Formation::tNeighbors [protected]

Definition at line 37 of file Formation.hpp.

Definition at line 47 of file Formation.hpp.

Definition at line 41 of file Formation.hpp.

Definition at line 42 of file Formation.hpp.

Definition at line 60 of file Formation.hpp.

Definition at line 79 of file Formation.hpp.

Definition at line 57 of file Formation.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


tk_formation
Author(s): Martin Riedel
autogenerated on Mon Nov 11 2013 11:14:18