OpenWalker Project
Documentation of the ROS Packages
robot_out_ports_cmd.h
Go to the documentation of this file.
1 
34 #ifndef OPEN_WALKER_CORE_IMPLEMENTATIONS_ROBOT_OUT_PORTS_CMD_H
35 #define OPEN_WALKER_CORE_IMPLEMENTATIONS_ROBOT_OUT_PORTS_CMD_H
36 
37 #include <ow_core/types.h>
39 
40 namespace ow_core
41 {
49  public IRobotOutPortsCmd,
50  public IJoints
51 {
52 public:
53 
54 protected:
55  ow::JointState js_;
56 
57 public:
59  js_(ow::JointState::Zero())
60  {}
61 
66  {
67  }
68 
69  virtual IJoints* joints()
70  {
71  return this;
72  }
73 
74  virtual const IJoints* joints() const
75  {
76  return this;
77  }
78 
79  virtual ow::JointState& jointState()
80  {
81  return js_;
82  }
83 
84  virtual const ow::JointState& jointState() const
85  {
86  return js_;
87  }
88 
89 
90 };
91 
92 } // namespace ow_core
93 
94 
95 #endif // OPEN_WALKER_CORE_IMPLEMENTATIONS_ROBOT_OUT_PORTS_CMD_H
The RobotOutPortsCmd class.
Definition: robot_out_ports_cmd.h:48
Definition: angular_acceleration.h:39
virtual ~RobotOutPortsCmd()
Virtual destructor.
Definition: robot_out_ports_cmd.h:65
The IJoints class.
Definition: i_joints.h:47
The IRobotOutPortsCmd class.
Definition: i_robot_out_ports_cmd.h:46