-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
LEDDAR_ONE not functional with Github source code #12508
Comments
@tomcattigerkkk please provide more info about which version you flash and which version you compile yourself and also the command you use to compile the firmware. |
@tomcattigerkkk and @julianoes , this issue appears after my recent refactor of this driver. When connected to ttyS1 or ttyS2, (telem 1 or telem 2), the driver shows read errors and My apologies for the inconvenience. Thank you for reporting the bug @tomcattigerkkk .
|
Thank you for your suggestion. |
Hi @tomcattigerkkk , v1.9.0 and v1.9.2 do not contain my recent refactor of the driver, so perhaps I am not encountering your issue exactly. I do not have an fmu-v3 to test with, but I'll continue working with the driver to see what I can learn. |
@mcsauder Thanks for your replay. |
@mcsauder |
Thanks for your update @tomcattigerkkk , I'm working on getting it fixed. I'll update you as I make progress. |
@tomcattigerkkk , let me know if you can test PR #12508 and if it fixes this issue. Everything is working as it should for me with that PR. I hope it works for you as well and this fixes the breakage I created. My apologies for the delay. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Describe the bug
With the official firmware, one can correctly operate the Leddar one distance sensor with the right setting of the parameter SENS_LEDDAR1_CFG.
But if I build the firmware with the Github resource and burn the firmware to the same device, there is no distance result with the same setting. In NSH I can see the leddar_one function is started, but there is no reading.
Could anyone provide some suggestion? Thanks
I've checked the function in LeddarOne::collect(), the feedback from reading data from serial port bytes_read is less than 1. At the same time, _file_descriptor is larger than 0.
The text was updated successfully, but these errors were encountered: