odometry
Generic.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef ODOMETRY_GENERIC_TASK_HPP
4 #define ODOMETRY_GENERIC_TASK_HPP
5 
6 #include "odometry/GenericBase.hpp"
7 #include <base/TransformWithCovariance.hpp>
8 
9 namespace base
10 {
11  template<>
12  inline base::Vector3d unknown<base::Vector3d>()
13  {
14  return base::Vector3d::Ones() * base::unknown<double>();
15  }
16 }
17 
18 namespace odometry {
19 
34  class Generic : public GenericBase
35  {
36  friend class GenericBase;
37  protected:
38 
40  base::TransformWithCovariance lastBody2Odometry;
41 
51  void pushState(base::Time const& ts,
52  base::TransformWithCovariance& body2prevbody,
53  base::Quaterniond const& R_body2world,
54  base::Vector3d const& velocity = base::unknown<base::Vector3d>(),
55  base::Vector3d const& angular_velocity = base::unknown<base::Vector3d>());
56  public:
61  Generic(std::string const& name = "odometry::Generic");
62 
68  Generic(std::string const& name, RTT::ExecutionEngine* engine);
69 
72  ~Generic();
73 
88  // bool configureHook();
89 
95  bool startHook();
96 
111  // void updateHook();
112 
119  // void errorHook();
120 
124  // void stopHook();
125 
130  // void cleanupHook();
131  };
132 }
133 
134 #endif
135 
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: Generic.hpp:34
base::TransformWithCovariance lastBody2Odometry
Definition: Generic.hpp:40
Definition: Generic.hpp:9
Definition: ContactPointTask.hpp:8