RobotStateObserver.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 ArmarX::Core
17 * @author Stefan Ulbrich <stefan dot ulbrich at kit dot edu>, Kai Welke (welke _at_ kit _dot_ edu)
18 * @date 2011 Kai Welke
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #include "RobotStateObserver.h"
24 #include <RobotAPI/interface/core/RobotState.h>
30 
33 
34 #include <VirtualRobot/VirtualRobot.h>
35 #include <VirtualRobot/RobotNodeSet.h>
36 #include <VirtualRobot/Nodes/RobotNode.h>
37 #include <VirtualRobot/RobotConfig.h>
38 #include <VirtualRobot/VirtualRobot.h>
40 #include <VirtualRobot/IK/DifferentialIK.h>
41 
42 #include <SimoxUtility/algorithm/string/string_tools.h>
43 
44 #define TCP_POSE_CHANNEL "TCPPose"
45 #define TCP_TRANS_VELOCITIES_CHANNEL "TCPVelocities"
46 
47 
48 using namespace armarx;
49 using namespace VirtualRobot;
50 
51 // ********************************************************************
52 // observer framework hooks
53 // ********************************************************************
55 {
56 
57 }
58 
60 {
61 
62  // register all checks
63  offerConditionCheck("equals", new ConditionCheckEquals());
64  offerConditionCheck("inrange", new ConditionCheckInRange());
65  offerConditionCheck("larger", new ConditionCheckLarger());
66  offerConditionCheck("smaller", new ConditionCheckSmaller());
67 }
68 
70 {
71 
72 
73  offerChannel(TCP_POSE_CHANNEL, "TCP poses of the robot.");
74  offerChannel(TCP_TRANS_VELOCITIES_CHANNEL, "TCP velocities of the robot.");
75 }
76 
77 // ********************************************************************
78 // private methods
79 // ********************************************************************
80 
81 
82 
83 
85 {
86  if (getState() < eManagedIceObjectStarting)
87  {
88  return;
89  }
90 
91  if (!robot)
92  {
93  return;
94  }
95 
96  std::unique_lock lock(dataMutex);
97  ReadLockPtr lock2 = robot->getReadLock();
98  FramedPoseBaseMap tcpPoses;
99  std::string rootFrame = robot->getRootNode()->getName();
100 
101  //IceUtil::Time start = IceUtil::Time::now();
102  for (unsigned int i = 0; i < nodesToReport.size(); i++)
103  {
104  VirtualRobot::RobotNodePtr& node = nodesToReport.at(i).first;
105  const std::string& tcpName = node->getName();
106  const Eigen::Matrix4f& currentPose = node->getPoseInRootFrame();
107  tcpPoses[tcpName] = new FramedPose(currentPose, rootFrame, robot->getName());
108  FramedPosePtr::dynamicCast(tcpPoses[tcpName])->changeFrame(robot, nodesToReport.at(i).second);
109 
110  }
111 
112  udpatePoseDatafields(tcpPoses);
113 
114 }
115 
117 {
118  // ARMARX_INFO << deactivateSpam() << "new tcp poses reported";
119  FramedPoseBaseMap::const_iterator it = poseMap.begin();
120 
121  for (; it != poseMap.end(); it++)
122  {
123 
124  FramedPosePtr vec = FramedPosePtr::dynamicCast(it->second);
125  const std::string& tcpName = it->first;
126 
127  if (!existsDataField(TCP_POSE_CHANNEL, tcpName))
128  {
129  offerDataFieldWithDefault(TCP_POSE_CHANNEL, tcpName, Variant(it->second), "Pose of " + tcpName);
130  }
131  else
132  {
133  setDataField(TCP_POSE_CHANNEL, tcpName, Variant(it->second));
134  }
135 
136  updateChannel(TCP_POSE_CHANNEL);
137 
138  if (!existsChannel(tcpName))
139  {
140  offerChannel(tcpName, "pose components of " + tcpName);
141  offerDataFieldWithDefault(tcpName, "x", Variant(vec->position->x), "X axis");
142  offerDataFieldWithDefault(tcpName, "y", Variant(vec->position->y), "Y axis");
143  offerDataFieldWithDefault(tcpName, "z", Variant(vec->position->z), "Z axis");
144  offerDataFieldWithDefault(tcpName, "qx", Variant(vec->orientation->qx), "Quaternion part x");
145  offerDataFieldWithDefault(tcpName, "qy", Variant(vec->orientation->qy), "Quaternion part y");
146  offerDataFieldWithDefault(tcpName, "qz", Variant(vec->orientation->qz), "Quaternion part z");
147  offerDataFieldWithDefault(tcpName, "qw", Variant(vec->orientation->qw), "Quaternion part w");
148  offerDataFieldWithDefault(tcpName, "frame", Variant(vec->frame), "Reference Frame");
149  }
150  else
151  {
152  StringVariantBaseMap newValues;
153  newValues["x"] = new Variant(vec->position->x);
154  newValues["y"] = new Variant(vec->position->y);
155  newValues["z"] = new Variant(vec->position->z);
156  newValues["qx"] = new Variant(vec->orientation->qx);
157  newValues["qy"] = new Variant(vec->orientation->qy);
158  newValues["qz"] = new Variant(vec->orientation->qz);
159  newValues["qw"] = new Variant(vec->orientation->qw);
160  newValues["frame"] = new Variant(vec->frame);
161  setDataFieldsFlatCopy(tcpName, newValues);
162  }
163 
164  updateChannel(tcpName);
165 
166  }
167 }
168 
170  const AMD_RobotStateObserverInterface_getPoseDatafieldPtr& amd,
171  const std::string& nodeName,
172  const Ice::Current&) const
173 {
174  addWorkerJob("RobotStateObserver::getPoseDatafield", [this, amd, nodeName]
175  {
176  return getDatafieldRefByName(TCP_POSE_CHANNEL, nodeName);
177  });
178 }
179 
180 void RobotStateObserver::updateNodeVelocities(const NameValueMap& jointVel, long timestampMicroSeconds)
181 {
182  if (jointVel.empty())
183  {
184  return;
185  }
186  if (getState() < eManagedIceObjectStarting)
187  {
188  return;
189  }
190 
191  std::unique_lock lock(dataMutex);
192 
193  if (!robot)
194  {
195  return;
196  }
197 
198  ReadLockPtr lock2 = robot->getReadLock();
199 
200  if (!velocityReportRobot)
201  {
202  velocityReportRobot = robot->clone(robot->getName());
203  }
204 
205  // IceUtil::Time start = IceUtil::Time::now();
206  // ARMARX_INFO << jointVel; FramedPoseBaseMap tcpPoses;
207  FramedDirectionMap tcpTranslationVelocities;
208  FramedDirectionMap tcpOrientationVelocities;
209  std::string rootFrame = robot->getRootNode()->getName();
210  NameValueMap tempJointAngles = robot->getConfig()->getRobotNodeJointValueMap();
211  FramedPoseBaseMap tcpPoses;
212 
213  for (unsigned int i = 0; i < nodesToReport.size(); i++)
214  {
215  RobotNodePtr node = nodesToReport.at(i).first;
216  const std::string& tcpName = node->getName();
217  const Eigen::Matrix4f& currentPose = velocityReportRobot->getRobotNode(tcpName)->getGlobalPose();
218  tcpPoses[tcpName] = new FramedPose(currentPose, GlobalFrame, "");
219 
220  }
221 
222 
223  velocityReportRobot->setJointValues(tempJointAngles);
224  velocityReportRobot->setGlobalPose(robot->getGlobalPose());
225 
226  Eigen::Matrix4f mat;
227  Eigen::Vector3f rpy;
228 
229  auto keys = armarx::getMapKeys(jointVel);
230  Eigen::VectorXf jointVelocities(jointVel.size());
231  auto rootFrameName = velocityReportRobot->getRootNode()->getName();
232  RobotNodeSetPtr rns = RobotNodeSet::createRobotNodeSet(velocityReportRobot, "All_Nodes", keys, rootFrameName);
233  for (size_t i = 0; i < rns->getSize(); ++i)
234  {
235  jointVelocities(i) = jointVel.at(rns->getNode(i)->getName());
236  }
237  DifferentialIKPtr j(new DifferentialIK(rns));
238 
239 
240  auto robotName = velocityReportRobot->getName();
241  for (unsigned int i = 0; i < nodesToReport.size(); i++)
242  {
243  RobotNodePtr node = velocityReportRobot->getRobotNode(nodesToReport.at(i).first->getName());
244  Eigen::MatrixXf jac = j->getJacobianMatrix(node, IKSolver::All);
245  Eigen::VectorXf nodeVel = jac * jointVelocities;
246 
247  const std::string tcpName = node->getName();
248  tcpTranslationVelocities[tcpName] = new FramedDirection(nodeVel.block<3, 1>(0, 0), rootFrameName, robotName);
249  tcpOrientationVelocities[tcpName] = new FramedDirection(nodeVel.block<3, 1>(3, 0), rootFrameName, robotName);
250 
251 
252  }
253  updateVelocityDatafields(tcpTranslationVelocities, tcpOrientationVelocities);
254 }
255 
256 void RobotStateObserver::updateVelocityDatafields(const FramedDirectionMap& tcpTranslationVelocities, const FramedDirectionMap& tcpOrientationVelocities)
257 {
258  FramedDirectionMap::const_iterator it = tcpTranslationVelocities.begin();
259 
260  for (; it != tcpTranslationVelocities.end(); it++)
261  {
262 
263  FramedDirectionPtr vec = FramedDirectionPtr::dynamicCast(it->second);
264  FramedDirectionPtr vecOri;
265  FramedDirectionMap::const_iterator itOri = tcpOrientationVelocities.find(it->first);
266 
267  if (itOri != tcpOrientationVelocities.end())
268  {
269  vecOri = FramedDirectionPtr::dynamicCast(itOri->second);
270  }
271 
272  const std::string& tcpName = it->first;
273 
274  ARMARX_CHECK_EXPRESSION(vec->frame == vecOri->frame);
275 
276  if (!existsDataField(TCP_TRANS_VELOCITIES_CHANNEL, tcpName))
277  {
278  offerDataFieldWithDefault(TCP_TRANS_VELOCITIES_CHANNEL, tcpName, Variant(it->second), "Pose of " + tcpName);
279  }
280  else
281  {
282  setDataField(TCP_TRANS_VELOCITIES_CHANNEL, tcpName, Variant(it->second));
283  }
284 
285  updateChannel(TCP_TRANS_VELOCITIES_CHANNEL);
286  const std::string channelName = tcpName + "Velocities";
287 
288  if (!existsChannel(channelName))
289  {
290  offerChannel(channelName, "pose components of " + tcpName);
291  offerDataFieldWithDefault(channelName, "x", Variant(vec->x), "X axis");
292  offerDataFieldWithDefault(channelName, "y", Variant(vec->y), "Y axis");
293  offerDataFieldWithDefault(channelName, "z", Variant(vec->z), "Z axis");
294  offerDataFieldWithDefault(channelName, "roll", Variant(vecOri->x), "Roll");
295  offerDataFieldWithDefault(channelName, "pitch", Variant(vecOri->y), "Pitch");
296  offerDataFieldWithDefault(channelName, "yaw", Variant(vecOri->z), "Yaw");
297  offerDataFieldWithDefault(channelName, "frame", Variant(vecOri->frame), "Reference Frame");
298  }
299  else
300  {
301  StringVariantBaseMap newValues;
302  newValues["x"] = new Variant(vec->x);
303  newValues["y"] = new Variant(vec->y);
304  newValues["z"] = new Variant(vec->z);
305  newValues["roll"] = new Variant(vecOri->x);
306  newValues["pitch"] = new Variant(vecOri->y);
307  newValues["yaw"] = new Variant(vecOri->z);
308  newValues["frame"] = new Variant(vec->frame);
309  setDataFieldsFlatCopy(channelName, newValues);
310  }
311 
312  updateChannel(channelName);
313 
314  }
315 }
316 
317 
319 {
321  getConfigIdentifier()));
322 }
323 
325 {
326  std::unique_lock lock(dataMutex);
327  this->robot = robot;
328 
329  std::vector< VirtualRobot::RobotNodeSetPtr > robotNodes;
330  robotNodes = robot->getRobotNodeSets();
331 
332  std::string nodesetsString = getProperty<std::string>("TCPsToReport").getValue();
333  nodesToReport.clear();
334  // nodesToReport.push_back(std::make_pair(robot->getRootNode(), GlobalFrame));
335  if (!nodesetsString.empty())
336  {
337  if (nodesetsString == "*")
338  {
339  auto nodesets = robot->getRobotNodeSets();
340 
341  for (RobotNodeSetPtr& set : nodesets)
342  {
343  if (set->getTCP())
344  {
345  nodesToReport.push_back(std::make_pair(set->getTCP(), robot->getRootNode()->getName()));
346  }
347  }
348  }
349  else
350  {
351  std::vector<std::string> nodesetNames = simox::alg::split(nodesetsString, ",");
352 
353  for (auto name : nodesetNames)
354  {
355  simox::alg::trim(name);
356  auto node = robot->getRobotNode(name);
357 
358  if (node)
359  {
360  nodesToReport.push_back(std::make_pair(node, robot->getRootNode()->getName()));
361  }
362  else
363  {
364  ARMARX_ERROR << "Could not find node with name: " << name;
365  }
366  }
367  }
368  }
369 }
armarx::Variant
The Variant class is described here: Variants.
Definition: Variant.h:224
RemoteRobot.h
algorithm.h
armarx::StringVariantBaseMap
std::map< std::string, VariantBasePtr > StringVariantBaseMap
Definition: ManagedIceObject.h:111
ConditionCheckEquals.h
armarx::VariantType::FramedPose
const VariantTypeId FramedPose
Definition: FramedPose.h:37
VirtualRobot
Definition: FramedPose.h:43
TCP_POSE_CHANNEL
#define TCP_POSE_CHANNEL
Definition: RobotStateObserver.cpp:44
ConditionCheckInRange.h
armarx::GlobalFrame
const std::string GlobalFrame
Definition: FramedPose.h:62
armarx::ConditionCheckSmaller
Definition: ConditionCheckSmaller.h:40
armarx::RobotStateObserver::updateNodeVelocities
void updateNodeVelocities(const NameValueMap &jointVel, long timestampMicroSeconds)
Definition: RobotStateObserver.cpp:180
armarx::navigation::platform_controller::platform_global_trajectory::NameValueMap
std::map< std::string, float > NameValueMap
Definition: PlatformGlobalTrajectoryController.h:93
armarx::RobotStateObserver::createPropertyDefinitions
PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: RobotStateObserver.cpp:318
IceInternal::Handle< FramedPose >
armarx::RobotStateObserver::getPoseDatafield_async
void getPoseDatafield_async(const AMD_RobotStateObserverInterface_getPoseDatafieldPtr &amd, const std::string &nodeName, const Ice::Current &) const override
Definition: RobotStateObserver.cpp:169
DatafieldRef.h
armarx::FramedPoseBaseMap
::std::map< ::std::string, ::armarx::FramedPoseBasePtr > FramedPoseBaseMap
Definition: RobotStateObserver.h:55
armarx::RobotStateObserver::updateVelocityDatafields
void updateVelocityDatafields(const FramedDirectionMap &tcpTranslationVelocities, const FramedDirectionMap &tcpOrientationVelocities)
Definition: RobotStateObserver.cpp:256
FramedPose.h
armarx::RobotStateObserver::onConnectObserver
void onConnectObserver() override
Framework hook.
Definition: RobotStateObserver.cpp:69
armarx::RobotStateObserver::updatePoses
void updatePoses()
Definition: RobotStateObserver.cpp:84
armarx::channels::KinematicUnitObserver::jointVelocities
const KinematicUnitDatafieldCreator jointVelocities("jointVelocities")
ARMARX_ERROR
#define ARMARX_ERROR
Definition: Logging.h:189
armarx::ConditionCheckInRange
Definition: ConditionCheckInRange.h:41
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
TCP_TRANS_VELOCITIES_CHANNEL
#define TCP_TRANS_VELOCITIES_CHANNEL
Definition: RobotStateObserver.cpp:45
armarx::RobotStateObserver::udpatePoseDatafields
void udpatePoseDatafields(const FramedPoseBaseMap &poseMap)
Definition: RobotStateObserver.cpp:116
armarx::VariantType::FramedDirection
const VariantTypeId FramedDirection
Definition: FramedPose.h:38
ConditionCheckSmaller.h
armarx::RobotStateObserverPropertyDefinitions
RobotStatePropertyDefinition Property Definitions.
Definition: RobotStateObserver.h:44
set
set(LIBS ArmarXCoreInterfaces ${CMAKE_THREAD_LIBS_INIT} ${dl_LIBRARIES} ${rt_LIBRARIES} ${QT_LIBRARIES} ${Boost_LIBRARIES} BoostAssertionHandler ArmarXCPPUtility SimoxUtility) set(LIB_FILES ArmarXManager.cpp ArmarXMultipleObjectsScheduler.cpp ArmarXObjectScheduler.cpp ManagedIceObject.cpp ManagedIceObjectPlugin.cpp Component.cpp ComponentPlugin.cpp IceGridAdmin.cpp ArmarXObjectObserver.cpp IceManager.cpp PackagePath.cpp RemoteReferenceCount.cpp logging/LoggingUtil.cpp logging/Logging.cpp logging/LogSender.cpp logging/ArmarXLogBuf.cpp system/ArmarXDataPath.cpp system/DynamicLibrary.cpp system/ProcessWatcher.cpp system/FactoryCollectionBase.cpp system/cmake/CMakePackageFinder.cpp system/cmake/CMakePackageFinderCache.cpp system/cmake/ArmarXPackageToolInterface.cpp system/RemoteObjectNode.cpp services/sharedmemory/HardwareId.cpp services/tasks/RunningTask.cpp services/tasks/ThreadList.cpp services/tasks/ThreadPool.cpp services/profiler/Profiler.cpp services/profiler/FileLoggingStrategy.cpp services/profiler/IceLoggingStrategy.cpp application/Application.cpp application/ApplicationOptions.cpp application/ApplicationProcessFacet.cpp application/ApplicationNetworkStats.cpp application/properties/PropertyUser.cpp application/properties/Property.cpp application/properties/PropertyDefinition.cpp application/properties/PropertyDefinitionContainer.cpp application/properties/PropertyDefinitionHelpFormatter.cpp application/properties/PropertyDefinitionConfigFormatter.cpp application/properties/PropertyDefinitionBriefHelpFormatter.cpp application/properties/PropertyDefinitionXmlFormatter.cpp application/properties/PropertyDefinitionDoxygenFormatter.cpp application/properties/PropertyDefinitionDoxygenComponentPagesFormatter.cpp application/properties/PropertyDefinitionContainerBriefHelpFormatter.cpp application/properties/IceProperties.cpp exceptions/Exception.cpp exceptions/local/UnexpectedEnumValueException.cpp util/FileSystemPathBuilder.cpp util/StringHelpers.cpp util/IceReportSkipper.cpp util/Throttler.cpp util/distributed/AMDCallbackCollection.cpp util/distributed/RemoteHandle/ClientSideRemoteHandleControlBlock.cpp util/distributed/RemoteHandle/RemoteHandle.cpp util/distributed/RemoteHandle/RemoteHandleControlBlock.cpp time/ice_conversions.cpp time/json_conversions.cpp time/CallbackWaitLock.cpp time/Clock.cpp time/ClockType.cpp time/ClockTypeNames.cpp time/CycleUtil.cpp time/DateTime.cpp time/Duration.cpp time/Frequency.cpp time/LocalTimeServer.cpp time/Metronome.cpp time/ScopedStopWatch.cpp time/StopWatch.cpp time/Timer.cpp time/TimeKeeper.cpp time/TimeUtil.cpp csv/CsvWriter.cpp csv/CsvReader.cpp eigen/conversions.cpp eigen/ice_conversions.cpp) set(LIB_HEADERS ArmarXManager.h ArmarXDummyManager.h ArmarXMultipleObjectsScheduler.h ArmarXObjectObserver.h ArmarXObjectScheduler.h ArmarXFwd.h Component.h ComponentPlugin.h ComponentFactories.h CoreObjectFactories.h IceGridAdmin.h IceManager.h IceManagerImpl.h json_conversions.h ManagedIceObject.h ManagedIceObjectPlugin.h ManagedIceObjectImpl.h ManagedIceObjectDependency.h ManagedIceObjectRegistryInterface.h PackagePath.h RemoteReferenceCount.h system/ImportExport.h system/ImportExportComponent.h system/AbstractFactoryMethod.h system/FactoryCollectionBase.h system/Synchronization.h system/ArmarXDataPath.h system/DynamicLibrary.h system/ProcessWatcher.h system/ConditionSynchronization.h system/cmake/CMakePackageFinder.h system/cmake/CMakePackageFinderCache.h system/cmake/FindPackageX.cmake system/cmake/ArmarXPackageToolInterface.h system/RemoteObjectNode.h logging/LoggingUtil.h logging/LogSender.h logging/Logging.h logging/ArmarXLogBuf.h logging/SpamFilterData.h services/tasks/RunningTask.h services/tasks/PeriodicTask.h services/tasks/ThreadList.h services/tasks/TaskUtil.h services/tasks/ThreadPool.h services/sharedmemory/SharedMemoryProvider.h services/sharedmemory/SharedMemoryConsumer.h services/sharedmemory/IceSharedMemoryProvider.h services/sharedmemory/IceSharedMemoryConsumer.h services/sharedmemory/HardwareIdentifierProvider.h services/sharedmemory/HardwareId.h services/sharedmemory/exceptions/SharedMemoryExceptions.h services/profiler/Profiler.h services/profiler/LoggingStrategy.h services/profiler/FileLoggingStrategy.h services/profiler/IceLoggingStrategy.h application/Application.h application/ApplicationOptions.h application/ApplicationProcessFacet.h application/ApplicationNetworkStats.h application/properties/forward_declarations.h application/properties/Properties.h application/properties/Property.h application/properties/PluginEigen.h application/properties/PluginEnumNames.h application/properties/PluginCfgStruct.h application/properties/PluginAll.h application/properties/PropertyUser.h application/properties/PropertyDefinition.h application/properties/PropertyDefinition.hpp application/properties/PropertyDefinitionInterface.h application/properties/PropertyDefinitionContainer.h application/properties/PropertyDefinitionFormatter.h application/properties/PropertyDefinitionContainerFormatter.h application/properties/PropertyDefinitionConfigFormatter.h application/properties/PropertyDefinitionHelpFormatter.h application/properties/PropertyDefinitionBriefHelpFormatter.h application/properties/PropertyDefinitionXmlFormatter.h application/properties/PropertyDefinitionDoxygenFormatter.h application/properties/PropertyDefinitionDoxygenComponentPagesFormatter.h application/properties/PropertyDefinitionContainerBriefHelpFormatter.h application/properties/ProxyPropertyDefinition.h application/properties/IceProperties.h exceptions/Exception.h exceptions/LocalException.h exceptions/local/DynamicLibraryException.h exceptions/local/ExpressionException.h exceptions/local/FileIOException.h exceptions/local/InvalidPropertyValueException.h exceptions/local/MissingRequiredPropertyException.h exceptions/local/PropertyInheritanceCycleException.h exceptions/local/ProxyNotInitializedException.h exceptions/local/UnexpectedEnumValueException.h exceptions/local/UnmappedValueException.h exceptions/local/ValueRangeExceededException.h exceptions/user/NotImplementedYetException.h rapidxml/rapidxml.hpp rapidxml/rapidxml_print.hpp rapidxml/rapidxml_iterators.hpp rapidxml/rapidxml_utils.hpp rapidxml/wrapper/RapidXmlReader.h rapidxml/wrapper/RapidXmlWriter.h rapidxml/wrapper/DefaultRapidXmlReader.h rapidxml/wrapper/MultiNodeRapidXMLReader.h util/IceBlobToObject.h util/ObjectToIceBlob.h util/FileSystemPathBuilder.h util/FiniteStateMachine.h util/StringHelpers.h util/StringHelperTemplates.h util/algorithm.h util/OnScopeExit.h util/Predicates.h util/Preprocessor.h util/PropagateConst.h util/Registrar.h util/TemplateMetaProgramming.h util/TripleBuffer.h util/IceReportSkipper.h util/Throttler.h util/distributed/AMDCallbackCollection.h util/distributed/RemoteHandle/ClientSideRemoteHandleControlBlock.h util/distributed/RemoteHandle/RemoteHandle.h util/distributed/RemoteHandle/RemoteHandleControlBlock.h util/SimpleStatemachine.h time.h time_minimal.h time/forward_declarations.h time/ice_conversions.h time/json_conversions.h time/CallbackWaitLock.h time/Clock.h time/ClockType.h time/ClockTypeNames.h time/CycleUtil.h time/DateTime.h time/Duration.h time/Frequency.h time/LocalTimeServer.h time/Metronome.h time/ScopedStopWatch.h time/StopWatch.h time/Timer.h time/TimeUtil.h time/TimeKeeper.h csv/CsvWriter.h csv/CsvReader.h eigen/conversions.h eigen/ice_conversions.h ice_conversions.h ice_conversions/ice_conversions_boost_templates.h ice_conversions/ice_conversions_templates.h ice_conversions/ice_conversions_templates.tpp $
Definition: CMakeLists.txt:12
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::ConditionCheckEquals
Definition: ConditionCheckEquals.h:46
armarx::RobotStateObserver::RobotStateObserver
RobotStateObserver()
Definition: RobotStateObserver.cpp:54
ConditionCheckLarger.h
armarx::ConditionCheckLarger
Definition: ConditionCheckLarger.h:40
armarx::PropertyDefinitionsPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
Definition: forward_declarations.h:34
RobotStateObserver.h
armarx::getMapKeys
void getMapKeys(const MapType &map, OutputIteratorType it)
Definition: algorithm.h:157
armarx::RobotStateObserver::setRobot
void setRobot(VirtualRobot::RobotPtr robot)
Definition: RobotStateObserver.cpp:324
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::RobotStateObserver::onInitObserver
void onInitObserver() override
Framework hook.
Definition: RobotStateObserver.cpp:59
VirtualRobot::RobotPtr
std::shared_ptr< class Robot > RobotPtr
Definition: Bus.h:18
armarx::split
std::vector< std::string > split(const std::string &source, const std::string &splitBy, bool trimElements=false, bool removeEmptyElements=false)
Definition: StringHelpers.cpp:36