KeypointsImpedanceController.cpp
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @package ...
17  * @author Jianfeng Gao ( jianfeng dot gao at kit dot edu )
18  * @date 2021
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
24 
25 #include <VirtualRobot/MathTools.h>
26 
29 
31 #include <armarx/control/common/control_law/aron/KeypointControllerConfig.aron.generated.h>
33 
34 
36 {
37  NJointControllerRegistration<NJointKeypointsImpedanceController>
39  "NJointKeypointsImpedanceController");
40 
42  const RobotUnitPtr& robotUnit,
43  const NJointControllerConfigPtr& config,
45  {
46  ConfigPtrT cfg = ConfigPtrT::dynamicCast(config);
47 
50  {
51  auto configData = ::armarx::fromAronDict<AronDTO, BO>(cfg->config);
52 
53  kinematicChainName = configData.nodeSetName;
55  validateConfigData(configData);
56 
59  bufferUserToRt.reinitAllBuffers(configData);
60  }
61 
63  VirtualRobot::RobotNodeSetPtr rtRns = rtGetRobot()->getRobotNodeSet(kinematicChainName);
64 
65  nonRtRobot = robotUnit->cloneRobot();
66  VirtualRobot::RobotNodeSetPtr nonRtRns = nonRtRobot->getRobotNodeSet(kinematicChainName);
67  robotUnit->updateVirtualRobot(nonRtRobot);
68 
71 
72  controller.initialize(nonRtRns);
73 
74  jointNames.clear();
75  for (size_t i = 0; i < rtRns->getSize(); ++i)
76  {
77  std::string jointName = rtRns->getNode(i)->getName();
78  jointNames.push_back(jointName);
79  ControlTargetBase* ct = useControlTarget(jointName, ControlModes::Torque1DoF);
81  const SensorValueBase* sv = useSensorValue(jointName);
83  auto casted_ct = ct->asA<ControlTarget1DoFActuatorTorque>();
84  ARMARX_CHECK_EXPRESSION(casted_ct);
85  targets.push_back(casted_ct);
86 
87  const SensorValue1DoFActuatorTorque* torqueSensor = sv->asA<SensorValue1DoFActuatorTorque>();
88  const SensorValue1DoFActuatorVelocity* velocitySensor = sv->asA<SensorValue1DoFActuatorVelocity>();
89  const SensorValue1DoFActuatorPosition* positionSensor = sv->asA<SensorValue1DoFActuatorPosition>();
90  if (!torqueSensor)
91  {
92  ARMARX_WARNING << "No Torque sensor available for " << jointName;
93  }
94  if (!velocitySensor)
95  {
96  ARMARX_WARNING << "No velocity sensor available for " << jointName;
97  }
98  if (!positionSensor)
99  {
100  ARMARX_WARNING << "No position sensor available for " << jointName;
101  }
102 
103  sensorDevices.torqueSensors.push_back(torqueSensor);
104  sensorDevices.velocitySensors.push_back(velocitySensor);
105  sensorDevices.positionSensors.push_back(positionSensor);
106  };
107 
108  controlTargets.targets.resize(rtRns->getSize(), 0.);
109  }
110 
111  std::string
113  {
114  return "NJointKeypointsImpedanceController";
115  }
116 
117  //std::string NJointKeypointsImpedanceController::getKinematicChainName(const Ice::Current &)
118  //{
119  // return kinematicChainName;
120  //}
121 
122  void
124  {
125  runTask("NJointTaskspaceAdmittanceAdditionalTask",
126  [&]
127  {
128  CycleUtil c(1);
129  getObjectScheduler()->waitForObjectStateMinimum(eManagedIceObjectStarted);
130  ARMARX_IMPORTANT << "Create a new thread alone NJointKeypointsImpedanceController";
131  while (getState() == eManagedIceObjectStarted)
132  {
133  if (isControllerActive())
134  {
135  additionalTask();
136  }
137  c.waitForCycleDuration();
138  }
139  });
140  }
141 
142 
143  void
145  {
146  robotUnit->updateVirtualRobot(nonRtRobot);
147 
148  controller.updateControlStatus(
150  bufferRtToAdditionalTask.getUpToDateReadBuffer());
151  }
152 
153 
154  void
155  NJointKeypointsImpedanceController::rtRun(const IceUtil::Time& /*sensorValuesTimestamp*/, const IceUtil::Time& timeSinceLastIteration)
156  {
157  double deltaT = timeSinceLastIteration.toSecondsDouble();
158  auto& userConfig = bufferUserToRt.getUpToDateReadBuffer();
159 
160  if (rtFirstRun.load())
161  {
162  rtFirstRun.store(false);
163  rtReady.store(true);
164  controller.firstRun();
165  }
166 
167  auto& s = bufferRtToAdditionalTask.getWriteBuffer();
168  size_t nDoF = sensorDevices.positionSensors.size();
169  for (size_t i = 0; i < nDoF; ++i)
170  {
171  s.jointPosition[i] = sensorDevices.positionSensors[i]->position;
172  s.jointVelocity[i] = sensorDevices.velocitySensors[i]->velocity;
173  s.jointTorque[i] = sensorDevices.torqueSensors[i]->torque;
174  }
175  s.deltaT = deltaT;
176  bufferRtToAdditionalTask.commitWrite();
177 
178  controller.run(userConfig, controlTargets);
179 
180  for (unsigned int i = 0; i < controlTargets.targets.size(); i++)
181  {
182  targets.at(i)->torque = controlTargets.targets.at(i);
183  if (!targets.at(i)->isValid())
184  {
185  targets.at(i)->torque = 0;
186  }
187  }
188  }
189 
190  void
192  const Ice::Current& iceCurrent)
193  {
194  auto configData = ::armarx::fromAronDict<AronDTO, BO>(dto);
195 
196  validateConfigData(configData);
197 
200 
201  bufferUserToRt.getWriteBuffer() = configData;
203  }
204 
206  NJointKeypointsImpedanceController::getConfig(const Ice::Current& iceCurrent)
207  {
209  return armarx::toAronDict<AronDTO, BO>(configData);
210  }
211 
212  void
214  {
215  const auto nDoF = jointNames.size();
216 
217  const auto checkSize = [nDoF](const auto& v) { ARMARX_CHECK_EQUAL((unsigned)v.rows(), nDoF); };
218  const auto checkNonNegative = [](const auto& v) { ARMARX_CHECK((v.array() >= 0).all()); };
219 
220  if (!configData.desiredNullspaceJointAngles.has_value() and !isControllerActive())
221  {
222  ARMARX_INFO << "No user defined nullspace target, reset to zero with " << VAROUT(nDoF);
223  configData.desiredNullspaceJointAngles = Eigen::VectorXf::Zero(nDoF);
224  reInitPreActivate.store(true);
225  }
226  checkSize(configData.desiredNullspaceJointAngles.value());
227  checkSize(configData.kdNullspace);
228  checkSize(configData.kpNullspace);
229 
230  checkNonNegative(configData.kdNullspace);
231  checkNonNegative(configData.kpNullspace);
232  checkNonNegative(configData.kdImpedance);
233  checkNonNegative(configData.kpImpedance);
234 
235  ARMARX_CHECK_GREATER_EQUAL(configData.numPoints, 0);
236  ARMARX_CHECK_GREATER_EQUAL(configData.qvelFilter, 0);
237  ARMARX_CHECK_GREATER_EQUAL(configData.numPoints, 0);
238  ARMARX_CHECK_GREATER_EQUAL(configData.keypointPositionFilter, 0);
239  ARMARX_CHECK_GREATER_EQUAL(configData.keypointVelocityFilter, 0);
240 
241  ARMARX_CHECK_EQUAL(configData.keypointKp.size(), configData.numPoints * 3);
242  ARMARX_CHECK_EQUAL(configData.keypointKd.size(), configData.numPoints * 3);
243  ARMARX_CHECK_EQUAL(configData.fixedTranslation.size(), configData.numPoints * 3);
244  }
245 
246  void
248  {
249  StringVariantBaseMap datafields;
250 
251  auto nonRtData = controller.bufferNonRtToOnPublish.getUpToDateReadBuffer();
252  auto rtData = controller.bufferRtToOnPublish.getUpToDateReadBuffer();
254 
255  common::debugEigenVec(datafields, "kpImpedance", configData.kpImpedance);
256  common::debugEigenVec(datafields, "kdImpedance", configData.kdImpedance);
257 
258  common::debugEigenVec(datafields, "forceImpedance", rtData.forceImpedance);
259  common::debugEigenVec(datafields, "desiredJointTorques", rtData.desiredJointTorques);
260  common::debugEigenVec(datafields, "f_Impedance", rtData.forceImpedance);
261  common::debugEigenVec(datafields, "tau_d_joint", rtData.desiredJointTorques);
262 
263  common::debugEigenPose(datafields, "current_pose", nonRtData.currentPose);
264  common::debugEigenPose(datafields, "desired_pose", nonRtData.desiredPose);
265  common::debugEigenVec(datafields, "v_d", nonRtData.desiredVel);
266  common::debugEigenVec(datafields, "a_d", nonRtData.desiredAcc);
267  common::debugEigenVec(datafields, "f_density", nonRtData.desiredDensityForce);
268  common::debugEigenVec(datafields, "pointTrackingForce", nonRtData.pointTrackingForce);
269  common::debugEigenVec(datafields, "desiredKeypointPosition", nonRtData.desiredKeypointPosition);
270  common::debugEigenVec(datafields, "currentKeypointPosition", nonRtData.currentKeypointPosition);
271  common::debugEigenVec(datafields, "currentKeypointVelocity", nonRtData.currentKeypointVelocity);
272  common::debugEigenVec(datafields, "filteredKeypointPosition", nonRtData.filteredKeypointPosition);
273 
274  debugObs->setDebugChannel("NJointKeypointsImpedanceController", datafields);
275  }
276 
277 
278  void
280  {
281  VirtualRobot::RobotNodeSetPtr rns = rtGetRobot()->getRobotNodeSet(kinematicChainName);
282  Eigen::Matrix4f currentPose = rns->getTCP()->getPoseInRootFrame();
283  ARMARX_IMPORTANT << "rt preactivate controller with target pose\n\n" << currentPose;
284  controller.preactivateInit(rns, bufferUserToRt.getUpToDateReadBuffer());
285 
286  if (reInitPreActivate.load())
287  {
289  c.desiredNullspaceJointAngles.value() = rns->getJointValuesEigen();
290 
293 
294  reInitPreActivate.store(false);
295  }
296 
297  const auto nDoF = rns->getSize();
298 
299  {
300  law::RobotStatus rtToNonRtStatus;
301  rtToNonRtStatus.jointPosition.resize(nDoF, 0.);
302  rtToNonRtStatus.jointVelocity.resize(nDoF, 0.);
303  rtToNonRtStatus.jointTorque.resize(nDoF, 0.);
304  for (size_t i = 0; i < nDoF; ++i)
305  {
306  rtToNonRtStatus.jointPosition[i] = sensorDevices.positionSensors[i]->position;
307  rtToNonRtStatus.jointVelocity[i] = sensorDevices.velocitySensors[i]->velocity;
308  rtToNonRtStatus.jointTorque[i] = sensorDevices.torqueSensors[i]->torque;
309  }
310  bufferRtToAdditionalTask.reinitAllBuffers(rtToNonRtStatus);
311  }
312  }
313 
314  void
316  {
317  controller.isInitialized.store(false);
318  }
319 } /// namespace armarx::control::njoint_controller::task_space
armarx::ControlTargetBase::asA
const T * asA() const
Definition: ControlTargetBase.h:76
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::SensorDevices::velocitySensors
std::vector< const SensorValue1DoFActuatorVelocity * > velocitySensors
Definition: KeypointsImpedanceController.h:89
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::bufferRtToAdditionalTask
TripleBuffer< law::RobotStatus > bufferRtToAdditionalTask
Definition: KeypointsImpedanceController.h:106
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::bufferAdditionalTaskToUser
TripleBuffer< BO > bufferAdditionalTaskToUser
Definition: KeypointsImpedanceController.h:104
armarx::control::common::debugEigenPose
void debugEigenPose(StringVariantBaseMap &datafields, const std::string &name, Eigen::Matrix4f pose)
Definition: utils.cpp:113
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::robotUnit
RobotUnitPtr robotUnit
Definition: KeypointsImpedanceController.h:116
armarx::control::common::control_law::ControlTarget::targets
std::vector< float > targets
Definition: common.h:50
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::BO
law::KeypointsImpedanceController::Config BO
Definition: KeypointsImpedanceController.h:59
armarx::TripleBuffer::getWriteBuffer
T & getWriteBuffer()
Definition: TripleBuffer.h:90
armarx::NJointControllerBase::useSynchronizedRtRobot
const VirtualRobot::RobotPtr & useSynchronizedRtRobot(bool updateCollisionModel=false)
Requests a VirtualRobot for use in rtRun *.
Definition: NJointController.cpp:293
armarx::StringVariantBaseMap
std::map< std::string, VariantBasePtr > StringVariantBaseMap
Definition: ManagedIceObject.h:111
ARMARX_IMPORTANT
#define ARMARX_IMPORTANT
Definition: Logging.h:183
armarx::SensorValueBase::asA
const T * asA() const
Definition: SensorValueBase.h:82
armarx::SensorValueBase
The SensorValueBase class.
Definition: SensorValueBase.h:40
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::kinematicChainName
std::string kinematicChainName
variables
Definition: KeypointsImpedanceController.h:98
armarx::ControlTargetBase
Brief description of class JointControlTargetBase.
Definition: ControlTargetBase.h:47
armarx::TripleBuffer::commitWrite
void commitWrite()
Definition: TripleBuffer.h:146
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::bufferUserToRt
TripleBuffer< BO > bufferUserToRt
Definition: KeypointsImpedanceController.h:105
armarx::control::common::control_law::RobotStatus::jointTorque
std::vector< float > jointTorque
Definition: common.h:34
armarx::NJointControllerBase::useControlTarget
ControlTargetBase * useControlTarget(const std::string &deviceName, const std::string &controlMode)
Declares to calculate the ControlTarget for the given ControlDevice in the given ControlMode when rtR...
Definition: NJointController.cpp:410
armarx::control::njoint_controller::task_space
Definition: AdmittanceController.cpp:37
armarx::CycleUtil
This util class helps with keeping a cycle time during a control cycle.
Definition: CycleUtil.h:40
armarx::ManagedIceObject::getState
int getState() const
Retrieve current state of the ManagedIceObject.
Definition: ManagedIceObject.cpp:725
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::sensorDevices
SensorDevices sensorDevices
Definition: KeypointsImpedanceController.h:92
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::nonRtRobot
VirtualRobot::RobotPtr nonRtRobot
Definition: KeypointsImpedanceController.h:112
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:43
armarx::NJointControllerBase::ConfigPtrT
NJointControllerConfigPtr ConfigPtrT
Definition: NJointControllerBase.h:586
armarx::control::common::control_law::RobotStatus::jointVelocity
std::vector< float > jointVelocity
Definition: common.h:33
aron_conversions.h
ARMARX_CHECK
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
Definition: ExpressionException.h:82
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::onInitNJointController
void onInitNJointController() override
NJointControllerBase interface.
Definition: KeypointsImpedanceController.cpp:123
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::rtFirstRun
std::atomic_bool rtFirstRun
Definition: KeypointsImpedanceController.h:108
armarx::NJointControllerBase::rtGetRobot
const VirtualRobot::RobotPtr & rtGetRobot()
TODO make protected and use attorneys.
Definition: NJointControllerBase.h:845
armarx::detail::ControlThreadOutputBufferEntry
Definition: ControlThreadOutputBuffer.h:177
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::targets
std::vector< ControlTarget1DoFActuatorTorque * > targets
Definition: KeypointsImpedanceController.h:94
controller
Definition: AddOperation.h:39
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::controlTargets
common::control_law::ControlTarget controlTargets
Definition: KeypointsImpedanceController.h:114
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::rtPostDeactivateController
void rtPostDeactivateController() override
This function is called after the controller is deactivated.
Definition: KeypointsImpedanceController.cpp:315
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::validateConfigData
void validateConfigData(BO &config)
Definition: KeypointsImpedanceController.cpp:213
armarx::NJointControllerBase::isControllerActive
bool isControllerActive(const Ice::Current &=Ice::emptyCurrent) const final override
Definition: NJointControllerBase.h:777
armarx::control::common::control_law::RobotStatus
Definition: common.h:29
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::jointNames
std::vector< std::string > jointNames
Definition: KeypointsImpedanceController.h:99
armarx::NJointControllerBase::runTask
void runTask(const std::string &taskName, Task &&task)
Executes a given task in a separate thread from the Application ThreadPool.
Definition: NJointControllerBase.h:753
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::additionalTask
virtual void additionalTask()
Definition: KeypointsImpedanceController.cpp:144
ArmarXObjectScheduler.h
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::NJointKeypointsImpedanceController
NJointKeypointsImpedanceController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
Definition: KeypointsImpedanceController.cpp:41
ARMARX_CHECK_GREATER_EQUAL
#define ARMARX_CHECK_GREATER_EQUAL(lhs, rhs)
This macro evaluates whether lhs is greater or equal (>=) rhs and if it turns out to be false it will...
Definition: ExpressionException.h:123
armarx::armem::Time
armarx::core::time::DateTime Time
Definition: forward_declarations.h:13
armarx::control::common::control_law::RobotStatus::jointPosition
std::vector< float > jointPosition
Definition: common.h:32
armarx::control::common::debugEigenVec
void debugEigenVec(StringVariantBaseMap &datafields, const std::string &name, Eigen::VectorXf vec)
Definition: utils.cpp:125
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::SensorDevices::torqueSensors
std::vector< const SensorValue1DoFActuatorTorque * > torqueSensors
Definition: KeypointsImpedanceController.h:88
utils.h
CycleUtil.h
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::reInitPreActivate
std::atomic_bool reInitPreActivate
Definition: KeypointsImpedanceController.h:110
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition: Dict.h:41
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::bufferUserToAdditionalTask
TripleBuffer< BO > bufferUserToAdditionalTask
set buffers
Definition: KeypointsImpedanceController.h:103
armarx::ctrlutil::v
double v(double t, double v0, double a0, double j)
Definition: CtrlUtil.h:39
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::rtPreActivateController
void rtPreActivateController() override
This function is called before the controller is activated.
Definition: KeypointsImpedanceController.cpp:279
GfxTL::Matrix4f
MatrixXX< 4, 4, float > Matrix4f
Definition: MatrixXX.h:601
ARMARX_CHECK_EXPRESSION
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
Definition: ExpressionException.h:73
ARMARX_INFO
#define ARMARX_INFO
Definition: Logging.h:174
VAROUT
#define VAROUT(x)
Definition: StringHelpers.h:182
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::getClassName
std::string getClassName(const Ice::Current &) const override
Definition: KeypointsImpedanceController.cpp:112
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::updateConfig
void updateConfig(const ::armarx::aron::data::dto::DictPtr &dto, const Ice::Current &iceCurrent=Ice::emptyCurrent) override
NJointController interface.
Definition: KeypointsImpedanceController.cpp:191
IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface >
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::onPublish
void onPublish(const SensorAndControl &, const DebugDrawerInterfacePrx &, const DebugObserverInterfacePrx &) override
Definition: KeypointsImpedanceController.cpp:247
armarx::control::njoint_controller::task_space::registrationControllerNJointKeypointsImpedanceController
NJointControllerRegistration< NJointKeypointsImpedanceController > registrationControllerNJointKeypointsImpedanceController("NJointKeypointsImpedanceController")
armarx::TripleBuffer::getUpToDateReadBuffer
const T & getUpToDateReadBuffer() const
Definition: TripleBuffer.h:108
ARMARX_CHECK_EQUAL
#define ARMARX_CHECK_EQUAL(lhs, rhs)
This macro evaluates whether lhs is equal (==) rhs and if it turns out to be false it will throw an E...
Definition: ExpressionException.h:130
ARMARX_WARNING
#define ARMARX_WARNING
Definition: Logging.h:186
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::getConfig
::armarx::aron::data::dto::DictPtr getConfig(const Ice::Current &iceCurrent=Ice::emptyCurrent) override
Definition: KeypointsImpedanceController.cpp:206
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::rtRun
void rtRun(const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) override
TODO make protected and use attorneys.
Definition: KeypointsImpedanceController.cpp:155
armarx::TripleBuffer::reinitAllBuffers
std::enable_if< std::is_copy_constructible< U >::value >::type reinitAllBuffers(const T &init)
Definition: TripleBuffer.h:153
KeypointsImpedanceController.h
armarx::ctrlutil::s
double s(double t, double s0, double v0, double a0, double j)
Definition: CtrlUtil.h:33
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::SensorDevices::positionSensors
std::vector< const SensorValue1DoFActuatorPosition * > positionSensors
Definition: KeypointsImpedanceController.h:90
armarx::ManagedIceObject::getObjectScheduler
ArmarXObjectSchedulerPtr getObjectScheduler() const
Definition: ManagedIceObject.cpp:731
armarx::control::njoint_controller::task_space::NJointKeypointsImpedanceController::rtReady
std::atomic_bool rtReady
Definition: KeypointsImpedanceController.h:109
armarx::NJointControllerBase::useSensorValue
const SensorValueBase * useSensorValue(const std::string &sensorDeviceName) const
Get a const ptr to the given SensorDevice's SensorValue.
Definition: NJointController.cpp:383
VirtualRobot::RobotPtr
std::shared_ptr< class Robot > RobotPtr
Definition: Bus.h:18