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

Resolve conflitcs and update pv #11

Merged
merged 55 commits into from
Aug 19, 2024
Merged

Commits on Apr 27, 2024

  1. Configuration menu
    Copy the full SHA
    c9a6962 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    6535710 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Undistort corner pitch/yaw using opencv (PhotonVision#1250)

    * Undistort pitch/yaw
    
    * Actually implement lol
    
    * Update TargetCalculations.java
    
    * fix yawpitch test units
    
    * format
    
    ---------
    
    Co-authored-by: amquake <[email protected]>
    mcm001 and amquake authored May 3, 2024
    Configuration menu
    Copy the full SHA
    00c2a25 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    560f379 View commit details
    Browse the repository at this point in the history
  2. Charuco Support (PhotonVision#1312)

    Add charuco calibration to photonvision. Currently does not support generating custom charuco boards. This does not support https://calib.io/pages/camera-calibration-pattern-generator. Currently only supports the 4X4_50 family. Also removes all dotboard calibration. Fixes using the lowest possible fps while doing calibration (now uses the highest fps available for each resolution).
    BytingBulldogs3539 authored May 10, 2024
    Configuration menu
    Copy the full SHA
    70c2cde View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1139511 View commit details
    Browse the repository at this point in the history
  4. Expose object detection class id/conf in photonlib (PhotonVision#1266)

    * Implement class id/conf in photonlib
    
    * Maybe fix things
    
    * run lint
    
    * Update Packet.java comments
    
    * Update Packet.java comments again
    
    * Update comments
    
    * oops
    
    * Update packet.py
    
    ---------
    
    Co-authored-by: Chris Gerth <[email protected]>
    mcm001 and gerth2 authored May 10, 2024
    Configuration menu
    Copy the full SHA
    1708376 View commit details
    Browse the repository at this point in the history
  5. Allow file uploads of any size and better report active cameras in Ph…

    …otonCamera error print (PhotonVision#1298)
    
    Previously reported itself which was confusing. New print:
    
    ```
    Error at org.photonvision.PhotonCamera.verifyVersion(PhotonCamera.java:378): Found the following PhotonVision cameras active on NetworkTables:
     ==> HD_Pro_Webcam_C920
     ==> Arducam_OV9281_USB_Camera
    ```
    mcm001 authored May 10, 2024
    Configuration menu
    Copy the full SHA
    713fad6 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Disable Arm32 Builds (PhotonVision#1325)

    Disables Arm32 builds and removes mention of the build option in the README.
    Craftzman7 authored May 20, 2024
    Configuration menu
    Copy the full SHA
    9e58f5e View commit details
    Browse the repository at this point in the history
  2. [PhotonLib C++] Fix SetVersionCheckEnabled to actually disable versio…

    …n checking (PhotonVision#1323)
    
    * change verifyversion to use member variable
    
    * Revert "change verifyversion to use member variable"
    
    This reverts commit 4439839.
    
    * Removed inline specifier for versioncheck variable
    
    ---------
    
    Co-authored-by: Drew Williams <[email protected]>
    r4stered and Drew Williams authored May 20, 2024
    Configuration menu
    Copy the full SHA
    74a051d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12cb082 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Move PhotonVersion to C++ file (PhotonVision#949)

    This was supposed to speed up incremental compilation, but not sure it actually does. It's better form tm tho and fixes a robotpy-wrapper weirdness
    mcm001 authored May 25, 2024
    Configuration menu
    Copy the full SHA
    ed08e2a View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Configuration menu
    Copy the full SHA
    98633e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0eeedf4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9eae7a4 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Update maven URL to reposilite (PhotonVision#1330)

    Also bumps to new builds of artifacts (NFC)
    mcm001 authored May 29, 2024
    Configuration menu
    Copy the full SHA
    fcca858 View commit details
    Browse the repository at this point in the history
  2. Allow opencv8 distortion model in PhotonCamera (PhotonVision#1317)

    We previously assumed only OpenCV5 but mrcal uses opencv8
    mcm001 authored May 29, 2024
    Configuration menu
    Copy the full SHA
    19b4802 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    f792b46 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Change default AprilTag family to 36h11 (PhotonVision#1333)

    Change default AprilTag family to 36h11
    
    Resolves PhotonVision#1226
    spacey-sooty authored May 31, 2024
    Configuration menu
    Copy the full SHA
    e34b114 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. Configuration menu
    Copy the full SHA
    6ff7b3e View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

  1. Fix libcamera not found bug (PhotonVision#1326)

    * Update build.yml
    Juniormunk authored Jun 2, 2024
    Configuration menu
    Copy the full SHA
    db531f1 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Camera Lost Stream (PhotonVision#1341)

    * Fix no stream on camera unplug.
    
    * Spotless remove datarate
    
    * Make Static Frames Class
    
    * lint and format
    Juniormunk authored Jun 7, 2024
    Configuration menu
    Copy the full SHA
    7b19a95 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. Add photon.pb.h/PhotonVersion to cpp headers zip & create combined so…

    …urces zip (PhotonVision#1335)
    
    Combined sources zip is useful for robotpy to build both targeting & lib in the same build
    mcm001 authored Jun 9, 2024
    Configuration menu
    Copy the full SHA
    5289948 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Create combine job and offline vendordep ZIP (PhotonVision#1343)

    * Create combine job
    
    * Update build.yml
    
    * Bump max workers in photonlib
    
    * Oops
    
    * actually kill entirely
    
    * Maybe fix test
    
    * Don't run tests
    
    * Update OpenCVTest.java
    
    * Update build.yml
    
    * Use upload-artifact@v4
    
    * Update build.yml
    
    * Update build.yml
    mcm001 authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    655909c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    230e737 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    292c7a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Bump libcamera driver version (PhotonVision#1346)

    * Update build.gradle
    Juniormunk authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    0105df9 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    8f0cc0a View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. fix CSI camera null quirks error (PhotonVision#1349)

    temp fix for this issue with csi cameras
    Juniormunk authored Jun 19, 2024
    Configuration menu
    Copy the full SHA
    1d98105 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Support more charuco boards (PhotonVision#1348)

    Add support for the old opencv charuco board like calibio. 
    
    Add support for other tag families while calibrating.
    
    Fix calibration issue index out of range with charuco missing points.
    Juniormunk authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    8c45fef View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Bump wpilib to 2025.0.0-alpha-1 and break non-FRC JDKs (PhotonVision#…

    …1356)
    
    Windows users will have to add
    `"-Dorg.gradle.java.home=C:\Users\Public\wpilib\2024\jdk"` to gradle
    invocations, ie `./gradlew run
    "-Dorg.gradle.java.home=C:\Users\Public\wpilib\2024\jdk"`, due to MSVC
    ABI breakages and other stupidity
    mcm001 authored Jun 30, 2024
    Configuration menu
    Copy the full SHA
    0cdd9a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcc7ddc View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    e7e59ed View commit details
    Browse the repository at this point in the history
  2. Adds support for OV9782's quirks (PhotonVision#1284)

    The OV9782 camera has a specific exposure range, so a camera quirk for
    it needs to exist. The default white balance is also pretty bad, so it
    must be adjusted.
    
    Closes PhotonVision#1204
    
    ---------
    
    Co-authored-by: Matt <[email protected]>
    Co-authored-by: Cameron (3539) <[email protected]>
    3 people authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    173b6d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Fix OV9782 typos (PhotonVision#1358)

    There were a couple of typos in the last OV9782 fix, this addresses
    those. Additionally, remove Matt's comment that he forgot.
    Juniormunk authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    fab7591 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    9ad9b82 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Use pnpm instead of npm (PhotonVision#1375)

    Pnpm is like npm except instead of keeping multiple copies of
    dependencies, it shares a single copy for multiple dependencies
    significantly reducing build time and the space needed to hold all the
    dependencies. Read [here](https://pnpm.io/motivation) for more info.
    
    This changes our CI to use pnpm and allows developers to choose to use
    pnpm instead of npm. Also, pnpm has a built-in node version manager so
    devs no longer need to use nvm to work on photonvision. All npm
    functionality (including photon-server gradle tasks) still functions
    using npm so this isn't breaking. We should make a docs change to
    suggest to use pnpm.
    srimanachanta authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    3c58b05 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10f74bb View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Revert "Use pnpm instead of npm" (PhotonVision#1382)

    Reverts PhotonVision#1375
    
    Causes white screen UI Bug, "the way we currently strap everything with
    vue2 and vuetify has a lot of footguns in it, and using a newer package
    manager where each subdependency gets its own version of node is causing
    incorrect dependency resolution which also means we can't fix this
    without either updating node or patching those dependencies id say just
    revert the PR for now until I or someone else can do the vue3 update"
    Juniormunk authored Jul 31, 2024
    Configuration menu
    Copy the full SHA
    d1e7fd4 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    974a926 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Configuration menu
    Copy the full SHA
    37e9d40 View commit details
    Browse the repository at this point in the history
  2. Use ReadQueue for PhotonCamera timestamps (PhotonVision#1316)

    This removes the extra GetLastChange call to keep everything properly
    atomic.
    
    Closes PhotonVision#1303
    mcm001 authored Aug 4, 2024
    Configuration menu
    Copy the full SHA
    67463a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    ac1fc2a View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    c330204 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Update install.sh for OPi5 Ubuntu 24.04 (PhotonVision#1390)

    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 authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    dbe566c View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Move to using Absolute Exposure Range (PhotonVision#1352)

    Uses logic in
    PhotonVision/photon-libcamera-gl-driver#16 to
    push the ov9281 down to its true minimum exposure.
    
    Updates UI to list the exposure settings in ~~microseconds.~~ Native
    units - not everyone works in microseconds.
    
    Does its darndest to actually try to set the exposure in
    ~~microseconds.~~ Native Units. To do this...
    
    Lifecam is funky when doing this - [cscore limits the exposure settings
    to certain quantized
    values](https://github.com/wpilibsuite/allwpilib/blob/main/cscore/src/main/native/linux/UsbCameraImpl.cpp#L129).
    Add a new camera quirk to allow that.
    
    ~~Updated camera quirks to re-evaluate every camera load (rather than
    recalling from settings - this shouldn't be necessary)~~ This should be
    rolled back, needed for arducam type selection.
    
    Updated camera quirk matching logic to make PID/VID optional, and
    basename optional (and only match trailing characters). This enables
    mirroring CSCore's logic for identifying lifecams by name.
    
    Updated the USBCamera to primarily use cscore's exposed property names.
    
    Since camera manufacturers use a potpourri of names for the same
    thing....
    
    For nice-to-have settings: new soft-set logic to try all possible names,
    but gracefully pass if the property isn't there.
    For required settings: Search a list for the first setting that's
    supported, fail if none are supported.
    
    More logging of camera properties to help debug.
    
    Note: most of this work is because cscore doesn't directly expose a
    massaged exposure-setting-absolute API (and, given what we've seen,
    probably _shouldn't_, this struggle is not for the faint of heart).
    
    ---------
    
    Co-authored-by: Matt <[email protected]>
    gerth2 and mcm001 authored Aug 17, 2024
    Configuration menu
    Copy the full SHA
    f1d1d32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5c2a7a View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Configuration menu
    Copy the full SHA
    0493ef9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8626376 View commit details
    Browse the repository at this point in the history
  3. Fixed PipelineManager logic

    levyishai committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    5a1dd43 View commit details
    Browse the repository at this point in the history
  4. spotless

    levyishai committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    2f7842c View commit details
    Browse the repository at this point in the history
  5. Error fixes

    levyishai committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    a074f85 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19a19fe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f3faf80 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Revert "Trying reverting some changes"

    This reverts commit f3faf80.
    levyishai committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0125654 View commit details
    Browse the repository at this point in the history