21#define LOCKMUTEXSERVER std::lock_guard<std::mutex> lg(m_mutex);
23#define LOCKMUTEXSERVER
36 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
54 ret = ReturnValue::return_code::return_value_error_not_ready;
71 ret = ReturnValue::return_code::return_value_error_not_ready;
89 ret = ReturnValue::return_code::return_value_error_not_ready;
111 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
129 ret = ReturnValue::return_code::return_value_error_not_ready;
146 ret = ReturnValue::return_code::return_value_error_not_ready;
163 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
218 ret.vel.resize(
jnts.size());
232 ret = ReturnValue::return_code::return_value_error_not_ready;
249 ret = ReturnValue::return_code::return_value_error_not_ready;
266 ret = ReturnValue::return_code::return_value_error_not_ready;
304 ret = ReturnValue::return_code::return_value_error_not_ready;
321 ret = ReturnValue::return_code::return_value_error_not_ready;
339 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
358 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
377 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
381 ret.pids.resize(m_njoints);
397 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
416 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
420 ret.info.resize(m_njoints);
436 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
455 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
473 ret = ReturnValue::return_code::return_value_error_not_ready;
490 ret = ReturnValue::return_code::return_value_error_not_ready;
507 ret = ReturnValue::return_code::return_value_error_not_ready;
525 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
543 ret = ReturnValue::return_code::return_value_error_not_ready;
560 ret = ReturnValue::return_code::return_value_error_not_ready;
577 ret = ReturnValue::return_code::return_value_error_not_ready;
594 ret = ReturnValue::return_code::return_value_error_not_ready;
611 ret = ReturnValue::return_code::return_value_error_not_ready;
628 ret = ReturnValue::return_code::return_value_error_not_ready;
646 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
665 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
669 ret.errs.resize(m_njoints);
685 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
704 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
708 ret.refs.resize(m_njoints);
724 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
743 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
747 ret.lims.resize(m_njoints);
763 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
782 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
786 ret.outs.resize(m_njoints);
806 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
825 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
843 ret = ReturnValue::return_code::return_value_error_not_ready;
860 ret = ReturnValue::return_code::return_value_error_not_ready;
880 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
899 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
918 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
936 ret = ReturnValue::return_code::return_value_error_not_ready;
953 ret = ReturnValue::return_code::return_value_error_not_ready;
973 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
977 ret.val.resize(m_njoints);
993 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1011 ret = ReturnValue::return_code::return_value_error_not_ready;
1028 ret = ReturnValue::return_code::return_value_error_not_ready;
1046 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1065 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1083 ret = ReturnValue::return_code::return_value_error_not_ready;
1101 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1119 ret = ReturnValue::return_code::return_value_error_not_ready;
1137 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1155 ret = ReturnValue::return_code::return_value_error_not_ready;
1173 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1191 ret = ReturnValue::return_code::return_value_error_not_ready;
1209 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1229 ret = ReturnValue::return_code::return_value_error_not_ready;
1246 ret = ReturnValue::return_code::return_value_error_not_ready;
1263 ret = ReturnValue::return_code::return_value_error_not_ready;
1280 ret = ReturnValue::return_code::return_value_error_not_ready;
1297 ret = ReturnValue::return_code::return_value_error_not_ready;
1314 ret = ReturnValue::return_code::return_value_error_not_ready;
1331 ret = ReturnValue::return_code::return_value_error_not_ready;
1348 ret = ReturnValue::return_code::return_value_error_not_ready;
1366 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1386 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1405 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1409 ret.modes.resize(joints.size());
1425 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1429 ret.modes.resize(m_njoints);
1444 ret = ReturnValue::return_code::return_value_error_not_ready;
1461 ret = ReturnValue::return_code::return_value_error_not_ready;
1478 ret = ReturnValue::return_code::return_value_error_not_ready;
1498 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1517 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1537 ret = ReturnValue::return_code::return_value_error_not_ready;
1554 ret = ReturnValue::return_code::return_value_error_not_ready;
1571 ret = ReturnValue::return_code::return_value_error_not_ready;
1588 ret = ReturnValue::return_code::return_value_error_not_ready;
1605 ret = ReturnValue::return_code::return_value_error_not_ready;
1622 ret = ReturnValue::return_code::return_value_error_not_ready;
1646 ret = ReturnValue::return_code::return_value_error_not_ready;
1666 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1687 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1705 ret = ReturnValue::return_code::return_value_error_not_ready;
1723 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1734 ret.listOfKeys.clear();
1735 ret.listOfKeys.push_back(listOfKeys);
1750 ret.refs.resize(m_njoints);
1764 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1781 ret = ReturnValue::return_code::return_value_error_not_ready;
1788 return ReturnValue::return_code::return_value_error_generic;
1799 ret = ReturnValue::return_code::return_value_error_not_ready;
1806 return ReturnValue::return_code::return_value_error_generic;
1817 ret = ReturnValue::return_code::return_value_error_not_ready;
1824 return ReturnValue::return_code::return_value_error_generic;
1838 ret.currs.resize(m_njoints);
1852 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1869 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1889 ret.mins.resize(m_njoints);
1890 ret.maxs.resize(m_njoints);
1906 ret = ReturnValue::return_code::return_value_error_not_ready;
1913 return ReturnValue::return_code::return_value_error_generic;
1924 ret = ReturnValue::return_code::return_value_error_not_ready;
1931 return ReturnValue::return_code::return_value_error_generic;
1942 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1959 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1963 ret.val.resize(m_njoints);
1977 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1994 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
1998 ret.val.resize(m_njoints);
2014 ret = ReturnValue::return_code::return_value_error_not_ready;
2021 return ReturnValue::return_code::return_value_error_generic;
2032 ret = ReturnValue::return_code::return_value_error_not_ready;
2039 return ReturnValue::return_code::return_value_error_generic;
2050 ret = ReturnValue::return_code::return_value_error_not_ready;
2057 return ReturnValue::return_code::return_value_error_generic;
2068 ret = ReturnValue::return_code::return_value_error_not_ready;
2075 return ReturnValue::return_code::return_value_error_generic;
2086 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2103 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2120 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2124 ret.val.resize(m_njoints);
2138 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2142 ret.val.resize(m_njoints);
2143 ret.time.resize(m_njoints);
2157 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2174 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2178 ret.val.resize(m_njoints);
2192 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2209 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2213 ret.val.resize(m_njoints);
2230 ret = ReturnValue::return_code::return_value_error_not_ready;
2247 ret = ReturnValue::return_code::return_value_error_not_ready;
2264 ret = ReturnValue::return_code::return_value_error_not_ready;
2281 ret = ReturnValue::return_code::return_value_error_not_ready;
2287 yCError(
CB_RPC,
"Unable to setMotorEncoderCountsPerRevolution");
2298 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2304 yCError(
CB_RPC,
"Unable to getMotorEncoderCountsPerRevolution");
2315 ret = ReturnValue::return_code::return_value_error_not_ready;
2322 return ReturnValue::return_code::return_value_error_generic;
2333 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2350 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2374 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2391 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2416 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2433 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2457 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2474 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2498 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2517 ret = ReturnValue::return_code::return_value_error_not_ready;
2534 ret = ReturnValue::return_code::return_value_error_not_ready;
2551 ret = ReturnValue::return_code::return_value_error_not_ready;
2568 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2585 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2589 ret.val.resize(m_njoints);
2603 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2607 ret.val.resize(j.size());
2619 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2636 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2640 ret.mins.resize(m_njoints);
2641 ret.maxs.resize(m_njoints);
2657 ret = ReturnValue::return_code::return_value_error_not_ready;
2674 ret = ReturnValue::return_code::return_value_error_not_ready;
2691 ret = ReturnValue::return_code::return_value_error_not_ready;
2709 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2726 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2730 ret.val.resize(m_njoints);
2744 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
2748 ret.val.resize(j.size());
2764 ret = ReturnValue::return_code::return_value_error_not_ready;
2781 ret = ReturnValue::return_code::return_value_error_not_ready;
2788 return ReturnValue::return_code::return_value_error_generic;
2799 ret = ReturnValue::return_code::return_value_error_not_ready;
2806 return ReturnValue::return_code::return_value_error_generic;
2817 ret = ReturnValue::return_code::return_value_error_not_ready;
2834 ret = ReturnValue::return_code::return_value_error_not_ready;
2841 return ReturnValue::return_code::return_value_error_generic;
2852 ret = ReturnValue::return_code::return_value_error_not_ready;
2859 return ReturnValue::return_code::return_value_error_generic;
2870 ret = ReturnValue::return_code::return_value_error_not_ready;
2877 return ReturnValue::return_code::return_value_error_generic;
2888 ret = ReturnValue::return_code::return_value_error_not_ready;
2895 return ReturnValue::return_code::return_value_error_generic;
2906 ret = ReturnValue::return_code::return_value_error_not_ready;
2913 return ReturnValue::return_code::return_value_error_generic;
2924 ret = ReturnValue::return_code::return_value_error_not_ready;
2941 ret = ReturnValue::return_code::return_value_error_not_ready;
2948 return ReturnValue::return_code::return_value_error_generic;
2959 ret = ReturnValue::return_code::return_value_error_not_ready;
2966 return ReturnValue::return_code::return_value_error_generic;
2977 ret = ReturnValue::return_code::return_value_error_not_ready;
2994 ret = ReturnValue::return_code::return_value_error_not_ready;
3011 ret = ReturnValue::return_code::return_value_error_not_ready;
3028 ret = ReturnValue::return_code::return_value_error_not_ready;
3045 ret = ReturnValue::return_code::return_value_error_not_ready;
3062 ret = ReturnValue::return_code::return_value_error_not_ready;
3080 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3097 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3101 ret.val.resize(joints.size());
3115 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3119 ret.val.resize(m_njoints);
3133 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3153 ret.val.resize(joints.size());
3170 ret.val.resize(m_njoints);
3184 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3204 ret.val.resize(joints.size());
3221 ret.val.resize(m_njoints);
3235 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3286 if (!m_allInterfaces.
iMotor) {
3288 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3303 if (!m_allInterfaces.
iMotor) {
3305 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3320 if (!m_allInterfaces.
iMotor) {
3343 if (!m_allInterfaces.
iMotor) {
3345 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3360 if (!m_allInterfaces.
iMotor) {
3362 ret = ReturnValue::return_code::return_value_error_not_ready;
3377 if (!m_allInterfaces.
iMotor) {
3379 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3394 if (!m_allInterfaces.
iMotor) {
3396 ret = ReturnValue::return_code::return_value_error_not_ready;
3414 ret = ReturnValue::return_code::return_value_error_not_ready;
3441 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3451 ret.params.bemf = params.
bemf;
3455 ret.params.ktau = params.
ktau;
3470 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
3490 ret.val.resize(joints.size());
3507 ret.val.resize(m_njoints);
#define ReturnValue_error_not_implemented_by_device
yarp::dev::ReturnValue setRemoteVariableRPC(const std::string &key, const yarp::os::Bottle &val) override
yarp::dev::ReturnValue setControlModeAllRPC(const std::vector< yarp::dev::SelectableControlModeEnum > &modes) override
yarp::dev::ReturnValue velocityMoveAllRPC(const std::vector< double > &refs) override
yarp::dev::ReturnValue resetMotorEncodersRPC() override
yarp::dev::ReturnValue parkRPC(const bool wait) override
return_getJointType getJointTypeRPC(const std::int32_t j) override
yarp::dev::ReturnValue setTrajSpeedOneRPC(const std::int32_t j, const double sp) override
return_getRefVelocityAll getRefVelocityAllRPC() const override
return_getTorqueRangeOne getTorqueRangeOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setEncoderOneRPC(const std::int32_t j, const double val) override
return_getNominalCurrent getNominalCurrentRPC(const std::int32_t m) const override
yarp::dev::ReturnValue setInteractionModesGroupRPC(const std::vector< std::int32_t > &joints, const std::vector< yarp::dev::InteractionModeEnum > &modes) override
yarp::dev::ReturnValue setRefPositionAllRPC(const std::vector< double > &refs) override
return_getRefPositionAll getRefPositionAllRPC() const override
yarp::dev::ReturnValue setPidErrorLimitRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double limit) override
yarp::dev::ReturnValue setPidReferenceRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double ref) override
yarp::dev::ReturnValue setRefVelocityGroupRPC(const std::vector< std::int32_t > &j, const std::vector< double > &vel) override
yarp::dev::ReturnValue setRefTorqueAllRPC(const std::vector< double > &vel) override
yarp::dev::ReturnValue setTemperatureLimitRPC(const std::int32_t m, const double val) override
return_getInteractionModeGroup getInteractionModesGroupRPC(const std::vector< std::int32_t > &joints) const override
return_getMotorEncoderOne getMotorEncoderOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setPeakCurrentRPC(const std::int32_t m, const double val) override
return_getPid getPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
return_getAvailableControlModes getAvailableControlModesRPC(const std::int16_t j) const override
yarp::dev::ReturnValue setRefTorqueGroupRPC(const std::vector< std::int32_t > &j, const std::vector< double > &vel) override
yarp::dev::ReturnValue calibrateAxisWithParamsRPC(const std::int32_t j, const std::int32_t ui, const double v1, const double v2, const double v3) override
return_isPidEnabled isPidEnabledRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
yarp::dev::ReturnValue resetEncoderOneRPC(const std::int32_t j) override
return_getAxes getAxesRPC() const override
yarp::dev::ReturnValue setTrajAccelerationsGroupRPC(const std::vector< std::int32_t > &joints, const std::vector< double > &accs) override
yarp::dev::ReturnValue setRefVelocityOneRPC(const std::int32_t j, const double vel) override
yarp::dev::ReturnValue abortCalibrationRPC() override
yarp::dev::ReturnValue setMotorEncoderRPC(const std::int32_t j, const double val) override
yarp::dev::ReturnValue setPidErrorLimitsRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector< double > &limits) override
yarp::dev::ReturnValue setPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const yarp::dev::Pid &pid) override
yarp::dev::ReturnValue setControlModeGroupRPC(const std::vector< std::int32_t > &j, const std::vector< yarp::dev::SelectableControlModeEnum > &modes) override
yarp::dev::ReturnValue parkWholePartRPC() override
return_getMotorEncoderSpeedAll getMotorEncoderSpeedAllRPC() const override
return_getTrajAccelerationOne getTrajAccelerationOneRPC(const std::int32_t j) const override
return_getMotorEncoderAccelerationAll getMotorEncoderAccelerationAllRPC() const override
return_getTrajSpeedsGroup getTrajSpeedsGroupRPC(const std::vector< std::int32_t > &joints) const override
yarp::dev::ReturnValue velocityMoveGroupRPC(const std::vector< std::int32_t > &joints, const std::vector< double > &refs) override
return_getDeviceInterfaces getDeviceInterfacesRPC() const override
yarp::dev::ReturnValue positionMoveOneRPC(const std::int32_t j, const double ref) override
return_getRefPositionOne getRefPositionOneRPC(const std::int32_t j) const override
return_getPidExtraInfo getPidExtraInfoRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
return_getEncoderSpeedOne getEncoderSpeedOneRPC(const std::int32_t j) const override
return_getRemoteVariable getRemoteVariableRPC(const std::string &key) const override
yarp::dev::ReturnValue calibrateWholePartRPC() override
yarp::dev::ReturnValue positionMoveGroupRPC(const std::vector< std::int32_t > &joints, const std::vector< double > &refs) override
return_getRefDutyCycleAll getRefDutyCycleAllRPC() const override
yarp::dev::ReturnValue setMotorEncodersAllRPC(const std::vector< double > &vals) override
return_checkMotionDoneOne checkMotionDoneOneRPC(const std::int32_t j) const override
return_getEncoderTimedOne getEncoderTimedOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue disableAmpRPC(const std::int32_t j) override
yarp::dev::ReturnValue setPWMLimitRPC(const std::int32_t m, const double val) override
return_getMotorEncoderAccelerationOne getMotorEncoderAccelerationOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setRefCurrentAllRPC(const std::vector< double > &refs) override
return_getEncoderAccelerationOne getEncoderAccelerationOneRPC(const std::int32_t j) const override
return_getRefTorqueAll getRefTorqueAllRPC() const override
return_getVelLimits getVelLimitsRPC(const std::int16_t j) const override
yarp::dev::ReturnValue setImpedanceRPC(const std::int32_t j, const double stiffness, const double damping) override
yarp::dev::ReturnValue calibrateSingleJointRPC(const std::int32_t j) override
return_getTrajAccelerationGroup getTrajAccelerationGroupRPC(const std::vector< std::int32_t > &joints) const override
return_getTrajSpeedOne getTrajSpeedOneRPC(const std::int32_t j) const override
return_getPidErrors getPidErrorsRPC(const yarp::dev::PidControlTypeEnum pidtype) const override
return_getRefDutyCycleOne getRefDutyCycleOneRPC(const std::int32_t j) const override
return_getTrajAccelerationAll getTrajAccelerationAllRPC() const override
yarp::dev::ReturnValue resetPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override
return_getMotorTorqueParams getMotorTorqueParamsRPC(const std::int32_t j) override
yarp::dev::ReturnValue setTrajAccelerationOneRPC(const std::int32_t j, const double acc) override
return_getPidErrorLimit getPidErrorLimitRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
return_getRemoteVariablesList getRemoteVariablesListRPC() const override
return_getImpedance getImpedanceRPC(const std::int32_t j) const override
return_getMotorEncoderAll getMotorEncoderAllRPC() const override
return_getTargetPositionAll getTargetPositionAllRPC() const override
return_getMaxCurrent getMaxCurrentRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setRefPositionGroupRPC(const std::vector< std::int32_t > &joints, const std::vector< double > &refs) override
return_getTemperatureOne getTemperatureOneRPC(const std::int32_t m) const override
yarp::dev::ReturnValue stopAllRPC() override
return_getPidReference getPidReferenceRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
yarp::dev::ReturnValue positionMoveAllRPC(const std::vector< double > &refs) override
return_getTorqueRangeAll getTorqueRangeAllRPC() const override
return_getMotorEncoderCountsPerRevolution getMotorEncoderCountsPerRevolutionRPC(const std::int32_t m) const override
yarp::dev::ReturnValue setRefCurrentOneRPC(const std::int32_t j, const double ref) override
return_getGearboxRatio getGearboxRatioRPC(const std::int32_t m) const override
yarp::dev::ReturnValue setPidFeedforwardOneRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double value) override
yarp::dev::ReturnValue setRefPositionOneRPC(const std::int32_t j, double ref) override
return_getAmpStatusAll getAmpStatusAllRPC() const override
yarp::dev::ReturnValue parkSingleJointRPC(const std::int32_t j, const bool wait) override
return_getAmpStatusOne getAmpStatusOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue quitCalibrateRPC() override
return_getImpedanceOffset getImpedanceOffsetRPC(const std::int32_t j) const override
return_getRefCurrentAll getRefCurrentAllRPC() const override
yarp::dev::ReturnValue setManualBrakeActiveRPC(const std::int32_t j, const bool active) override
yarp::dev::ReturnValue resetEncoderAllRPC() override
yarp::dev::ReturnValue homingSingleJointRPC(const std::int32_t j) override
return_getTargetVelocityGroup getTargetVelocityGroupRPC(const std::vector< std::int32_t > &joints) const override
yarp::dev::ReturnValue setVelLimitsRPC(const std::int16_t j, const double min, const double max) override
return_getNumberOfMotors getNumberOfMotorsRPC() const override
yarp::dev::ReturnValue setTrajSpeedAllRPC(const std::vector< double > &spds) override
return_getAvailablePids getAvailablePidsRPC(const std::int16_t j) const override
yarp::dev::ReturnValue stopOneRPC(const std::int32_t j) override
yarp::dev::ReturnValue relativeMoveAllRPC(const std::vector< double > &deltas) override
return_getPidReferences getPidReferencesRPC(const yarp::dev::PidControlTypeEnum pidtype) const override
return_getEncoderSpeedAll getEncoderSpeedAllRPC() const override
return_getPWMLimit getPWMLimitRPC(const std::int32_t m) const override
yarp::dev::ReturnValue setImpedanceOffsetRPC(const std::int32_t j, const double offset) override
return_getPidOutput getPidOutputRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
yarp::dev::ReturnValue setInteractionModeOneRPC(const std::int32_t axis, const yarp::dev::InteractionModeEnum mode) override
return_getDutyCycleOne getDutyCycleOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue velocityMoveOneRPC(const std::int32_t j, double ref) override
return_getCurrentRangeAll getCurrentRangeAllRPC() const override
yarp::dev::ReturnValue homingWholePartRPC() override
return_getTargetVelocityAll getTargetVelocityAllRPC() const override
yarp::dev::ReturnValue setRefVelocityAllRPC(const std::vector< double > &vel) override
return_getCurrentAll getCurrentAllRPC() const override
yarp::dev::ReturnValue disablePidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override
yarp::dev::ReturnValue setControlModeOneRPC(const std::int32_t j, const yarp::dev::SelectableControlModeEnum mod) override
yarp::dev::ReturnValue calibrateRobotRPC() override
yarp::dev::ReturnValue relativeMoveGroupRPC(const std::vector< std::int32_t > &joints, const std::vector< double > &refs) override
yarp::dev::ReturnValue setRefDutyCycleAllRPC(const std::vector< double > &v) override
yarp::dev::ReturnValue setNominalCurrentRPC(const std::int32_t m, const double val) override
yarp::dev::ReturnValue setMotorTorqueParamsRPC(const std::int32_t j, const yMotorTorqueParameters ¶ms) override
return_getPidOffset getPidOffsetRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
return_getMotorEncoderTimedAll getMotorEncodersTimedAllRPC() const override
return_isCalibratorDevicePresent isCalibratorDevicePresentRPC() const override
return_getPidOutputs getPidOutputsRPC(const yarp::dev::PidControlTypeEnum pidtype) const override
yarp::dev::ReturnValue abortParkRPC() override
return_getTargetPositionOne getTargetPositionOneRPC(const std::int32_t j) const override
return_getRefVelocityGroup getRefVelocityGroupRPC(const std::vector< std::int32_t > &jnts) const override
yarp::dev::ReturnValue quitParkRPC() override
return_getEncoderAccelerationAll getEncoderAccelerationAllRPC() const override
return_checkMotionDoneGroup checkMotionDoneGroupRPC(const std::vector< std::int32_t > &joints) const override
return_getInteractionModeOne getInteractionModeOneRPC(const std::int32_t axis) const override
return_getPowerSupplyVoltage getPowerSupplyVoltageRPC(const std::int32_t m) const override
return_getCurrentOne getCurrentOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setTrajSpeedGroupRPC(const std::vector< std::int32_t > &joints, const std::vector< double > &spds) override
return_getTemperatureLimit getTemperatureLimitRPC(const std::int32_t m) const override
yarp::dev::ReturnValue setPosLimitsRPC(const std::int16_t j, const double min, const double max) override
return_getEncoderTimedAll getEncoderTimedAllRPC() const override
yarp::dev::ReturnValue setPidsRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector< yarp::dev::Pid > &pids) override
return_getCurrentImpedanceLimit getCurrentImpedanceLimitRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setRefTorqueOneRPC(const std::int32_t j, const double vel) override
return_getTargetVelocityOne getTargetVelocityOneRPC(const std::int32_t j) const override
return_getTrajSpeedsAll getTrajSpeedsAllRPC() const override
return_getPids getPidsRPC(const yarp::dev::PidControlTypeEnum pidtype) const override
return_getRefTorqueGroup getRefTorqueGroupRPC(const std::vector< std::int32_t > &j) const override
yarp::dev::ReturnValue setMaxCurrentRPC(const std::int32_t j, const double v) override
return_getPidExtraInfos getPidExtraInfosRPC(const yarp::dev::PidControlTypeEnum pidtypeo) const override
return_getEncoderAll getEncoderAllRPC() const override
return_getCurrentRangeOne getCurrentRangeOneRPC(const std::int32_t j) const override
return_getNumberOfMotorEncoders getNumberOfMotorEncodersRPC() const override
return_getPWM getPWMRPC(const std::int32_t m) const override
return_getRefTorqueOne getRefTorqueOneRPC(const std::int32_t j) const override
return_getPosLimits getPosLimitsRPC(const std::int16_t j) const override
return_getAxisName getAxisNameRPC(const std::int32_t j) override
return_getTemperatureAll getTemperatureAllRPC() const override
return_getTargetPositionGroup getTargetPositionGroupRPC(const std::vector< std::int32_t > &joints) const override
return_getInteractionModeAll getInteractionModesAllRPC() const override
yarp::dev::ReturnValue setRefDutyCycleOneRPC(const std::int32_t j, const double v) override
return_getRefVelocityOne getRefVelocityOneRPC(const std::int32_t j) const override
return_getPidFeedforward getPidFeedforwardRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
yarp::dev::ReturnValue setAutoBrakeEnabledRPC(const std::int32_t j, const bool enabled) override
yarp::dev::ReturnValue resetMotorEncoderRPC(const std::int32_t j) override
return_getPidErrorLimits getPidErrorLimitsRPC(const yarp::dev::PidControlTypeEnum pidtype) const override
yarp::dev::ReturnValue relativeMoveOneRPC(const std::int32_t j, const double delta) override
yarp::dev::ReturnValue enableAmpRPC(const std::int32_t j) override
yarp::dev::ReturnValue setRefCurrentGroupRPC(const std::vector< std::int32_t > &j, const std::vector< double > &refs) override
yarp::dev::ReturnValue setInteractionModesAllRPC(const std::vector< yarp::dev::InteractionModeEnum > &modes) override
return_getRefPositionGroup getRefPositionGroupRPC(const std::vector< std::int32_t > &j) const override
yarp::dev::ReturnValue setTrajAccelerationsAllRPC(const std::vector< double > &accs) override
yarp::dev::ReturnValue setMotorEncoderCountsPerRevolutionRPC(const std::int32_t j, const double val) override
yarp::dev::ReturnValue setPidReferencesRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector< double > &refs) override
yarp::dev::ReturnValue calibrationDoneRPC(const std::int32_t j) override
yarp::dev::ReturnValue enablePidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override
return_isJointBraked isJointBrakedRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setCalibrationParametersRPC(const std::int32_t j, const yCalibrationParameters ¶ms) override
return_getAutoBrakeEnabled getAutoBrakeEnabledRPC(const std::int32_t j) const override
return_getLastJointFault getLastJointFaultRPC(const std::int32_t j) const override
return_getMotorEncoderSpeedOne getMotorEncoderSpeedOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setPidOffsetOneRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double value) override
return_getPeakCurrent getPeakCurrentRPC(const std::int32_t m) const override
return_getMotorEncoderTimedOne getMotorEncoderTimedOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setGearboxRatioRPC(const std::int32_t m, const double val) override
return_getDutyCycleAll getDutyCycleAllRPC() const override
yarp::dev::ReturnValue setEncoderAllRPC(const std::vector< double > &vals) override
return_getRefCurrentOne getRefCurrentOneRPC(const std::int32_t j) const override
return_checkMotionDoneAll checkMotionDoneAllRPC() const override
yarp::dev::ReturnValue stopGroupRPC(const std::vector< std::int32_t > &joints) override
return_getEncoderOne getEncoderOneRPC(const std::int32_t j) const override
return_getPidError getPidErrorRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override
std::map< std::string, bool > interfaces
yarp::dev::ReturnValue ret
virtual yarp::dev::ReturnValue setPWMLimit(int j, const double val)=0
virtual yarp::dev::ReturnValue setNominalCurrent(int m, const double val)=0
virtual yarp::dev::ReturnValue getPeakCurrent(int m, double *val)=0
virtual yarp::dev::ReturnValue disableAmp(int j)=0
Disable the amplifier on a specific joint.
virtual yarp::dev::ReturnValue getPWMLimit(int j, double *val)=0
virtual yarp::dev::ReturnValue setPeakCurrent(int m, const double val)=0
virtual yarp::dev::ReturnValue getMaxCurrent(int j, double *v)=0
Returns the maximum electric current allowed for a given motor.
virtual yarp::dev::ReturnValue getPWM(int j, double *val)=0
virtual yarp::dev::ReturnValue getAmpStatus(int *st)=0
virtual yarp::dev::ReturnValue setMaxCurrent(int j, double v)=0
virtual yarp::dev::ReturnValue getNominalCurrent(int m, double *val)=0
virtual yarp::dev::ReturnValue enableAmp(int j)=0
Enable the amplifier on a specific joint.
virtual yarp::dev::ReturnValue getPowerSupplyVoltage(int j, double *val)=0
virtual yarp::dev::ReturnValue getAxes(size_t &ax)=0
Get the number of controlled axes.
virtual yarp::dev::ReturnValue getJointType(int axis, yarp::dev::JointTypeEnum &type)
virtual yarp::dev::ReturnValue getAxisName(int axis, std::string &name)=0
virtual yarp::dev::ReturnValue calibrationDone(int j)=0
Check if the calibration is terminated, on a particular joint.
virtual yarp::dev::ReturnValue abortPark()
virtual yarp::dev::ReturnValue calibrateAxisWithParams(int axis, unsigned int type, double p1, double p2, double p3)=0
Start calibration, this method is very often platform specific.
virtual yarp::dev::ReturnValue calibrateRobot()
Calibrate robot by using an external calibrator.
virtual yarp::dev::ReturnValue abortCalibration()
virtual yarp::dev::ReturnValue setCalibrationParameters(int axis, const CalibrationParameters ¶ms)=0
Start calibration, this method is very often platform specific.
virtual yarp::dev::ReturnValue park(bool wait=true)
virtual yarp::dev::ReturnValue setPosLimits(int axis, double min, double max)=0
Set the software limits for a particular axis, the behavior of the control card when these limits are...
virtual yarp::dev::ReturnValue getVelLimits(int axis, double *min, double *max)=0
Get the software speed limits for a particular axis.
virtual yarp::dev::ReturnValue getPosLimits(int axis, double *min, double *max)=0
Get the software limits for a particular axis.
virtual yarp::dev::ReturnValue setVelLimits(int axis, double min, double max)=0
Set the software speed limits for a particular axis, the behavior of the control card when these limi...
virtual yarp::dev::ReturnValue setControlModes(const std::vector< int > &joints, const std::vector< yarp::dev::SelectableControlModeEnum > &mode)=0
Set the current control mode for a subset of axes.
virtual yarp::dev::ReturnValue setControlMode(int j, yarp::dev::SelectableControlModeEnum mode)=0
Set the current control mode.
virtual yarp::dev::ReturnValue getAvailableControlModes(int j, std::vector< yarp::dev::SelectableControlModeEnum > &avail)=0
Return a list of available control mode for the given joint.
virtual yarp::dev::ReturnValue setRefCurrent(int m, double curr)=0
Set the reference value of the current for a single motor.
virtual yarp::dev::ReturnValue setRefCurrents(const double *currs)=0
Set the reference value of the currents for all motors.
virtual yarp::dev::ReturnValue getCurrent(int m, double *curr)=0
Get the instantaneous current measurement for a single motor.
virtual yarp::dev::ReturnValue getCurrentRange(int m, double *min, double *max)=0
Get the full scale of the current measurement for a given motor (e.g.
virtual yarp::dev::ReturnValue getCurrentRanges(double *min, double *max)=0
Get the full scale of the current measurements for all motors motor (e.g.
virtual yarp::dev::ReturnValue getRefCurrent(int m, double *curr)=0
Get the reference value of the current for a single motor.
virtual yarp::dev::ReturnValue getRefCurrents(double *currs)=0
Get the reference value of the currents for all motors.
virtual yarp::dev::ReturnValue getCurrents(double *currs)=0
Get the instantaneous current measurement for all motors.
virtual yarp::dev::ReturnValue getEncoderTimed(int j, double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual yarp::dev::ReturnValue getEncodersTimed(double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual yarp::dev::ReturnValue getEncoderAcceleration(int j, double *spds)=0
Read the instantaneous acceleration of an axis.
virtual yarp::dev::ReturnValue getEncoderAccelerations(double *accs)=0
Read the instantaneous acceleration of all axes.
virtual yarp::dev::ReturnValue getEncoderSpeeds(double *spds)=0
Read the instantaneous speed of all axes.
virtual yarp::dev::ReturnValue getEncoders(double *encs)=0
Read the position of all axes.
virtual yarp::dev::ReturnValue setEncoders(const double *vals)=0
Set the value of all encoders.
virtual yarp::dev::ReturnValue getEncoderSpeed(int j, double *sp)=0
Read the istantaneous speed of an axis.
virtual yarp::dev::ReturnValue getEncoder(int j, double *v)=0
Read the value of an encoder.
virtual yarp::dev::ReturnValue resetEncoder(int j)=0
Reset encoder, single joint.
virtual yarp::dev::ReturnValue resetEncoders()=0
Reset encoders.
virtual yarp::dev::ReturnValue setEncoder(int j, double val)=0
Set the value of the encoder for a given joint.
virtual yarp::dev::ReturnValue getCurrentImpedanceLimit(int j, double *min_stiff, double *max_stiff, double *min_damp, double *max_damp)=0
Get the current impedance limits for a specific joint.
virtual yarp::dev::ReturnValue getImpedance(int j, double *stiffness, double *damping)=0
Get current impedance gains (stiffness,damping,offset) for a specific joint.
virtual yarp::dev::ReturnValue getImpedanceOffset(int j, double *offset)=0
Get current force Offset for a specific joint.
virtual yarp::dev::ReturnValue setImpedanceOffset(int j, double offset)=0
Set current force Offset for a specific joint.
virtual yarp::dev::ReturnValue setImpedance(int j, double stiffness, double damping)=0
Set current impedance gains (stiffness,damping) for a specific joint.
virtual yarp::dev::ReturnValue setInteractionModes(const std::vector< int > &joints, const std::vector< yarp::dev::InteractionModeEnum > &modes)=0
Set the interaction mode of the robot for a set of joints, values can be stiff or compliant.
virtual yarp::dev::ReturnValue getInteractionMode(int axis, yarp::dev::InteractionModeEnum &mode)=0
Get the current interaction mode of the robot, values can be stiff or compliant.
virtual yarp::dev::ReturnValue setInteractionMode(int axis, yarp::dev::InteractionModeEnum mode)=0
Set the interaction mode of the robot, values can be stiff or compliant.
virtual yarp::dev::ReturnValue getInteractionModes(const std::vector< int > &joints, std::vector< yarp::dev::InteractionModeEnum > &modes)=0
Get the current interaction mode of the robot for a set of joints, values can be stiff or compliant.
virtual yarp::dev::ReturnValue setAutoBrakeEnabled(int j, bool enabled)=0
Enables/Disables the automatic joint brake.
virtual yarp::dev::ReturnValue isJointBraked(int j, bool &braked) const =0
Check is the joint brake is currently active.
virtual yarp::dev::ReturnValue getAutoBrakeEnabled(int j, bool &enabled) const =0
checks if the automatic joint brake mode is enabled or disabled.
virtual yarp::dev::ReturnValue setManualBrakeActive(int j, bool active)=0
Enables/Disables manually the joint brake.
virtual yarp::dev::ReturnValue getLastJointFault(int j, int &fault, std::string &message)=0
virtual yarp::dev::ReturnValue getMotorEncoderSpeed(int m, double *sp)=0
Read the instantaneous speed of a motor encoder.
virtual yarp::dev::ReturnValue getNumberOfMotorEncoders(int *num)=0
Get the number of available motor encoders.
virtual yarp::dev::ReturnValue getMotorEncoders(double *encs)=0
Read the position of all motor encoders.
virtual yarp::dev::ReturnValue resetMotorEncoders()=0
Reset motor encoders.
virtual yarp::dev::ReturnValue getMotorEncoderAcceleration(int m, double *acc)=0
Read the instantaneous acceleration of a motor encoder.
virtual yarp::dev::ReturnValue setMotorEncoder(int m, const double val)=0
Set the value of the motor encoder for a given motor.
virtual yarp::dev::ReturnValue getMotorEncoderSpeeds(double *spds)=0
Read the instantaneous speed of all motor encoders.
virtual yarp::dev::ReturnValue getMotorEncoderCountsPerRevolution(int m, double *cpr)=0
Gets number of counts per revolution for motor encoder m.
virtual yarp::dev::ReturnValue resetMotorEncoder(int m)=0
Reset motor encoder, single motor.
virtual yarp::dev::ReturnValue setMotorEncoderCountsPerRevolution(int m, const double cpr)=0
Sets number of counts per revolution for motor encoder m.
virtual yarp::dev::ReturnValue getMotorEncoderAccelerations(double *accs)=0
Read the instantaneous acceleration of all motor encoders.
virtual yarp::dev::ReturnValue setMotorEncoders(const double *vals)=0
Set the value of all motor encoders.
virtual yarp::dev::ReturnValue getMotorEncodersTimed(double *encs, double *time)=0
Read the instantaneous position of all motor encoders.
virtual yarp::dev::ReturnValue getMotorEncoder(int m, double *v)=0
Read the value of a motor encoder.
virtual yarp::dev::ReturnValue getMotorEncoderTimed(int m, double *encs, double *time)=0
Read the instantaneous position of a motor encoder.
virtual yarp::dev::ReturnValue getTemperatureLimit(int m, double *temp)=0
Retrieves the current temperature limit for a specific motor.
virtual yarp::dev::ReturnValue setGearboxRatio(int m, const double val)=0
Set the gearbox ratio for a specific motor.
virtual yarp::dev::ReturnValue getTemperature(int m, double *val)=0
Get temperature of a motor.
virtual yarp::dev::ReturnValue getGearboxRatio(int m, double *val)=0
Get the gearbox ratio for a specific motor.
virtual yarp::dev::ReturnValue getNumberOfMotors(int *num)=0
Get the number of available motors.
virtual yarp::dev::ReturnValue setTemperatureLimit(int m, const double temp)=0
Set the temperature limit for a specific motor.
virtual yarp::dev::ReturnValue getTemperatures(double *vals)=0
Get temperature of all the motors.
virtual yarp::dev::ReturnValue getRefDutyCycles(double *refs)=0
Gets the last reference sent using the setRefDutyCycles function.
virtual yarp::dev::ReturnValue getDutyCycle(int m, double *val)=0
Gets the current dutycycle of the output of the amplifier (i.e.
virtual yarp::dev::ReturnValue setRefDutyCycles(const double *refs)=0
Sets the reference dutycycle for all the motors.
virtual yarp::dev::ReturnValue setRefDutyCycle(int m, double ref)=0
Sets the reference dutycycle to a single motor.
virtual yarp::dev::ReturnValue getDutyCycles(double *vals)=0
Gets the current dutycycle of the output of the amplifier (i.e.
virtual yarp::dev::ReturnValue getRefDutyCycle(int m, double *ref)=0
Gets the last reference sent using the setRefDutyCycle function.
virtual yarp::dev::ReturnValue disablePid(const PidControlTypeEnum &pidtype, int j)=0
Disable the PID computation for a joint.
virtual yarp::dev::ReturnValue getPidErrorLimit(const PidControlTypeEnum &pidtype, int j, double *limit)=0
Get the error limit for the controller on a specific joint.
virtual yarp::dev::ReturnValue getPidErrorLimits(const PidControlTypeEnum &pidtype, double *limits)=0
Get the error limit for all controllers.
virtual yarp::dev::ReturnValue setPids(const PidControlTypeEnum &pidtype, const Pid *pids)=0
Set new PID value on multiple axes.
virtual yarp::dev::ReturnValue setPidErrorLimits(const PidControlTypeEnum &pidtype, const double *limits)=0
Get the error limit for the controller on all joints.
virtual yarp::dev::ReturnValue getPidErrors(const PidControlTypeEnum &pidtype, double *errs)=0
Get the error of all joints.
virtual yarp::dev::ReturnValue getPidOutput(const PidControlTypeEnum &pidtype, int j, double *out)=0
Get the output of the controller (e.g.
virtual yarp::dev::ReturnValue getPidFeedforward(const PidControlTypeEnum &pidtype, int j, double &v)=0
Get the currently set feedforward value for the specified PID controller.
virtual yarp::dev::ReturnValue getPidOffset(const PidControlTypeEnum &pidtype, int j, double &v)=0
Get the currently set offset value for the specified PID controller.
virtual yarp::dev::ReturnValue getPidExtraInfos(const PidControlTypeEnum &pidtype, std::vector< yarp::dev::PidExtraInfo > &info)=0
Get PID extra info and measurement units for a specific joint.
virtual yarp::dev::ReturnValue isPidEnabled(const PidControlTypeEnum &pidtype, int j, bool &enabled)=0
Get the current status (enabled/disabled) of the PID.
virtual yarp::dev::ReturnValue resetPid(const PidControlTypeEnum &pidtype, int j)=0
Reset the controller of a given joint, usually sets the current status of the joint as the reference ...
virtual yarp::dev::ReturnValue getAvailablePids(int j, std::vector< PidControlTypeEnum > &avail)=0
Return a list of available pid types mode for the given joint.
virtual yarp::dev::ReturnValue getPids(const PidControlTypeEnum &pidtype, Pid *pids)=0
Get current PID value for a specific joint.
virtual yarp::dev::ReturnValue getPidExtraInfo(const PidControlTypeEnum &pidtype, int j, yarp::dev::PidExtraInfo &info)=0
Get PID extra info and measurement units for a specific joint.
virtual yarp::dev::ReturnValue setPidReferences(const PidControlTypeEnum &pidtype, const double *refs)=0
Set the controller reference, multiple axes.
virtual yarp::dev::ReturnValue setPidReference(const PidControlTypeEnum &pidtype, int j, double ref)=0
Set the controller reference for a given axis.
virtual yarp::dev::ReturnValue setPidErrorLimit(const PidControlTypeEnum &pidtype, int j, double limit)=0
Set the error limit for the controller on a specific joint.
virtual yarp::dev::ReturnValue setPid(const PidControlTypeEnum &pidtype, int j, const Pid &pid)=0
Set new PID value for a joint axis.
virtual yarp::dev::ReturnValue getPidError(const PidControlTypeEnum &pidtype, int j, double *err)=0
Get the current error for a joint.
virtual yarp::dev::ReturnValue getPidReferences(const PidControlTypeEnum &pidtype, double *refs)=0
Get the current reference of all PID controllers.
virtual yarp::dev::ReturnValue setPidFeedforward(const PidControlTypeEnum &pidtype, int j, double v)=0
Set the feedforward value for the specified PID controller.
virtual yarp::dev::ReturnValue enablePid(const PidControlTypeEnum &pidtype, int j)=0
Enable the PID computation for a joint.
virtual yarp::dev::ReturnValue getPidReference(const PidControlTypeEnum &pidtype, int j, double *ref)=0
Get the current reference of the PID controller for a specific joint.
virtual yarp::dev::ReturnValue getPid(const PidControlTypeEnum &pidtype, int j, Pid *pid)=0
Get current PID value for a specific joint.
virtual yarp::dev::ReturnValue setPidOffset(const PidControlTypeEnum &pidtype, int j, double v)=0
Set an offset value for a given controller.
virtual yarp::dev::ReturnValue getPidOutputs(const PidControlTypeEnum &pidtype, double *outs)=0
Get the output of the controllers (e.g.
virtual yarp::dev::ReturnValue getTargetPosition(const int joint, double *ref)=0
Get the last position reference for the specified axis.
virtual yarp::dev::ReturnValue setTrajSpeed(int j, double sp)=0
Set reference speed for a joint, this is the speed used during the interpolation of the trajectory.
virtual yarp::dev::ReturnValue getTargetPositions(double *refs)=0
Get the last position reference for all axes.
virtual yarp::dev::ReturnValue setTrajAcceleration(int j, double acc)=0
Set reference acceleration for a joint.
virtual yarp::dev::ReturnValue relativeMove(int j, double delta)=0
Set relative position.
virtual yarp::dev::ReturnValue getTrajSpeeds(double *spds)=0
Get reference speed of all joints.
virtual yarp::dev::ReturnValue setTrajSpeeds(const double *spds)=0
Set reference speed on all joints.
virtual yarp::dev::ReturnValue positionMove(int j, double ref)=0
Set new reference point for a single axis.
virtual yarp::dev::ReturnValue getTrajAccelerations(double *accs)=0
Get reference acceleration of all joints.
virtual yarp::dev::ReturnValue checkMotionDone(int j, bool &flag)=0
Check if the current trajectory is terminated.
virtual yarp::dev::ReturnValue getTrajSpeed(int j, double *ref)=0
Get reference speed for a joint.
virtual yarp::dev::ReturnValue setTrajAccelerations(const double *accs)=0
Set reference acceleration on all joints.
virtual yarp::dev::ReturnValue stop(int j)=0
Stop motion, single joint.
virtual yarp::dev::ReturnValue getTrajAcceleration(int j, double *acc)=0
Get reference acceleration for a joint.
virtual yarp::dev::ReturnValue getRefPosition(const int joint, double *ref)=0
Get the last position reference for the specified axis.
virtual yarp::dev::ReturnValue setPositions(const int n_joint, const int *joints, const double *refs)=0
Set new reference point for all axes.
virtual yarp::dev::ReturnValue setPosition(int j, double ref)=0
Set new position for a single axis.
virtual yarp::dev::ReturnValue getRefPositions(double *refs)=0
Get the last position reference for all axes.
virtual yarp::dev::ReturnValue calibrateWholePart()=0
calibrateWholePart: call the procedure for calibrating the whole device
virtual yarp::dev::ReturnValue homingWholePart()=0
homingWholePart: call the homing procedure for a the whole part/device
virtual yarp::dev::ReturnValue parkWholePart()=0
parkWholePart: start the parking procedure for the whole part
virtual yarp::dev::ReturnValue calibrateSingleJoint(int j)=0
calibrateSingleJoint: call the calibration procedure for the single joint
virtual yarp::dev::ReturnValue isCalibratorDevicePresent(bool *isCalib)
isCalibratorDevicePresent: check if a calibrator device has been set
virtual yarp::dev::ReturnValue homingSingleJoint(int j)=0
homingSingleJoint: call the homing procedure for a single joint
virtual yarp::dev::ReturnValue parkSingleJoint(int j, bool _wait=true)=0
parkSingleJoint(): start the parking procedure for the single joint
virtual yarp::dev::ReturnValue quitCalibrate()=0
quitCalibrate: interrupt the calibration procedure
virtual yarp::dev::ReturnValue quitPark()=0
quitPark: interrupt the park procedure
virtual yarp::dev::ReturnValue getRemoteVariablesList(yarp::os::Bottle *listOfKeys)=0
virtual yarp::dev::ReturnValue getRemoteVariable(std::string key, yarp::os::Bottle &val)=0
virtual yarp::dev::ReturnValue setRemoteVariable(std::string key, const yarp::os::Bottle &val)=0
virtual yarp::dev::ReturnValue getMotorTorqueParams(int j, yarp::dev::MotorTorqueParameters *params)=0
Get a subset of motor parameters (bemf, ktau etc) useful for torque control.
virtual yarp::dev::ReturnValue getTorqueRanges(double *min, double *max)=0
Get the full scale of the torque sensors of all joints.
virtual yarp::dev::ReturnValue getTorqueRange(int j, double *min, double *max)=0
Get the full scale of the torque sensor of a given joint.
virtual yarp::dev::ReturnValue setMotorTorqueParams(int j, const yarp::dev::MotorTorqueParameters params)=0
Set a subset of motor parameters (bemf, ktau etc) useful for torque control.
virtual yarp::dev::ReturnValue getRefTorque(int j, double *t)=0
Get the reference value of the torque for a given joint.
virtual yarp::dev::ReturnValue setRefTorque(int j, double t)=0
Set the reference value of the torque for a given joint.
virtual yarp::dev::ReturnValue setRefTorques(const double *t)=0
Set the reference value of the torque for all joints.
virtual yarp::dev::ReturnValue getRefTorques(double *t)=0
Get the reference value of the torque for all joints.
virtual yarp::dev::ReturnValue getTargetVelocities(double *vels)=0
Get the last reference speed set by velocityMove for all joints.
virtual yarp::dev::ReturnValue getTargetVelocity(const int joint, double *vel)=0
Get the last reference speed set by velocityMove for single joint.
virtual yarp::dev::ReturnValue velocityMove(int j, double sp)=0
Start motion at a given speed, single joint.
virtual yarp::dev::ReturnValue getRefVelocity(const int jnt, double &vel)=0
Get the last reference velocity set by setRefVelocity() for a single joint.
virtual yarp::dev::ReturnValue setRefVelocity(int jnt, double vel)=0
Set the velocity of single joint.
Contains the parameters for a PID.
@ return_value_error_not_ready
Method failed due to invalid internal status/invalid request.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
SelectableControlModeEnum
An interface to the operating system, including Port based communication.
yarp::dev::IJointBrake * iJointBrake
yarp::dev::IRemoteCalibrator * iRemoteCalibrator
yarp::dev::IControlMode * iControlMode
yarp::dev::IJointFault * iJointFault
yarp::dev::IPidControl * iPidControl
yarp::dev::IAmplifierControl * iAmplifierControl
yarp::dev::ITorqueControl * iTorqueControl
yarp::dev::IPWMControl * iPWMControl
yarp::dev::IImpedanceControl * iImpedanceControl
yarp::dev::IVelocityDirect * iVelocityDirect
yarp::dev::IVelocityControl * iVelocityControl
yarp::dev::IInteractionMode * iInteractionMode
yarp::dev::IEncodersTimed * iEncodersTimed
yarp::dev::IRemoteVariables * iRemoteVariables
yarp::dev::IControlLimits * iControlLimits
yarp::dev::IAxisInfo * iAxisInfo
yarp::dev::IPositionDirect * iPositionDirect
yarp::dev::ICurrentControl * iCurrentControl
yarp::dev::IPreciselyTimed * iPreciselyTimed
yarp::dev::IMotorEncoders * iMotorEncoders
yarp::dev::IControlCalibration * iControlCalibration
yarp::dev::IMotor * iMotor
yarp::dev::IPositionControl * iPositionControl