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