Skip to content

CAPS-Robotics/2024-Swerve-concept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Swerve-concept

process

  • Roborio starts with the inital values on start, along with the xbox values
  • sends the values to the motor
  • the encoders and sensors give the motor controllers nesc. values
  • The motor controllers (All at the same time, parallel), do the swerve math, (look at swerveMath.py*, also article)
  • move all the motors
  • Roborio constantly broadcasts Xbox values, motors move

Imp. Note: The motors don't need to complete a movement to do the next movement, they move whenever they recieve an xbox value


red(Rio) Orange(Motor Controller)

Screen Shot 2024-01-27 at 10 44 06 AM

*swerveMath.py contains raw equations, Wpilib/Rev has abstractions

About

Describing Swerve functionality, mockup math

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages