Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.
/ VisionGen Public archive

A Python script to generate Java code for the Robot Vision API.

License

Notifications You must be signed in to change notification settings

kylecorry31/VisionGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

VisionGen

A Python script which generates Java code for the Robot Vision API to help teams get started with simple vision tracking.

Future: Build a GUI for this.

Installation

Install the following dependencies:

  • python3

Then clone this repository.

Usage

To use this script, run the following command from the source directory. Where ClassName is the name of the Java file/class. Answer the questions asked by the script to set the vision parameters.

python3 visiongen.py ClassName

This will generate a file called ClassName.java in the same directory which contains the vision code needed for FRC.

Contributing

Please fork this repo and submit a pull request to contribute. I will review all changes and respond if they are accepted or rejected (as well as reasons, so it will be accepted).

Issues

If you are submitting a bug, please describe the bug in detail and how to replicate if possible. Logs are also very useful.

If you are submitting a feature idea, please describe it in detail and document the potential use cases of that feature if it isn't clear.

Credits

Just me for now.

License

You are free to copy, modify, and distribute VisionGen with attribution under the terms of the MIT license. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Languages