Skip to content

changing settings and updating eagleeye

Scythe edited this page Feb 10, 2025 · 2 revisions

How to Update and Change Settings on EagleEye

Changing Settings

To modify settings, first clone the repository or open it in VS Code or PyCharm on a laptop.

Clone the Repository

Run the following command to clone the repository:

git clone https://github.com/frc3322/EagleEye-Object-Detection.git

Then, check out the latest release:

git checkout $(git describe --tags `git rev-list --tags --max-count=1`)

Modify Settings

  1. Open the project in VS Code or PyCharm.
  2. Navigate to src/constants/.
  3. If you are using a system with a graphical interface, run:
    python3 constants_gui.py
    If you are on a terminal-based system or connected via SSH, run:
    python3 constants_terminal_gui.py

Apply Changes

  1. Connect to the robot Wi-Fi.
  2. Run the updater script:
    python3 UPDATER/updater.py
    If the script fails, specify the device hostname:
    python3 UPDATER/updater.py -H <hostname>

Updating EagleEye

Updating EagleEye now follows a streamlined process using the EagleEye-Updater tool.

Download the Latest Release

  1. Navigate to the Releases of https://github.com/frc3322/EagleEye-Updater.
  2. Download the latest release archive.
  3. Extract the contents of the downloaded archive to your desired directory.

Running the Updater

  1. Run main.exe to start the updater.
    • If Windows Defender SmartScreen warns you, click "More info" and then "Run anyway."
  2. Click Download Update when connected to regular Wi-Fi or a hotspot.
  3. Connect to the robot Wi-Fi and click Deploy Update.

Version Notes

  • The current version listed in the tool is cached on your computer and may not reflect the actual version on the robot.
  • Always click Download Update before deploying if the current version appears outdated.

This update process ensures your Eagle Eye software is always up to date with the latest improvements and fixes.