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

Apply-updates-from-emdash00 #33

Merged
merged 59 commits into from
Nov 7, 2024

Conversation

crschardt
Copy link
Contributor

Transfer the updates from PhotonVision/photonvision#1456 to this repo.

prateekma and others added 30 commits August 1, 2020 22:52
* Add curl

* goofy wording

Co-authored-by: shueja-personal <[email protected]>
* Add nice value to service file, and give example CPU selection for those who need it.

* Use cpufrequtils package to set CPUs into performance mode

* Add comment about nice value

* Need to say "yes" to installing cpufrequtils, and safer to do so for all installs.

Co-authored-by: Matt <[email protected]>
* Make install script auto-detect arch #679

Tested on linux x64 and aarch64

* Fix arm32 uname string

Co-authored-by: Chris Gerth <[email protected]>
* Add and use a function in install.sh to determine if package is installed.

Move the "is a package installed" code into a function.

* Install libopencv-core4.5 on aarch64, which is likely raspberry pi.

The libphotonvision.so on Raspberry pi depends on libopencv-core4.5.
The code here installs that package on all aarch64 systems, as
there was not an obvious way to install on only Raspberry pi systems.

Fixes #748.

Co-authored-by: Scott Moser <[email protected]>
Should reduce the size of packages needed to be downloaded
Add the following args to the install script:

Syntax: sudo ./install.sh [-h|m|n|q]
  options:
  -h        Display this help message.
  -m        Install and configure NetworkManager (Ubuntu only).
  -n        Disable networking. This will also prevent installation of NetworkManager.
  -q        Silent install, automatically accepts all defaults. For non-interactive use.
Closes #1124

Also bumps opencv to 4.6 to match our libcamera driver
adds about 2kb to our image
Disables Arm32 builds and removes mention of the build option in the README.
This updates the install script to work correctly on Ubuntu 24.04
versions of the Orange Pi 5 images.

Changes include:
- installing libatomic1
- disabling networkd-wait-online if using Network Manager
- using systemctl instead of service to detect if photonvision is
running
- detecting if this is a RK3588 cpu and enabling all cores
@crschardt crschardt marked this pull request as ready for review November 7, 2024 03:36
@crschardt crschardt merged commit 2e5ddb6 into PhotonVision:master Nov 7, 2024
11 checks passed
@crschardt crschardt deleted the apply-updates-from-emdash00 branch November 7, 2024 03:47
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.