Universal_Robots_ROS2_Driver
Universal_Robots_ROS2_Driver copied to clipboard
scaled JTC does not work on fake_hw
When trying to use the scaled JTC on Fake HW I get
[ros2_control_node-1] terminate called after throwing an instance of 'std::underflow_error'
[ros2_control_node-1] what(): addition leads to int64_t underflow
Obviously this needs to be further debugged, but I wanted to post it here as a first step.
Update: It seems that all floating point io states generate a nan value when using fake_hw. @destogl do you know where this could come from? For example, the output of the /io_and_status_controller/tool_data is
...
tool_output_voltage: 0
tool_current: .nan
tool_temperature: .nan
tool_mode: 0
I think we can remove the "galactic:" prefix from the title ─ I just tested this on ROS 2 Humble, and I am getting the same error message:
[ros2_control_node-1] terminate called after throwing an instance of 'std::underflow_error'
[ros2_control_node-1] what(): addition leads to int64_t underflow
@ferrolho thanks for adding this information
This seems to be still open. I had to switch the SJTC to JTC on humble.
the scaled jtc should work on mock hardware (fake hardware on humble) by now.