-
Notifications
You must be signed in to change notification settings - Fork 7.4k
sensor: afbr-s50: Introduce 3D Time-of-Flight sensor #87699
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
sensor: afbr-s50: Introduce 3D Time-of-Flight sensor #87699
Conversation
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 added project Note: This message is automatically posted and updated by the Manifest GitHub Action. |
f3b62dc
to
1c759f9
Compare
cd5ef85
to
29fd4a2
Compare
29fd4a2
to
9848483
Compare
32bfae4
to
511e598
Compare
- Add AFBR module as a HAL. - Platform layer to support running AFBR API using Zephyr. - Ability to instantiate on device-tree. - Samples in the module proving foundations works. - Zephyr Sensor API support, by introducing: - Read/Decode for SENSOR_CHAN_DISTANCE (1-D results). - Streaming mode for DATA_READY (1-D results). Signed-off-by: Luis Ubieda <[email protected]>
Each time this sensor gets a reading, it contains a matrix of 4 x 32 pixels containing distance readings, from which the 1-D result is calculated. The private channel would expose this array through Sensor APIs. Signed-off-by: Luis Ubieda <[email protected]>
The following parameters are exposed through DTS bindings: - ODR. - Dual Frequency Mode. - Measurement Mode. Signed-off-by: Luis Ubieda <[email protected]>
511e598
to
ba9c229
Compare
Looks like github is struggling? |
|
@kartben what is process for removing an AI review block if the requested changes have been met by the PR author. I don't believe that a "click to block AI bot review" should be able to block 5 days after changes were made if there is no "click to remove a block AI bot". I believe this will ultimately aggravate reviewers and authors towards using AI bots. Also are AI bots allowed to override a maintainers approval that does not seem to follow what I thought were the project rules? |
Which comment are you referring to? The Copilot reviews are not blocking ("copilot" user would need to be a Zephyr collaborator for that to be the case :) ) This PR simply needs to be approved by the assignee.
Can you also be more specific about this one please? |
And apparently I also needed to revisit, so apologies that I missed the (re)-request for review! |
I do not see a meaningful difference between a collaborator requesting changes based on only a "manually on their side run AI review" vs integrated github copilot one. In one case the bot is the github action in the other it's more or less the collaborator who is acting as a github actions adjacent AI bot. The only comment I see here with the block is "some gemini feedback", this over-rode the approval of the maintainer: At a fundamental level if "AI bots are the source of truth, and can over-ride a maintainer approval" (regardless of validity of their responses or bugs caught) why even have open source projects, just make everything closed source and have AI write your code for you. When used in this way they stop being a "helpful tool in the tool chest" and become a waste of precious time and energy. One of the fundamentals of open source in my opinion is that by the code being open humans can iterate on contributions, correct bugs and make the code base better together. If there are not strict rules placed around the timing and use of AI review bots, you will inevitably start to lose the humans and then you might as well just be closed source anyhow. My suggestions for avoiding losing the humans and making the tools actually useful are:
|
@bperseghetti Thanks for the detailed response. In short, I would encourage you to engage on #89343 and share there some of the valuable feedback you shared here. Longer response below. The "some gemini feedback" comment was probably misleading, and I apologize for it. It was meant to be a disclaimer of sorts, not to imply that I was basically "only" acting as the human proxy of a bot, just blindly copy-pasting its output. I actually did dig quite a bit into the Gemini replies, did a lot of noise filtering, pulled the datasheet and documentation, etc. before adding the comments. I thought it was fair that I would mention I was aided by a tool, but this doesn't change the fact that it's I, Benjamin, who put the -1, as a project collaborator. I would have likely spotted 10 times less issues or "smells" without Gemini, but the point is I would still have put a -1 had I considered any of them to be "serious" enough. And for better or worse, any collaborator in the project can "over-ride" (don't quite like that wording but it is what it is) maintainer approval, and this happens all the time.
Do we really need any different/additional rules than with "human" reviews though? Here, I put a -1, missed the notification about being asked to re-review and effectively left this PR stuck (or not really, since it still needed maintainer (re)approval). If @ubieda was in a hurry, he could have pinged me like we all often do, and/or the maintainer as part of their maintainer duty would have eventually noticed the stalled PR and asked me to revisit.
Again, I appreciate that my "some gemini feedback" comment was probably misleading, but this comment about "real" reviewer is actually a bit offending given that all in all I actually spent probably a whole hour reviewing that PR. The tool (or "helpful tool in the tool chest") was there to help me look in the right direction, but I invested my own time in the review.
Agreed, and as mentioned that's what I did here but I'll re-iterate that, in the case of this review at least, the review certainly did not come solely from AI, and dismissing it on that ground would be a mistake imo.
So this should really be taken to the PR I linked but by that logic we should probably also prevent collaborator to use any form of smart content assist feature in their IDE of choice for they are also giving up control?
I think that's what happened on this PR? AI comments which I wasn't quite certain about were added as review comments where I basically invited @ubieda to double check the "smell" ; others (some of which I would have spotted with a manual review too) were just put as actual request for change. |
@kartben thank you for the clarification, I will followup with any thoughts I might have around AI use in reviews on the attached issue you shared. |
@kartben thanks for removing your NACK. I suggest we continue the AI-related discussion on the GH issue. @MaureenHelm would you mind revisiting this? |
Description
This PR introduces a 3D ToF sensor, including:
Note
This PR includes an external module. Marking as
DNM
until reviewed and approved by the Zephyr Project TSC/Governing Board.Testing
This PR has been tested with MCXN-947 Freedom EVK and AFBR-S50 Adapter board.