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

Cannot get Hokuyo status #51

Open
khadimIfollow opened this issue Nov 19, 2019 · 1 comment
Open

Cannot get Hokuyo status #51

khadimIfollow opened this issue Nov 19, 2019 · 1 comment

Comments

@khadimIfollow
Copy link

I am using UAM-05LP, it has a lcd screen which give the area number, the warning status and the error code. I would like to access these value via the driver. Fortunately is already implemented it is the updateStatus which send an AR00 and a DL00 request to the Hokuyo. To publish this status it is needed to call a service which will call these function and publish in latched mode.
However, when I listen to this topic the value a messed up meaning it did not match the reality. it more or less somewhere in the past. Moreover it get updated only if an error triggers the Hokuyo.
I sniffed the serial com between Hokuyo and the official Hokuyo software it looks like only AR00 is sent to be able to retrieve the laser status but in the final installation I use ethernet communication but I do not think that the request change if it is USB or ethernet.

@richardw347
Copy link
Contributor

Hi just adding my experience here as it might be helpful. I've been using the AR00 and DL00 commands and they are working fine the only catch is the status topic publishes the error codes in decimal and the manual specifies the HEX values. For example:

85 error on the LCD screen (Object in limited detection zone or contamination on the optical window) would be published as 133 in decimal to the status topic. Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants