21 #ifndef _JOINTSTATE_HH_
22 #define _JOINTSTATE_HH_
73 public:
const std::vector<math::Angle> &
GetAngles()
const;
77 public:
bool IsZero()
const;
98 public:
friend std::ostream &
operator<<(std::ostream &_out,
101 _out <<
"<joint name='" << _state.
GetName() <<
"'>\n";
104 for (std::vector<math::Angle>::const_iterator iter =
105 _state.angles.begin(); iter != _state.angles.end(); ++iter)
107 _out <<
"<angle axis='" << i <<
"'>" << (*iter) <<
"</angle>\n";
110 _out <<
"</joint>\n";
115 private: std::vector<math::Angle> angles;