Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRI: States of DIO 33-64 are not received #111

Open
cpr-mab opened this issue Mar 15, 2024 · 0 comments
Open

CRI: States of DIO 33-64 are not received #111

cpr-mab opened this issue Mar 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cpr-mab
Copy link

cpr-mab commented Mar 15, 2024

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:
c83bd78

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.

@cpr-mab cpr-mab added the bug Something isn't working label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant