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;
63 yarp::dev::ReturnValue setControlModeAllRPC(const std::vector<yarp::dev::SelectableControlModeEnum>& modes) override;
64 yarp::dev::ReturnValue setControlModeGroupRPC(const std::vector<std::int32_t>& j, const std::vector<yarp::dev::SelectableControlModeEnum>& modes) override;
65
66 //IJointBrake
67 return_isJointBraked isJointBrakedRPC(const std::int32_t j) const override;
68 yarp::dev::ReturnValue setManualBrakeActiveRPC(const std::int32_t j, const bool active) override;
69 yarp::dev::ReturnValue setAutoBrakeEnabledRPC(const std::int32_t j, const bool enabled) override;
70 return_getAutoBrakeEnabled getAutoBrakeEnabledRPC(const std::int32_t j) const override;
71
72 // IVelocityDirect
73 return_getAxes getAxesRPC() const override;
74 return_getRefVelocityOne getRefVelocityOneRPC(const std::int32_t j) const override;
76 return_getRefVelocityGroup getRefVelocityGroupRPC(const std::vector<std::int32_t>& jnts) const override;
77 yarp::dev::ReturnValue setRefVelocityOneRPC(const std::int32_t j, const double vel) override;
78 yarp::dev::ReturnValue setRefVelocityAllRPC(const std::vector<double>& vel) override;
79 yarp::dev::ReturnValue setRefVelocityGroupRPC(const std::vector<std::int32_t>& j, const std::vector<double>& vel) override;
80
81 // IPidControl
82 return_getAvailablePids getAvailablePidsRPC(const std::int16_t j) const override;
83 yarp::dev::ReturnValue enablePidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override;
84 yarp::dev::ReturnValue disablePidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override;
85 yarp::dev::ReturnValue resetPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) override;
86 return_isPidEnabled isPidEnabledRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
87 yarp::dev::ReturnValue setPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const yarp::dev::Pid& pid) override;
88 yarp::dev::ReturnValue setPidsRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector<yarp::dev::Pid>& pids) override;
89 return_getPid getPidRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
90 return_getPids getPidsRPC(const yarp::dev::PidControlTypeEnum pidtype) const override;
91 return_getPidExtraInfo getPidExtraInfoRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
93 return_getPidOffset getPidOffsetRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
94 return_getPidFeedforward getPidFeedforwardRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
95 yarp::dev::ReturnValue setPidOffsetOneRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double value) override;
96 yarp::dev::ReturnValue setPidFeedforwardOneRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double value) override;
97 yarp::dev::ReturnValue setPidReferenceRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double ref) override;
98 yarp::dev::ReturnValue setPidReferencesRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector<double>& refs)override;
99 yarp::dev::ReturnValue setPidErrorLimitRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j, const double limit)override;
100 yarp::dev::ReturnValue setPidErrorLimitsRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::vector<double>& limits)override;
101 return_getPidError getPidErrorRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
103 return_getPidReference getPidReferenceRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
105 return_getPidErrorLimit getPidErrorLimitRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
107 return_getPidOutput getPidOutputRPC(const yarp::dev::PidControlTypeEnum pidtype, const std::int16_t j) const override;
109
110 // ILimits
111 yarp::dev::ReturnValue setPosLimitsRPC(const std::int16_t j, const double min, const double max) override;
112 yarp::dev::ReturnValue setVelLimitsRPC(const std::int16_t j, const double min, const double max) override;
113 return_getPosLimits getPosLimitsRPC(const std::int16_t j) const override;
114 return_getVelLimits getVelLimitsRPC(const std::int16_t j) const override;
115
116 //IImpedance
117 return_getImpedance getImpedanceRPC(const std::int32_t j) const override;
118 yarp::dev::ReturnValue setImpedanceRPC(const std::int32_t j, const double stiffness, const double damping) override;
119 yarp::dev::ReturnValue setImpedanceOffsetRPC(const std::int32_t j, const double offset) override;
120 return_getImpedanceOffset getImpedanceOffsetRPC(const std::int32_t j) const override;
121 return_getCurrentImpedanceLimit getCurrentImpedanceLimitRPC(const std::int32_t j) const override;
122
123 //IJointFault
124 return_getLastJointFault getLastJointFaultRPC(const std::int32_t j) const override;
125
126 //IRemoteVariable
127 return_getRemoteVariable getRemoteVariableRPC(const std::string& key) const override;
128 yarp::dev::ReturnValue setRemoteVariableRPC(const std::string& key, const yarp::os::Bottle& val) override;
130
131 //IInteractionMode
132 return_getInteractionModeOne getInteractionModeOneRPC(const std::int32_t axis) const override;
133 return_getInteractionModeGroup getInteractionModesGroupRPC(const std::vector<std::int32_t>& joints) const override;
135 yarp::dev::ReturnValue setInteractionModeOneRPC(const std::int32_t axis, const yarp::dev::InteractionModeEnum mode) override;
136 yarp::dev::ReturnValue setInteractionModesGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<yarp::dev::InteractionModeEnum>& modes) override;
137 yarp::dev::ReturnValue setInteractionModesAllRPC(const std::vector<yarp::dev::InteractionModeEnum>& modes) override;
138
139 //ICurrent
141 return_getRefCurrentOne getRefCurrentOneRPC(const std::int32_t j) const override;
142 yarp::dev::ReturnValue setRefCurrentAllRPC(const std::vector<double>& refs) override;
143 yarp::dev::ReturnValue setRefCurrentOneRPC(const std::int32_t j, const double ref) override;
144 yarp::dev::ReturnValue setRefCurrentGroupRPC(const std::vector<std::int32_t>& j, const std::vector<double>& refs) override;
145 return_getCurrentAll getCurrentAllRPC() const override;
146 return_getCurrentOne getCurrentOneRPC(const std::int32_t j) const override;
147 return_getCurrentRangeOne getCurrentRangeOneRPC(const std::int32_t j) const override;
149
150 //IPWMControl
151 yarp::dev::ReturnValue setRefDutyCycleOneRPC(const std::int32_t j, const double v) override;
152 yarp::dev::ReturnValue setRefDutyCycleAllRPC(const std::vector<double>& v) override;
153 return_getRefDutyCycleOne getRefDutyCycleOneRPC(const std::int32_t j) const override;
155 return_getDutyCycleOne getDutyCycleOneRPC(const std::int32_t j) const override;
157
158 //IEncoders
159 yarp::dev::ReturnValue resetEncoderOneRPC(const std::int32_t j) override;
161 yarp::dev::ReturnValue setEncoderOneRPC(const std::int32_t j, const double val) override;
162 yarp::dev::ReturnValue setEncoderAllRPC(const std::vector<double>& vals) override;
163 return_getEncoderOne getEncoderOneRPC(const std::int32_t j) const override;
164 return_getEncoderTimedOne getEncoderTimedOneRPC(const std::int32_t j) const override;
165 return_getEncoderAll getEncoderAllRPC() const override;
167 return_getEncoderSpeedOne getEncoderSpeedOneRPC(const std::int32_t j) const override;
169 return_getEncoderAccelerationOne getEncoderAccelerationOneRPC(const std::int32_t j) const override;
171
172 //IMotorEncoders
173 yarp::dev::ReturnValue resetMotorEncoderRPC(const std::int32_t j) override;
175 yarp::dev::ReturnValue setMotorEncoderRPC(const std::int32_t j, const double val) override;
176 yarp::dev::ReturnValue setMotorEncoderCountsPerRevolutionRPC(const std::int32_t j, const double val) override;
178 yarp::dev::ReturnValue setMotorEncodersAllRPC(const std::vector<double>& vals) override;
179 return_getMotorEncoderOne getMotorEncoderOneRPC(const std::int32_t j) const override;
181 return_getMotorEncoderTimedOne getMotorEncoderTimedOneRPC(const std::int32_t j) const override;
183 return_getMotorEncoderSpeedOne getMotorEncoderSpeedOneRPC(const std::int32_t j) const override;
188
189 //ICalibration
191 yarp::dev::ReturnValue calibrateSingleJointRPC(const std::int32_t j) override;
193 yarp::dev::ReturnValue homingSingleJointRPC(const std::int32_t j) override;
195 yarp::dev::ReturnValue parkSingleJointRPC(const std::int32_t j, const bool wait) override;
199
200 // IPositionDirect
201 yarp::dev::ReturnValue setRefPositionOneRPC(const std::int32_t j, double ref) override;
202 yarp::dev::ReturnValue setRefPositionGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& refs) override;
203 yarp::dev::ReturnValue setRefPositionAllRPC(const std::vector<double>& refs) override;
204 return_getRefPositionOne getRefPositionOneRPC(const std::int32_t j) const override;
206 return_getRefPositionGroup getRefPositionGroupRPC(const std::vector<std::int32_t>& j) const override;
207
208 //ITorque
209 yarp::dev::ReturnValue setRefTorqueOneRPC(const std::int32_t j, const double vel) override;
210 yarp::dev::ReturnValue setRefTorqueAllRPC(const std::vector<double>& vel) override;
211 yarp::dev::ReturnValue setRefTorqueGroupRPC(const std::vector<std::int32_t>& j, const std::vector<double>& vel) override;
212 return_getRefTorqueOne getRefTorqueOneRPC(const std::int32_t j) const override;
214 return_getRefTorqueGroup getRefTorqueGroupRPC(const std::vector<std::int32_t>& j) const override;
215 return_getTorqueRangeOne getTorqueRangeOneRPC(const std::int32_t j) const override;
217
218 //IAxis
219 return_getAxisName getAxisNameRPC(const std::int32_t j) override;
220 return_getJointType getJointTypeRPC(const std::int32_t j) override;
221
222 //ICalibration
226 yarp::dev::ReturnValue parkRPC(const bool wait) override;
227 yarp::dev::ReturnValue calibrateAxisWithParamsRPC(const std::int32_t j, const std::int32_t ui, const double v1, const double v2, const double v3) override;
228 yarp::dev::ReturnValue setCalibrationParametersRPC(const std::int32_t j, const yCalibrationParameters& params) override;
229 yarp::dev::ReturnValue calibrationDoneRPC(const std::int32_t j) override;
230
231 //IMotor
233 return_getTemperatureOne getTemperatureOneRPC(const std::int32_t m) const override;
235 return_getTemperatureLimit getTemperatureLimitRPC(const std::int32_t m) const override;
236 yarp::dev::ReturnValue setTemperatureLimitRPC(const std::int32_t m, const double val) override;
237 return_getGearboxRatio getGearboxRatioRPC(const std::int32_t m) const override;
238 yarp::dev::ReturnValue setGearboxRatioRPC(const std::int32_t m, const double val) override;
239
240 // IPositionControl
241 yarp::dev::ReturnValue positionMoveOneRPC(const std::int32_t j, const double ref) override;
242 yarp::dev::ReturnValue positionMoveGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& refs) override;
243 yarp::dev::ReturnValue positionMoveAllRPC(const std::vector<double>& refs) override;
244 yarp::dev::ReturnValue relativeMoveOneRPC(const std::int32_t j, const double delta) override;
245 yarp::dev::ReturnValue relativeMoveGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& refs) override;
246 yarp::dev::ReturnValue relativeMoveAllRPC(const std::vector<double>& deltas) override;
247 yarp::dev::ReturnValue setTrajSpeedOneRPC(const std::int32_t j, const double sp) override;
248 yarp::dev::ReturnValue setTrajSpeedGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& spds) override;
249 yarp::dev::ReturnValue setTrajSpeedAllRPC(const std::vector<double>& spds) override;
250 yarp::dev::ReturnValue setTrajAccelerationOneRPC(const std::int32_t j, const double acc) override;
251 yarp::dev::ReturnValue setTrajAccelerationsGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& accs) override;
252 yarp::dev::ReturnValue setTrajAccelerationsAllRPC(const std::vector<double>& accs) override;
253 yarp::dev::ReturnValue stopOneRPC(const std::int32_t j) override;
254 yarp::dev::ReturnValue stopGroupRPC(const std::vector<std::int32_t>& joints) override;
256
257 return_getTargetPositionOne getTargetPositionOneRPC(const std::int32_t j) const override;
258 return_getTargetPositionGroup getTargetPositionGroupRPC(const std::vector<std::int32_t>& joints) const override;
260 return_getTrajSpeedOne getTrajSpeedOneRPC(const std::int32_t j) const override;
261 return_getTrajSpeedsGroup getTrajSpeedsGroupRPC(const std::vector<std::int32_t>& joints) const override;
263 return_getTrajAccelerationOne getTrajAccelerationOneRPC(const std::int32_t j) const override;
264 return_getTrajAccelerationGroup getTrajAccelerationGroupRPC(const std::vector<std::int32_t>& joints) const override;
266
267 return_checkMotionDoneOne checkMotionDoneOneRPC(const std::int32_t j) const override;
268 return_checkMotionDoneGroup checkMotionDoneGroupRPC(const std::vector<std::int32_t>& joints) const override;
270
271 // IVelocityControl
272 return_getTargetVelocityOne getTargetVelocityOneRPC(const std::int32_t j) const override;
273 return_getTargetVelocityGroup getTargetVelocityGroupRPC(const std::vector<std::int32_t>& joints) const override;
275 yarp::dev::ReturnValue velocityMoveOneRPC(const std::int32_t j, double ref) override;
276 yarp::dev::ReturnValue velocityMoveGroupRPC(const std::vector<std::int32_t>& joints, const std::vector<double>& refs) override;
277 yarp::dev::ReturnValue velocityMoveAllRPC(const std::vector<double>& refs) override;
278
279 // ??
280 yarp::dev::ReturnValue setMotorTorqueParamsRPC(const std::int32_t j, const yMotorTorqueParameters& params) override;
281 return_getMotorTorqueParams getMotorTorqueParamsRPC(const std::int32_t j) override;
282
283 //IAmplifierControl
284 yarp::dev::ReturnValue enableAmpRPC(const std::int32_t j) override;
285 yarp::dev::ReturnValue disableAmpRPC(const std::int32_t j) override;
287 return_getAmpStatusOne getAmpStatusOneRPC(const std::int32_t j) const override;
288 yarp::dev::ReturnValue setMaxCurrentRPC(const std::int32_t j, const double v) override;
289 return_getMaxCurrent getMaxCurrentRPC(const std::int32_t j) const override;
290 return_getNominalCurrent getNominalCurrentRPC(const std::int32_t m) const override;
291 yarp::dev::ReturnValue setNominalCurrentRPC(const std::int32_t m, const double val) override;
292 return_getPeakCurrent getPeakCurrentRPC(const std::int32_t m) const override;
293 yarp::dev::ReturnValue setPeakCurrentRPC(const std::int32_t m, const double val) override;
294 return_getPWM getPWMRPC(const std::int32_t m) const override;
295 return_getPWMLimit getPWMLimitRPC(const std::int32_t m) const override;
296 yarp::dev::ReturnValue setPWMLimitRPC(const std::int32_t m, const double val) override;
297 return_getPowerSupplyVoltage getPowerSupplyVoltageRPC(const std::int32_t m) const override;
298
299 std::mutex* getMutex() {return &m_mutex;}
300};
301
302#endif // YARP_DEV_CONTROLBOARDSERVERIMPL_H
define control board standard interfaces
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
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_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 &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:65
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