mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
Fixed a bug where tool0_controller position was all 0 for ur firmware version 1.8.xx
This commit is contained in:
@@ -364,8 +364,8 @@ void RobotStateRT::unpack(uint8_t * buf) {
|
||||
offset += sizeof(double) * 6;
|
||||
i_actual_ = unpackVector(buf, offset, 6);
|
||||
offset += sizeof(double) * 6;
|
||||
if (version_ <= 1.8) {
|
||||
if (version_ != 1.6)
|
||||
if (version_ <= 1.9) {
|
||||
if (version_ > 1.6)
|
||||
tool_accelerometer_values_ = unpackVector(buf, offset, 3);
|
||||
offset += sizeof(double) * (3 + 15);
|
||||
tcp_force_ = unpackVector(buf, offset, 6);
|
||||
|
||||
Reference in New Issue
Block a user