17 #ifndef _JOINTCONTROLLER_HH_
18 #define _JOINTCONTROLLER_HH_
62 const std::map<std::string, double> &_jointPositions);
66 private:
void OnJointCmd(ConstJointCmdPtr &_msg);
95 double _dposition,
bool _updateChildren =
false);
99 private:
void ComputeAndSetLinkTwist(
LinkPtr _link,
106 private:
void AddConnectedLinks(std::vector<LinkPtr> &_linksOut,
108 bool _checkParentTree =
false);
113 private:
template<
class InputVector,
class T>
114 bool ContainsLink(InputVector _vector,
const T &_value)
116 typename InputVector::iterator iter = _vector.begin();
117 for (; iter != _vector.end(); ++iter)
118 if ((*iter)->GetScopedName() == _value->GetScopedName())
127 private:
Link_V updatedLinks;
130 private: std::map<std::string, JointPtr> joints;
133 private: std::map<std::string, common::PID> posPids;
136 private: std::map<std::string, common::PID> velPids;
139 private: std::map<std::string, double> forces;
142 private: std::map<std::string, double> positions;
145 private: std::map<std::string, double> velocities;