-
Notifications
You must be signed in to change notification settings - Fork 38
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
Output by writeDigitalOutput differs from readDigitalOutput input values #340
Comments
I followed the codes from upper level to lower, and couldn't find problem. Related Issue Related commit |
Hello, I am triying to use both: writeDigitalOutput() and readDigitalOutput(), but It doesn't work. I have the next output information:
|
@antgarmun the error you're seeing #340 (comment) seems irrelevant despite that you're using the same method. Opened as a separate ticket #343 |
Following #340 (comment), I do not find anything relevant to this issue on opensource land (incl. |
Is this a problem occurring only in the last bit? I am sorry for my lack of understanding. |
I've just started reading the codes about this issue, and I am concerned about the following comments in the code of functions If this information is not old, not wrong or irrelevant, these seem that the last two bits are always returned as 0. In these comments it is described as 16 bits and there is contradiction with 32 bits. https://github.com/fkanehiro/hrpsys-base/blob/master/python/hrpsys_config.py#L1641-L1689
|
Hmm, I'm not sure what this comment says, but And I didn't check if this happens on the other bits, sorry, I should have, but the client connect something on their I/O port, so I didn't want to break something 😞 |
I am checking the problem of DIO at Kawada Robotics.
|
What happens if you set all bit to 1 ? |
And we should try to call bare API like:
|
When the left hand light turns on and keeps on, the function
|
What happens when you call
instead of
? |
When I write all bits as 1,
|
The engineer of Kawada Robotics explains the phenomenon as follows.
|
@7675t |
Just for confirmation, you mean robot.rh_svc.readDigitalOutput() return values such as:
? |
Result of
|
@7675t |
And can they fix it? (I hardly can believe the hardware doesn't return correct output state...) |
Anyway it seems that |
The engneer of Kawada Robotics said they will fix the QNX library soon. |
I see. Thanks a lot @y-yosuke ! |
Sorry for the delay but thanks for working on this @y-yosuke and I'm glad we narrowed down to the root cause. |
UPDATE: We got an updated proprietary library from the manufacturer. We'll plan to test it on a real robot, but probably within a month range. If any of the users are in need of this, please contact either on this ticket, or via TORK support. @7675t @534o could either of you lable this as "bug" (I removed write access to any tork-a repo by mistake)? Thank you in advance. |
TORK confirmed that with the version 1.2.1 of proprietary library for NXO, this issue is fixed. |
UPDATE 20170803: We got an updated proprietary library from the manufacturer. We'll plan to test it on a real robot, but probably within a month range.
If any of the users are in need of this, please contact either on this ticket, or via TORK support.
A user who owns a robot since Augst, 2014 is experiencing this.
Compare the last bit (31th) in the following example.
The text was updated successfully, but these errors were encountered: