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
153 <<
"</acceleration>\n";
154 _out <<
" <wrench>" << _state.wrench <<
"</wrench>\n";
156 for (std::vector<CollisionState>::const_iterator iter =
157 _state.collisionStates.begin();
158 iter != _state.collisionStates.end(); ++iter)
163 _out <<
" </link>\n";
181 private: std::vector<CollisionState> collisionStates;