8000 Replace MMAL driver with Libcamera by mcm001 · Pull Request #491 · PhotonVision/photonvision · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replace MMAL driver with Libcamera #491

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

Merged
merged 20 commits into from
Dec 28, 2022
Merged

Conversation

mcm001
Copy link
Contributor
@mcm001 mcm001 commented Oct 10, 2022

Update LibCameraJNI.java

More memes

Add sleep fixes it

Comment on lines +79 to +85
var settings = pipeline.getSettings();
if (settings instanceof AdvancedPipelineSettings) {
var advanced = (AdvancedPipelineSettings) settings;
var hsvParams =
new HSVPipe.HSVParams(
advanced.hsvHue, advanced.hsvSaturation, advanced.hsvValue, advanced.hueInverted);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bankst what's a less terrible way to do this?

@mcm001 mcm001 force-pushed the libcamera branch 2 times, most recently from 5a517b5 to a22202f Compare November 16, 2022 03:02
@mcm001 mcm001 changed the title [WIP] Hack libcamera in, replacing mmal driver Replace MMAL driver with Libcamera Nov 18, 2022
@mcm001 mcm001 marked this pull request as ready for review November 18, 2022 14:50
@mcm001 mcm001 requested a review from a team as a code owner November 18, 2022 14:50
@mcm001 mcm001 force-pushed the libcamera branch 2 times, most recently from cda1b62 to 00b50e5 Compare December 15, 2022 19:50
@mcm001 mcm001 closed this Dec 15, 2022
@mcm001 mcm001 reopened this Dec 15, 2022
@mcm001 mcm001 force-pushed the libcamera branch 2 times, most recently from a5a0ac8 to 77c320e Compare December 20, 2022 04:13
Update SocketVideoStream.java
gerth2
gerth2 previously approved these changes Dec 27, 2022
Copy link
Contributor
@gerth2 gerth2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and debugged in person. With a few quick tweaks seems running fine in my setup!

@mcm001 mcm001 modified the milestones: 2023 Beta 6, 2023 Kickoff Dec 27, 2022
@@ -3,7 +3,7 @@
NEW_JAR=$(realpath $(find . -name photonvision\*-linuxarm32.jar))
echo "Using jar: " $NEW_JAR
sudo apt install xz-utils
curl -sk https://api.github.com/repos/photonvision/photon-pi-gen/releases/tags/v2023.1.0-beta-1 | grep "browser_download_url.*xz" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
curl -sk https://api.github.com/repos/photonvision/photon-pi-gen/releases/tags/v2023.1.0-beta-2 | grep "browser_download_url.*xz" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually probably needs us to cut a new release on the pi image gen repo from the aarch64 branch, as well as change the JAR name to linuxarm64

@mcm001 mcm001 merged commit 7ff630d into PhotonVision:master Dec 28, 2022
MrRedness pushed a commit to MrRedness/photonvision that referenced this pull request Feb 8, 2023
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants
0