mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 18:10:47 +02:00
Fixed minor issues
This commit is contained in:
@@ -91,8 +91,14 @@ bool RTPublisher::publishTemperature(RTShared& packet, Time& t)
|
||||
bool RTPublisher::publish(RTShared& packet)
|
||||
{
|
||||
Time time = Time::now();
|
||||
return publishJoints(packet, time) && publishWrench(packet, time) && publishTool(packet, time) &&
|
||||
publishTransform(packet, time) && publishTemperature(packet, time);
|
||||
bool res = true;
|
||||
if (!temp_only_)
|
||||
{
|
||||
res = publishJoints(packet, time) && publishWrench(packet, time) && publishTool(packet, time) &&
|
||||
publishTransform(packet, time);
|
||||
}
|
||||
|
||||
return res && publishTemperature(packet, time);
|
||||
}
|
||||
|
||||
bool RTPublisher::consume(RTState_V1_6__7& state)
|
||||
|
||||
Reference in New Issue
Block a user