Skip to content
Snippets Groups Projects
Commit 053ebd31 authored by Stefan Reither's avatar Stefan Reither
Browse files

remove request/release functionality in tcpcontrolsubunit since it has no purpose here

parent 210f631c
No related branches found
No related tags found
1 merge request!32Tcp sub unit
......@@ -51,11 +51,6 @@ void TCPControllerSubUnit::setCycleTime(Ice::Int, const Ice::Current& c)
void TCPControllerSubUnit::setTCPVelocity(const std::string& nodeSetName, const std::string& tcpName, const FramedDirectionBasePtr& translationVelocity, const FramedDirectionBasePtr& orientationVelocityRPY, const Ice::Current& c)
{
if (!requested)
{
return;
}
ARMARX_CHECK_EXPRESSION_W_HINT(coordinateTransformationRobot->hasRobotNodeSet(nodeSetName), "The robot does not have the node set: " + nodeSetName);
std::string tcp;
if (tcpName.empty())
......
......@@ -55,7 +55,6 @@ namespace armarx
RobotUnit* robotUnit = NULL;
VirtualRobot::RobotPtr coordinateTransformationRobot;
RobotSynchronizationPtr robotSync;
bool requested = false;
// ManagedIceObject interface
protected:
......@@ -70,11 +69,9 @@ namespace armarx
public:
void request(const Ice::Current&)
{
requested = true;
}
void release(const Ice::Current&)
{
requested = false;
}
// UnitExecutionManagementInterface interface
......
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