Skip to content

Latest commit

 

History

History
executable file
·
67 lines (51 loc) · 2.02 KB

README.md

File metadata and controls

executable file
·
67 lines (51 loc) · 2.02 KB

50805a.

this project implements a control system for 50805A VEX V5 team using pros and lemlib.

features

  • dual joystick tank drive with a exponential drive curve
  • autonomous mode selection via lvgl gui
  • intake control system
  • pneumatic systems for mobile goal clamp and intake positioning
  • temperature monitoring for drivetrain and intake motors
  • reverse drive functionality
  • match timer with controller rumble alert
  • and many more driver convenience features

hardware configuration

  • drivetrain: 6 motors per side (66w)
  • intake: 1 motor (11w)
  • sensors:
    • imu
    • horizontal tracking wheel
  • pneumatics:
    • mobile goal clamp (large)
    • intake piston (large)

usage

  1. flash the program to your VEX V5 brain
  2. run the program
  3. use the lvgl gui on the brain screen to select autonomous mode
  4. in driver control:
    • left/right joysticks control drivetrain
    • r1/r2 buttons control intake
    • l1 toggles mobile goal clamp
    • l2 toggles intake position
    • b button toggles reverse drive

autonomous modes

  • close side (default)
  • far side
  • skills
  • off

main.cpp code snippet

Loupe (1)

This snippet showcases:

  1. Real-time match timer with controller feedback
  2. Advanced use of C++ chrono library for precise timing
  3. Motor temperature monitoring and averaging
  4. Dynamic LCD updates with formatted temperature data

libraries used

(dependencies)