Raptacon / Robot-2024

Crescendo
https://raptacon.org
MIT License
2 stars 0 forks source link

Swerve 2024 #31

Closed DarthCooper closed 10 months ago

DarthCooper commented 10 months ago

Types of changes

Right now this only works with swerve drive. We need to update this to work on a config system and then bring over the previous robots. First, run the command "pip install -r requirements.txt" to download robotpy along with other packages. Next, ensure that you have pyproject.toml and then run the command "python -m robotpy sync" to download the extras for robot py. Next connect to the robot and run the command "python -m robotpy deploy" to deploy code and download extras to the robot. That command replaces "python robot.py deploy". Robotpy installer still exists but is ran by "python -m robotpy installer install-[package to install]". Commands 2 is also in beta and doesn't work incredibly well, so we need to be cognitive of that until a full release is made.

Documentation of changes

Also the driver station for 2024 doesn't work, it will play an error message stating that there is a "internal issue with print and error message". This can be avoided by using the 2023 driver station. Hopefully this will be changed soon.