mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 01:50:46 +02:00
Publish "native" tool position/velocity even in ros_control mode. (#262)
This commit is contained in:
committed by
G.A. vd. Hoorn
parent
44b096dfc2
commit
4f3775d647
@@ -94,11 +94,10 @@ bool RTPublisher::publish(RTShared& packet)
|
|||||||
bool res = true;
|
bool res = true;
|
||||||
if (!temp_only_)
|
if (!temp_only_)
|
||||||
{
|
{
|
||||||
res = publishJoints(packet, time) && publishWrench(packet, time) && publishTool(packet, time) &&
|
res = publishJoints(packet, time) && publishWrench(packet, time);
|
||||||
publishTransform(packet, time);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return res && publishTemperature(packet, time);
|
return res && publishTool(packet, time) && publishTransform(packet, time) && publishTemperature(packet, time);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RTPublisher::consume(RTState_V1_6__7& state)
|
bool RTPublisher::consume(RTState_V1_6__7& state)
|
||||||
|
|||||||
Reference in New Issue
Block a user