Skip to content
Snippets Groups Projects
Commit 303e031c authored by Thomas von der Heyde's avatar Thomas von der Heyde
Browse files
parents 6ba23984 5cb6a901
No related branches found
No related tags found
No related merge requests found
......@@ -120,10 +120,16 @@ module armarx
* @return proxy to the shared robot which constantly updates all joint values
*/
SharedRobotInterface* getSynchronizedRobot();
/**
* @return proxy to a copy of the shared robot with non updating joint values
*/
SharedRobotInterface* getRobotSnapshot(string time);
/**
* @return the robot xml filename as specified in the configuration
*/
string getRobotFilename();
};
};
......
......@@ -151,7 +151,12 @@ namespace armarx
// ARMARX_VERBOSE_S << "duration: " << (IceUtil::Time::now() - start).toMilliSeconds() << " ms";
}
std::string RobotStateComponent::getRobotFilename(const Ice::Current&)
{
std::string robotFile = getProperty<std::string>("RobotFileName").getValue();
return robotFile;
}
void RobotStateComponent::reportControlModeChanged(const NameControlModeMap& jointModes, bool aValueChanged,const Current& c){}
void RobotStateComponent::reportJointVelocities(const NameValueMap& jointVelocities, bool aValueChanged,const Current& c){}
void RobotStateComponent::reportJointTorques(const NameValueMap& jointTorques, bool aValueChanged,const Current& c){}
......
......@@ -91,7 +91,11 @@ namespace armarx
* \return clone of the internal synchronized robot
*/
virtual SharedRobotInterfacePrx getRobotSnapshot(const std::string & time, const Ice::Current&);
/**
* \return the robot xml filename as specified in the configuration
*/
virtual std::string getRobotFilename(const Ice::Current&);
/**
* Create an instance of RobotStatePropertyDefinitions.
......
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