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

Split most FRCVision bits to stage3 #17

Closed
PeterJohnson opened this issue Dec 30, 2018 · 0 comments · Fixed by #83
Closed

Split most FRCVision bits to stage3 #17

PeterJohnson opened this issue Dec 30, 2018 · 0 comments · Fixed by #83
Labels
image Image configuration
Milestone

Comments

@PeterJohnson
Copy link
Member

Currently all the FRCVision customization is done as part of stage2. This will make merging changes from RPi-Distro more difficult than it need be. The build infrastructure is designed for multiple stages, so these bits can mostly be moved to a (new) stage3.

@PeterJohnson PeterJohnson added the image Image configuration label Jan 2, 2019
@PeterJohnson PeterJohnson added this to the 2019.3.1 milestone Feb 3, 2019
PeterJohnson added a commit that referenced this issue Feb 3, 2019
Fixes #17.

Stage 2 is fairly minimal, stage 3 builds/installs OpenCV and WPILib et al, and stage 4
builds/installs the FRCVision webdash and adds the vision examples.

Other changes:
- OpenCV compiled with ffmpeg, OpenBLAS, and libgtk (fixes #79, fixes #80)
- OpenBLAS added to image (fixes #65)
- C++ Makefile is more easily extensible (fixes #71)
- Sources for everything are bundled into image into /usr/src
- README updated (fixes #16)
- pkg-config files for wpilibc et al are now installed and C++ Makefile uses them (if compiled local to Pi)
- Both dynamic and static libs are included in image

The only downside of all these changes (particularly the ffmpeg, OpenBLAS, and libgtk inclusion)
is the image size is now over 3GB (800MB compressed). The previous image didn't quite fit on a
2GB card however.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
image Image configuration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant