mars
ForceTorque6DOF.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef SIMULATION_FORCETORQUE6DOF_TASK_HPP
4 #define SIMULATION_FORCETORQUE6DOF_TASK_HPP
5 
6 #include "mars/ForceTorque6DOFBase.hpp"
7 
8 namespace mars {
9 
24  class ForceTorque6DOF : public ForceTorque6DOFBase
25  {
26  friend class ForceTorque6DOFBase;
27  protected:
28 
29 
30 
31  public:
36  ForceTorque6DOF(std::string const& name = "mars::ForceTorque6DOF");
37 
43  ForceTorque6DOF(std::string const& name, RTT::ExecutionEngine* engine);
44 
48 
49 
53  virtual void init();
57  virtual void update(double delta_t);
58 
59 
74  bool configureHook();
75 
81  bool startHook();
82 
97  void updateHook();
98 
105  void errorHook();
106 
110  void stopHook();
111 
116  void cleanupHook();
117 
118  private:
119  std::vector< std::string > mars_names;
120  std::vector< std::string > external_names;
121  std::vector<int> mars_ids;
122  std::vector< base::samples::Wrench > wrenches_deprecated;
123  base::samples::Wrenches wrenches;
124 
125 
126  };
127 }
128 
129 #endif
130 
virtual void update(double delta_t)
Definition: ForceTorque6DOF.cpp:40
friend class ForceTorque6DOFBase
Definition: ForceTorque6DOF.hpp:26
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: ForceTorque6DOF.hpp:24
void stopHook()
Definition: ForceTorque6DOF.cpp:121
~ForceTorque6DOF()
Definition: ForceTorque6DOF.cpp:20
virtual void init()
Definition: ForceTorque6DOF.cpp:25
void cleanupHook()
Definition: ForceTorque6DOF.cpp:125
Definition: jointTypes.hpp:9
void updateHook()
Definition: ForceTorque6DOF.cpp:113
ForceTorque6DOF(std::string const &name="mars::ForceTorque6DOF")
Definition: ForceTorque6DOF.cpp:10
void errorHook()
Definition: ForceTorque6DOF.cpp:117
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: ForceTorque6DOF.cpp:87
bool startHook()
Definition: ForceTorque6DOF.cpp:107