NimbRo ROS Soccer Package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wak_actuator_vars.h
1 // Walk and kick: Actuator variables
2 // Author: Philipp Allgeuer <pallgeuer@ais.uni-bonn.de>
3 
4  // Ensure header is only included once
5 #ifndef WAK_ACTUATOR_VARS_H
6 #define WAK_ACTUATOR_VARS_H
7 
8 // Includes
9 #include <walk_and_kick/wak_common.h>
10 
11 // Walk and kick namespace
12 namespace walk_and_kick
13 {
23  {
24  public:
25  // Constructor
26  ActuatorVars() { reset(); }
27 
28  // Reset function
29  void reset();
30 
31  // Member variables
32  bool halt; // Do not walk if this is true, otherwise do
33  Vec3f GCV; // NimbRo convention: x forwards, y left, z CCW
34  bool doKick; // Trigger a kick if this is true
35  bool rightKick; // The foot to kick with if DoKick is true (true => right foot, false => left foot)
36  DiveDirection doDive; // Trigger a particular dive motion if this is not DD_NONE
37  float gazeYaw; // Positive is CCW (rotation about positive z-axis)
38  float gazePitch; // Positive is downward (rotation about positive y-axis)
39  };
40 }
41 
42 #endif
43 // EOF
An interface class for encapsulating all of the data that the walk and kick behaviour states should c...
Definition: wak_actuator_vars.h:22