Description
The digital input and output states are not read correctly in the STATUS message via CRI.
The robot control sends the values as unsigned 64 bit values (decimal till V13, hexadecimal in V14). The CRI parser for ROS parses and handles these values as int, which should be 32 bit signed.
Description The digital input and output states are not read correctly in the STATUS message via CRI.
The robot control sends the values as unsigned 64 bit values (decimal till V13, hexadecimal in V14). The CRI parser for ROS parses and handles these values as int, which should be 32 bit signed.
I adapted the parser for hex values but changing the data type is a deeper change that I do not want to do without being able to test it: https://github.com/CommonplaceRobotics/iRC_ROS/commit/c83bd78ebfc1e1aaa47db3882de5967499dfe29e#
Your environment I did not test this since I got no ROS environment
Expected behavior Set and receive correct DIn and DOut states up to DIn64 / DOut64
Actual behavior DIn32 / DOut32 states are not received. I did not confirm this.