1
0
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:
Miguel Prada
2019-02-26 09:46:03 +01:00
committed by G.A. vd. Hoorn
parent 44b096dfc2
commit 4f3775d647

View File

@@ -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)