YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ControlBoardServerImpl.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025-2025 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6#ifndef YARP_DEV_CONTROLBOARDSERVERIMPL_H
7#define YARP_DEV_CONTROLBOARDSERVERIMPL_H
8
9#include <mutex>
10
11#include "ControlBoardMsgs.h"
14
41
43{
44 private:
45 mutable std::mutex m_mutex;
46 size_t m_njoints = 0;
47 AllInterfacesStruct m_allInterfaces;
48
49 public:
50 ControlBoardRPCd(size_t njoints,
51 AllInterfacesStruct interfaces)
52 {
53 m_njoints = njoints;
54 m_allInterfaces = interfaces;
55 }
56
57 //get CapabilitiesS
59
60 //IControlMode
61 return_getAvailableControlModes getAvailableControlModesRPC(const std::int16_t j) const override;
62 return_getControlModeOne getControlModeOneRPC(const std::int32_t j) const override;
64 return_getControlModeGroup getControlModeGroupRPC(const std::vector<std::int32_t>& j) const override;
66 yarp::dev::ReturnValue setControlModeAllRPC(const std::vector<yarp::dev::SelectableControlModeEnum>& modes) override;
67 yarp::dev::ReturnValue setControlModeGroupRPC(const std::vector<std::int32_t>& j, const std::vector<yarp::dev::SelectableControlModeEnum>& modes) override;
68
69 //IJointBrake
70 return_isJointBraked isJointBrakedRPC(const std::int32_t j) const override;
71 yarp::dev::ReturnValue setManualBrakeActiveRPC(const std::int32_t j, const bool active) override;
72 yarp::dev::ReturnValue setAutoBrakeEnabledRPC(const std::int32_t j, const bool enabled) override;
73 return_getAutoBrakeEnabled getAutoBrakeEnabledRPC(const std::int32_t j) const override;
74
75 // IVelocityDirect
76 return_getAxes getAxesRPC() const override;
77 return_getRefVelocityOne getRefVelocityOneRPC(const std::int32_t j) const override;
79 return_getRefVelocityGroup getRefVelocityGroupRPC(const std::vector<std::int32_t>& jnts) const override;
80 yarp::dev::ReturnValue setRefVelocityOneRPC(const std::int32_t j, const double vel) override;
81 yarp::dev::ReturnValue setRefVelocityAllRPC(const std::vector<double>& vel) override;
82 yarp::dev::ReturnValue setRefVelocityGroupRPC(const std::vector<std::int32_t>& j, const std::vector<double>& vel) override;
83
84 // IPidControl
85 return_getAvailablePids getAvailablePidsRPC(const std::int16_t j) const override;
86 yarp::dev::ReturnValue enablePidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override;
87 yarp::dev::ReturnValue disablePidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override;
88 yarp::dev::ReturnValue resetPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override;
89 return_isPidEnabled isPidEnabledRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
90 yarp::dev::ReturnValue setPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const yarp::dev::Pid& pid) override;
91 yarp::dev::ReturnValue setPidsRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector<yarp::dev::Pid>& pids) override;
92 return_getPid getPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
93 return_getPids getPidsRPC(const yarp::dev::PidControlTypeEnum pidtype) const override;
94 return_getPidExtraInfo getPidExtraInfoRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
96 return_getPidOffset getPidOffsetRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
97 return_getPidFeedforward getPidFeedforwardRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
98 yarp::dev::ReturnValue setPidOffsetOneRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double value) override;
99 yarp::dev::ReturnValue setPidFeedforwardOneRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double value) override;
100 yarp::dev::ReturnValue setPidReferenceRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double ref) override;
101 yarp::dev::ReturnValue setPidReferencesRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector<double>& refs)override;
102 yarp::dev::ReturnValue setPidErrorLimitRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double limit)override;
103 yarp::dev::ReturnValue setPidErrorLimitsRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector<double>& limits)override;
104 return_getPidError getPidErrorRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
106 return_getPidReference getPidReferenceRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
108 return_getPidErrorLimit getPidErrorLimitRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
110 return_getPidOutput getPidOutputRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
112
113 // ILimits
114 yarp::dev::ReturnValue setPosLimitsRPC(const std::int16_t j, const double min, const double max) override;
115 yarp::dev::ReturnValue setVelLimitsRPC(const std::int16_t j, const double min, const double max) override;
116 return_getPosLimits getPosLimitsRPC(const std::int16_t j) const override;
117 return_getVelLimits getVelLimitsRPC(const std::int16_t j) const override;
118
119 //IImpedance
120 return_getImpedance getImpedanceRPC(const std::int32_t j) const override;
121 yarp::dev::ReturnValue setImpedanceRPC(const std::int32_t j, const double stiffness, const double damping) override;
122 yarp::dev::ReturnValue setImpedanceOffsetRPC(const std::int32_t j, const double offset) override;
123 return_getImpedanceOffset getImpedanceOffsetRPC(const std::int32_t j) const override;
124 return_getCurrentImpedanceLimit getCurrentImpedanceLimitRPC(const std::int32_t j) const override;
125
126 //IJointFault
127 return_getLastJointFault getLastJointFaultRPC(const std::int32_t j) const override;
128
129 //IRemoteVariable
130 return_getRemoteVariable getRemoteVariableRPC(const std::string& key) const override;
131 yarp::dev::ReturnValue setRemoteVariableRPC(const std::string& key, const yarp::os::Bottle& val) override;
133
134 //IInteractionMode
135 return_getInteractionModeOne getInteractionModeOneRPC(const std::int32_t axis) const override;
136 return_getInteractionModeGroup getInteractionModesGroupRPC(const std::vector<std::int32_t>& joints) const override;
139 yarp::dev::ReturnValue setInteractionModesGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<yarp::dev::InteractionModeEnum>& modes) override;
140 yarp::dev::ReturnValue setInteractionModesAllRPC(const std::vector<yarp::dev::InteractionModeEnum>& modes) override;
141
142 //ICurrent
144 return_getRefCurrentOne getRefCurrentOneRPC(const std::int32_t j) const override;
145 yarp::dev::ReturnValue setRefCurrentAllRPC(const std::vector<double>& refs) override;
146 yarp::dev::ReturnValue setRefCurrentOneRPC(const std::int32_t j, const double ref) override;
147 yarp::dev::ReturnValue setRefCurrentGroupRPC(const std::vector<std::int32_t>& j, const std::vector<double>& refs) override;
148 return_getCurrentAll getCurrentAllRPC() const override;
149 return_getCurrentOne getCurrentOneRPC(const std::int32_t j) const override;
150 return_getCurrentRangeOne getCurrentRangeOneRPC(const std::int32_t j) const override;
152
153 //IPWMControl
154 yarp::dev::ReturnValue setRefDutyCycleOneRPC(const std::int32_t j, const double v) override;
155 yarp::dev::ReturnValue setRefDutyCycleAllRPC(const std::vector<double>& v) override;
156 return_getRefDutyCycleOne getRefDutyCycleOneRPC(const std::int32_t j) const override;
158 return_getDutyCycleOne getDutyCycleOneRPC(const std::int32_t j) const override;
160
161 //IEncoders
162 yarp::dev::ReturnValue resetEncoderOneRPC(const std::int32_t j) override;
164 yarp::dev::ReturnValue setEncoderOneRPC(const std::int32_t j, const double val) override;
165 yarp::dev::ReturnValue setEncoderAllRPC(const std::vector<double>& vals) override;
166 return_getEncoderOne getEncoderOneRPC(const std::int32_t j) const override;
167 return_getEncoderTimedOne getEncoderTimedOneRPC(const std::int32_t j) const override;
168 return_getEncoderAll getEncoderAllRPC() const override;
170 return_getEncoderSpeedOne getEncoderSpeedOneRPC(const std::int32_t j) const override;
172 return_getEncoderAccelerationOne getEncoderAccelerationOneRPC(const std::int32_t j) const override;
174
175 //IMotorEncoders
176 yarp::dev::ReturnValue resetMotorEncoderRPC(const std::int32_t j) override;
178 yarp::dev::ReturnValue setMotorEncoderRPC(const std::int32_t j, const double val) override;
179 yarp::dev::ReturnValue setMotorEncoderCountsPerRevolutionRPC(const std::int32_t j, const double val) override;
181 yarp::dev::ReturnValue setMotorEncodersAllRPC(const std::vector<double>& vals) override;
182 return_getMotorEncoderOne getMotorEncoderOneRPC(const std::int32_t j) const override;
184 return_getMotorEncoderTimedOne getMotorEncoderTimedOneRPC(const std::int32_t j) const override;
186 return_getMotorEncoderSpeedOne getMotorEncoderSpeedOneRPC(const std::int32_t j) const override;
191
192 //ICalibration
194 yarp::dev::ReturnValue calibrateSingleJointRPC(const std::int32_t j) override;
196 yarp::dev::ReturnValue homingSingleJointRPC(const std::int32_t j) override;
198 yarp::dev::ReturnValue parkSingleJointRPC(const std::int32_t j, const bool wait) override;
202
203 // IPositionDirect
204 yarp::dev::ReturnValue setRefPositionOneRPC(const std::int32_t j, double ref) override;
205 yarp::dev::ReturnValue setRefPositionGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& refs) override;
206 yarp::dev::ReturnValue setRefPositionAllRPC(const std::vector<double>& refs) override;
207 return_getRefPositionOne getRefPositionOneRPC(const std::int32_t j) const override;
209 return_getRefPositionGroup getRefPositionGroupRPC(const std::vector<std::int32_t>& j) const override;
210
211 //ITorque
212 yarp::dev::ReturnValue setRefTorqueOneRPC(const std::int32_t j, const double vel) override;
213 yarp::dev::ReturnValue setRefTorqueAllRPC(const std::vector<double>& vel) override;
214 yarp::dev::ReturnValue setRefTorqueGroupRPC(const std::vector<std::int32_t>& j, const std::vector<double>& vel) override;
215 return_getRefTorqueOne getRefTorqueOneRPC(const std::int32_t j) const override;
217 return_getRefTorqueGroup getRefTorqueGroupRPC(const std::vector<std::int32_t>& j) const override;
218 return_getTorqueRangeOne getTorqueRangeOneRPC(const std::int32_t j) const override;
220
221 //IAxis
222 return_getAxisName getAxisNameRPC(const std::int32_t j) override;
223 return_getJointType getJointTypeRPC(const std::int32_t j) override;
224
225 //ICalibration
229 yarp::dev::ReturnValue parkRPC(const bool wait) override;
230 yarp::dev::ReturnValue calibrateAxisWithParamsRPC(const std::int32_t j, const std::int32_t ui, const double v1, const double v2, const double v3) override;
231 yarp::dev::ReturnValue setCalibrationParametersRPC(const std::int32_t j, const yCalibrationParameters& params) override;
232 yarp::dev::ReturnValue calibrationDoneRPC(const std::int32_t j) override;
233
234 //IMotor
236 return_getTemperatureOne getTemperatureOneRPC(const std::int32_t m) const override;
238 return_getTemperatureLimit getTemperatureLimitRPC(const std::int32_t m) const override;
239 yarp::dev::ReturnValue setTemperatureLimitRPC(const std::int32_t m, const double val) override;
240 return_getGearboxRatio getGearboxRatioRPC(const std::int32_t m) const override;
241 yarp::dev::ReturnValue setGearboxRatioRPC(const std::int32_t m, const double val) override;
242
243 // IPositionControl
244 yarp::dev::ReturnValue positionMoveOneRPC(const std::int32_t j, const double ref) override;
245 yarp::dev::ReturnValue positionMoveGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& refs) override;
246 yarp::dev::ReturnValue positionMoveAllRPC(const std::vector<double>& refs) override;
247 yarp::dev::ReturnValue relativeMoveOneRPC(const std::int32_t j, const double delta) override;
248 yarp::dev::ReturnValue relativeMoveGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& refs) override;
249 yarp::dev::ReturnValue relativeMoveAllRPC(const std::vector<double>& deltas) override;
250 yarp::dev::ReturnValue setTrajSpeedOneRPC(const std::int32_t j, const double sp) override;
251 yarp::dev::ReturnValue setTrajSpeedGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& spds) override;
252 yarp::dev::ReturnValue setTrajSpeedAllRPC(const std::vector<double>& spds) override;
253 yarp::dev::ReturnValue setTrajAccelerationOneRPC(const std::int32_t j, const double acc) override;
254 yarp::dev::ReturnValue setTrajAccelerationsGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& accs) override;
255 yarp::dev::ReturnValue setTrajAccelerationsAllRPC(const std::vector<double>& accs) override;
256 yarp::dev::ReturnValue stopOneRPC(const std::int32_t j) override;
257 yarp::dev::ReturnValue stopGroupRPC(const std::vector<std::int32_t>& joints) override;
259
260 return_getTargetPositionOne getTargetPositionOneRPC(const std::int32_t j) const override;
261 return_getTargetPositionGroup getTargetPositionGroupRPC(const std::vector<std::int32_t>& joints) const override;
263 return_getTrajSpeedOne getTrajSpeedOneRPC(const std::int32_t j) const override;
264 return_getTrajSpeedsGroup getTrajSpeedsGroupRPC(const std::vector<std::int32_t>& joints) const override;
266 return_getTrajAccelerationOne getTrajAccelerationOneRPC(const std::int32_t j) const override;
267 return_getTrajAccelerationGroup getTrajAccelerationGroupRPC(const std::vector<std::int32_t>& joints) const override;
269
270 return_checkMotionDoneOne checkMotionDoneOneRPC(const std::int32_t j) const override;
271 return_checkMotionDoneGroup checkMotionDoneGroupRPC(const std::vector<std::int32_t>& joints) const override;
273
274 // IVelocityControl
275 return_getTargetVelocityOne getTargetVelocityOneRPC(const std::int32_t j) const override;
276 return_getTargetVelocityGroup getTargetVelocityGroupRPC(const std::vector<std::int32_t>& joints) const override;
278 yarp::dev::ReturnValue velocityMoveOneRPC(const std::int32_t j, double ref) override;
279 yarp::dev::ReturnValue velocityMoveGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& refs) override;
280 yarp::dev::ReturnValue velocityMoveAllRPC(const std::vector<double>& refs) override;
281
282 // ??
283 yarp::dev::ReturnValue setMotorTorqueParamsRPC(const std::int32_t j, const yMotorTorqueParameters& params) override;
284 return_getMotorTorqueParams getMotorTorqueParamsRPC(const std::int32_t j) override;
285
286 //IAmplifierControl
287 yarp::dev::ReturnValue enableAmpRPC(const std::int32_t j) override;
288 yarp::dev::ReturnValue disableAmpRPC(const std::int32_t j) override;
290 return_getAmpStatusOne getAmpStatusOneRPC(const std::int32_t j) const override;
291 yarp::dev::ReturnValue setMaxCurrentRPC(const std::int32_t j, const double v) override;
292 return_getMaxCurrent getMaxCurrentRPC(const std::int32_t j) const override;
293 return_getNominalCurrent getNominalCurrentRPC(const std::int32_t m) const override;
294 yarp::dev::ReturnValue setNominalCurrentRPC(const std::int32_t m, const double val) override;
295 return_getPeakCurrent getPeakCurrentRPC(const std::int32_t m) const override;
296 yarp::dev::ReturnValue setPeakCurrentRPC(const std::int32_t m, const double val) override;
297 return_getPWM getPWMRPC(const std::int32_t m) const override;
298 return_getPWMLimit getPWMLimitRPC(const std::int32_t m) const override;
299 yarp::dev::ReturnValue setPWMLimitRPC(const std::int32_t m, const double val) override;
300 return_getPowerSupplyVoltage getPowerSupplyVoltageRPC(const std::int32_t m) const override;
301
302 std::mutex* getMutex() {return &m_mutex;}
303};
304
305#endif // YARP_DEV_CONTROLBOARDSERVERIMPL_H
define control board standard interfaces
FeatureMode mode
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
return_getControlModeGroup getControlModeGroupRPC(const std::vector< 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
ControlBoardRPCd(size_t njoints, AllInterfacesStruct interfaces)
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 &params) 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_getControlModeOne getControlModeOneRPC(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_getControlModeAll getControlModeAllRPC() const override
return_isJointBraked isJointBrakedRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setCalibrationParametersRPC(const std::int32_t j, const yCalibrationParameters &params) 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
Interface for control devices, amplifier commands.
Interface for getting information about specific axes, if available.
Definition IAxisInfo.h:37
Interface for control devices, calibration commands.
Interface for control devices, commands to get/set position and velocity limits.
Interface for setting control mode in control board.
Interface for control boards implementing current control.
Control board, extend encoder interface with timestamps.
Interface for control boards implementing impedance control.
Interface settings the way the robot interacts with the environment: basic interaction types are Stif...
Interface for controlling a joint equipped with brakes (hardware or simulated).
Definition IJointBrake.h:23
Interface for getting info about the fault which may occur on a robot.
Definition IJointFault.h:24
Control board, encoder interface.
Control board, encoder interface.
Definition IMotor.h:95
Interface for controlling an axis, by sending directly a PWM reference signal to a motor.
Definition IPWMControl.h:24
Interface for a generic control board device implementing a PID controller, with scaled arguments.
Interface for a generic control board device implementing position control.
Interface for a generic control board device implementing position control.
IRemoteCalibrator interface is meant to remotize the access of the calibration device in order to all...
IRemoteVariables interface.
Interface for control boards implementing torque control.
Interface for control boards implementing velocity control.
Interface for control boards implementing direct velocity control.
Contains the parameters for a PID.
A simple collection of objects that can be described and transmitted in a portable way.
Definition Bottle.h:64
SelectableControlModeEnum
PidControlTypeEnum
Definition PidEnums.h:15
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