-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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 start ll40ls on I2C bus 4 when specifying -b 4
(v1.11.0-beta1)
#14730
Comments
Use |
Oh! I didn't realize. Should've tried that. Do you know is this is documented somewhere? Edit: Just to be sure: Does that mean they are they are numbered in the same order as the naming of the I2C ports on the hardware, so port A is |
And for completeness' sake: I tried |
It should, but not sure if it's correct for all boards. Let me know if you find inconsistencies. |
You're right, it does indeed say After having previously tested
and getting I was certain that the I think this might be confusing for other people as well. Maybe the ll40ls help output can be modified, or this made clearer in some other way. As far as I can tell this is new behaviour in v1.11, with v1.10 using the same numbers internally and for the |
It was a mixed bag prior to v1.11. Some drivers implemented this mechanism, some implemented it differently, some only worked on 1 "special" bus. As of v1.11 it should all be handled consistently now (+/- minor bugs per board). |
What if we extend the output to say
What do you suggest? |
I see, that sounds much better. I have mostly used the ll40ls driver, so I didn't realize other drivers acted differently in v1.10.
We have
Do we have terminology to differentiate the last two? One possible solution is to print an explanation if the user tries to
Or a less verbose variant. I'm not sure if all FCUs name their ports "I2C A" etc. so that might need adjusting. A drawback is that if the numbering using with |
Yes that is generally too verbose and would clutter the boot output unnecessarily. |
Yeah, I guess so. Then I suggest a slight modification to your suggestion: |
Ok, I'll do the change. |
Great! Thank you. |
See #14748 |
When running
ll40ls start -X -b 4
a Garmin LidarLite on that bus won't start. When runningll40ls start -X
, it does start.Steps to reproduce the behavior:
ll40ls start -X -b 4
.I expect the driver to start and to begin producing distance_sensor data.
I ran this on a PixHawk 4 on my desk, connected to my PC with USB. One/two LidarLites and nothing else connected to the PixHawk.
More details, testing starting both, only one at a time, with lidars on both buses, and on only one bus at a time:
ll40ls start -X
ll40ls start -X -b 2
ll40ls start -X -b 4
The text was updated successfully, but these errors were encountered: