odometry
ContactPointTask.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef ODOMETRY_CONTACTPOINTTASK_TASK_HPP
4 #define ODOMETRY_CONTACTPOINTTASK_TASK_HPP
5 
6 #include "odometry/ContactPointTaskBase.hpp"
7 
8 namespace odometry
9 {
10  class FootContact;
11  class Gaussian3D;
12 }
13 
14 namespace odometry {
15 
30  class ContactPointTask : public ContactPointTaskBase
31  {
32  friend class ContactPointTaskBase;
33  protected:
34 
36  odometry::BodyContactState contactState;
37  odometry::Configuration odometryConfiguration;
38  odometry::FootContact* contactOdometry;
40 
41  void contact_samplesTransformerCallback(const base::Time &ts, const ::odometry::BodyContactState &contact_samples_sample);
42  void body2imu_enuTransformerCallback(const base::Time &ts);
43 
44  public:
45  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
46 
51  ContactPointTask(std::string const& name = "odometry::ContactPointTask");
52 
58  ContactPointTask(std::string const& name, RTT::ExecutionEngine* engine);
59 
63 
78  // bool configureHook();
79 
85  bool startHook();
86 
101  // void updateHook();
102 
109  // void errorHook();
110 
114  // void stopHook();
115 
120  // void cleanupHook();
121  };
122 }
123 
124 #endif
125 
friend class ContactPointTaskBase
Definition: ContactPointTask.hpp:32
void body2imu_enuTransformerCallback(const base::Time &ts)
Definition: ContactPointTask.cpp:29
odometry::BodyContactState contactState
Definition: ContactPointTask.hpp:36
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ContactPointTask(std::string const &name="odometry::ContactPointTask")
Definition: ContactPointTask.cpp:9
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: ContactPointTask.hpp:30
~ContactPointTask()
Definition: ContactPointTask.cpp:19
odometry::Configuration odometryConfiguration
Definition: ContactPointTask.hpp:37
Definition: ContactPointTask.hpp:8
odometry::FootContact * contactOdometry
Definition: ContactPointTask.hpp:38
bool startHook()
The following lines are template definitions for the various state machine.
Definition: ContactPointTask.cpp:65
void contact_samplesTransformerCallback(const base::Time &ts, const ::odometry::BodyContactState &contact_samples_sample)
Definition: ContactPointTask.cpp:23
bool gotContactState
Definition: ContactPointTask.hpp:39