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

camerad: abstract cameras #25719

Closed
wants to merge 14 commits into from
Closed

Conversation

deanlee
Copy link
Contributor

@deanlee deanlee commented Sep 10, 2022

resolve #25718

@deanlee
Copy link
Contributor Author

deanlee commented Sep 10, 2022

Need to merge #25720 first to Initialize and open camera in AbstractCamera

@deanlee deanlee closed this Sep 12, 2022
@deanlee deanlee reopened this Sep 12, 2022
@deanlee
Copy link
Contributor Author

deanlee commented Sep 12, 2022

All camera-related parameters and functions have been moved to separate files. there is no if CAMERA_ID_AR0231 else in qcom2 anymore

@adeebshihadeh
Copy link
Contributor

Nice, this looks pretty good. Now that VisionIPC has been abstracted out of camerad, we've decided that camerad should just be a highly optimized camera driver for the comma three, so feel free to do any relevant cleanups. I'd also like to better separate the 845-releated code and the image sensor related code (AR0321 and OX03C10).

@deanlee
Copy link
Contributor Author

deanlee commented Sep 17, 2022

ok, i will split it into small PRs and do it incrementally

@deanlee
Copy link
Contributor Author

deanlee commented Sep 19, 2022

Merged #25796

@deanlee deanlee changed the title WIP: Abstract cameras camerad: abstract cameras Sep 29, 2022
@deanlee deanlee marked this pull request as ready for review September 29, 2022 12:58
@deanlee deanlee marked this pull request as draft March 20, 2023 14:12
@deanlee deanlee closed this Jul 5, 2023
@adeebshihadeh adeebshihadeh reopened this Dec 2, 2023
@adeebshihadeh
Copy link
Contributor

adeebshihadeh commented Dec 2, 2023

@deanlee I'm gonna start bringup of a new sensor soon, so I'm interested in getting camerad cleaned up before that. I'm ready to review & merge these quickly if you wanna rebase this one and help with the cleanup.

@deanlee
Copy link
Contributor Author

deanlee commented Dec 2, 2023

@adeebshihadeh working on this.

@adeebshihadeh
Copy link
Contributor

I started with a clean today #30573. Let's try to do this in small chunks. I'm mostly concerned with pulling out the image sensor stuff right now and splitting it from 845-specific stuff.

@deanlee
Copy link
Contributor Author

deanlee commented Dec 7, 2023

@adeebshihadeh
Copy link
Contributor

Nice, I like breaking things up like this! Want to take over "refactor sensor parameters to struct"?

@adeebshihadeh
Copy link
Contributor

Already looking a lot nicer!

@adeebshihadeh
Copy link
Contributor

@deanlee good to close this? I'm pretty happy with all the sensor abstractions now

@deanlee
Copy link
Contributor Author

deanlee commented Dec 9, 2023

y

@deanlee deanlee closed this Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

camerad: cleanup camera sensor abstractions
2 participants