6#ifndef YARP_DEV_IJOINTCOUPLINGIMPL_H
7#define YARP_DEV_IJOINTCOUPLINGIMPL_H
16class ImplementJointCoupling;
33 std::vector<std::string> physical_joint_names,
34 std::vector<std::string> actuated_axes_names,
35 std::vector<std::pair<double, double>> coupled_physical_joint_limits);
40 bool getPhysicalJointName(
size_t physicalJointIndex, std::string& physicalJointName)
override final;
41 bool getActuatedAxisName(
size_t actuatedAxisIndex, std::string& actuatedAxisName)
override final;
bool getNrOfActuatedAxes(size_t &nrOfActuatedAxes) override final
ImplementJointCoupling()=default
std::vector< std::pair< double, double > > m_physicalJointLimits
bool getCoupledActuatedAxes(yarp::sig::VectorOf< size_t > &coupActAxesIndexes) override final
bool getCoupledPhysicalJoints(yarp::sig::VectorOf< size_t > &coupPhysJointsIndexes) override final
bool getPhysicalJointName(size_t physicalJointIndex, std::string &physicalJointName) override final
bool getActuatedAxisName(size_t actuatedAxisIndex, std::string &actuatedAxisName) override final
unsigned int m_couplingSize
std::vector< std::string > m_physicalJointNames
std::vector< std::string > m_actuatedAxesNames
unsigned int m_controllerPeriod
bool getNrOfPhysicalJoints(size_t &nrOfPhysicalJoints) override final
yarp::sig::VectorOf< size_t > m_coupledPhysicalJoints
yarp::sig::VectorOf< size_t > m_coupledActuatedAxes
bool checkPhysicalJointIsCoupled(size_t physicalJointIndex)
virtual ~ImplementJointCoupling()=default
Destructor.
void initialise(yarp::sig::VectorOf< size_t > coupled_physical_joints, yarp::sig::VectorOf< size_t > coupled_actuated_axes, std::vector< std::string > physical_joint_names, std::vector< std::string > actuated_axes_names, std::vector< std::pair< double, double > > coupled_physical_joint_limits)
bool getPhysicalJointLimits(size_t physicalJointIndex, double &min, double &max) override final
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.