22 #include <qi/session.hpp> 30 DCM(
const qi::SessionPtr& session,
31 const double &controller_freq);
34 bool init(
const std::vector <std::string> &joints);
37 void writeJoints(
const std::vector <double> &joint_commands);
58 const int& timeOffset,
59 const std::string& type_update=
"Merge");
This class is a wapper for Naoqi DCM Class.
std::vector< double > values
std::vector< std::vector< std::vector< qi::AnyValue > > > commands_values_
bool init(const std::vector< std::string > &joints)
initialize all Aliases
void writeJoints(const std::vector< double > &joint_commands)
update joints values
DCM(const qi::SessionPtr &session, const double &controller_freq)
bool DCMAliasTimedCommand(const std::string &alias, const float &values, const int &timeOffset, const std::string &type_update="Merge")
DCM Wrapper Method.
std::vector< qi::AnyValue > commands_
void createPositionActuatorCommand(const std::vector< std::string > &joints)
initialize of DCM Motion commands
bool setStiffness(const float &stiffness)
update joints stiffness
bool createHardnessActuatorAlias(const std::vector< std::string > &joints)
create Hardness Actuator Alias
bool createPositionActuatorAlias(const std::vector< std::string > &joints)
create Position Actuator Alias
int getTime(const int &offset)
get time from the DCM proxy