21 #ifndef _LINKSTATE_HH_
22 #define _LINKSTATE_HH_
113 const std::string &_collisionName)
const;
121 public:
bool IsZero()
const;
149 _out <<
"<link name='" << _state.
name <<
"'>\n";
150 _out <<
"<pose>" << _state.pose <<
"</pose>\n";
151 _out <<
"<velocity>" << _state.velocity <<
"</velocity>\n";
152 _out <<
"<acceleration>" << _state.acceleration <<
"</acceleration>\n";
153 _out <<
"<wrench>" << _state.wrench <<
"</wrench>\n";
155 for (std::vector<CollisionState>::const_iterator iter =
156 _state.collisionStates.begin();
157 iter != _state.collisionStates.end(); ++iter)
180 private: std::vector<CollisionState> collisionStates;