OpenWalker Project
Documentation of the ROS Packages
force_torque_sensors.h
Go to the documentation of this file.
1 
34 #ifndef OPEN_WALKER_CORE_IMPLEMENTATIONS_FORCE_TORQUE_SENSORS_H
35 #define OPEN_WALKER_CORE_IMPLEMENTATIONS_FORCE_TORQUE_SENSORS_H
36 
37 #include <ow_core/types.h>
39 
40 namespace ow_core
41 {
49  public IForceTorqueSensors
50 {
51 public:
52 
53 protected:
54  ow::Wrench leftFoot_;
55  ow::Wrench rightFoot_;
56 
57 public:
59  leftFoot_(ow::Wrench::Zero()),
60  rightFoot_(ow::Wrench::Zero())
61  {}
62 
67  {
68  }
69 
70  virtual ow::Wrench& leftFoot()
71  {
72  return leftFoot_;
73  }
74 
75  virtual const ow::Wrench& leftFoot() const
76  {
77  return leftFoot_;
78  }
79 
80  virtual ow::Wrench& rightFoot()
81  {
82  return rightFoot_;
83  }
84 
85  virtual const ow::Wrench& rightFoot() const
86  {
87  return rightFoot_;
88  }
89 };
90 
91 } // namespace ow_core
92 
93 
94 #endif // OPEN_WALKER_CORE_JOINT_POSITION_H
virtual ~ForceTorqueSensors()
Virtual destructor.
Definition: force_torque_sensors.h:66
The IForceTorqueSensors class.
Definition: i_force_torque_sensors.h:47
The ForceTorqueSensors class.
Definition: force_torque_sensors.h:48
Definition: angular_acceleration.h:39