Skip to content

aesatchien/FRC2429_2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FRC2429_2024

Code repo for 2024 using robotpy

FRC robot code for the 2024 robot using robotpy-commands-v2. Note, there are a lot of breaking changes from last year.

  • Note code will be updated often during Jan-April 2024 build season

Organization

  • robot - 2024 robot code - TBD
  • gui - 2024 version of the python dashboard
  • sim - utilities for the simulation (field images, etc)
  • tests - simple one-file robots for testing a system using wpilib.TimedRobot
    • distance sensors, drivetrain, elevator/turret/wrist/arm, pneumatics
  • other_robots - code for practie bots, characterization, etc
    • swerve_base - stripped-down swerve base
    • wcd_bot - stripped-down WCD base

Where's the other stuff?

Installation

Clone the git and install on your own machine: Use "git clone https://github.com/aesatchien/FRC2429_2024.git" from the git bash (or any git aware) shell to download. If you don't have git and you just want to look at the code, you can download the repository from the links on the right.

Notes on how to install python and the necessary accessories (particularly the robotpy libraries) that will get all of this running: 2024 Python Installation but may be a bit cryptic. I'll help if you need it. basically, in your python environment you'll need a pip install robotpy and if you are working on anything else several more packages.

Once everything is installed, you need to go to the folder with robot.py. From there, commands like (new for 2024)

python -m robotpy sim

should bring up the simulator and allow you to check to see if your gamepad is recognized (you can also use the keyboard) and should be able to let you drive a virtual robot around the field if you have a gamepad. python -m robotpy deploy and python -m robotpy sync will send your code to the robot and sync your packages, respectively. Read more about it here.

About

Repo for FRC 2429 robot code for 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages