Skip to content
Snippets Groups Projects
Commit 90567663 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

usage of new convenience function in observer

parent 33e22ced
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,7 @@ void RobotStateObserver::udpatePoseDatafields(const FramedPoseBaseMap& poseMap)
DatafieldRefBasePtr RobotStateObserver::getPoseDatafield(const std::string& nodeName, const Ice::Current&) const
{
return getDataFieldRef(new DataFieldIdentifier(getName(), TCP_POSE_CHANNEL, nodeName));
return getDatafieldRefByName(TCP_POSE_CHANNEL, nodeName);
}
void RobotStateObserver::updateNodeVelocities(const NameValueMap& jointVel)
......@@ -333,7 +333,7 @@ void RobotStateObserver::setRobot(RobotPtr robot)
{
auto nodesets = robot->getRobotNodeSets();
for (RobotNodeSetPtr& set : nodesets)
for (RobotNodeSetPtr & set : nodesets)
{
if (set->getTCP())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment