Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Latest commit

 

History

History
90 lines (63 loc) · 3.09 KB

README.md

File metadata and controls

90 lines (63 loc) · 3.09 KB

Vex Over Under VRC 9204A Code

Changelog and notes

  • Made separate programs for Arcade and Tank drive
  • Set drivetrain stopping to brake

Avoid driving reverse because the robot can be unstable and lift possibly could affect Auton

11/2

  • Added button selector to cycle through Auton
  • Intake automatically stops after releasing Triball

11/3

  • Added Auton: Near side with hanging pole touch

Auton is consistent in scoring Preloads. Needs more testing on descoring matchload - try testing more specific placement and rotation of matchload

11/6

  • Renamed R2_pressed() to acorn_release()
  • Renamed L1_pressed() to catapult_launch()
  • Renamed R1_pressed() to acorn_grab()
  • Renamed X_pressed() to push()
  • Renamed A_pressed() to arm_drop()

11/7

  • Added automatic and manual controls for catapult launching
  • Added Auton: Far side without hanging pole touch

Far side Auton still needs testing

11/8

  • Added Auton: Near side without hanging pole touch
  • Added Auton: Programming skills
  • Best matchload Triball position is slightly offset to the right - see image

Programming skills needs more testing on barrier jumping

11/9

  • Added Auton: Far side with hanging pole touch
  • Corrected Auton code

Make sure that functions like ...set_turn_velocity() is set as (x, PERCENT) otherwise it will be in RPM and will behave differently from expected Programming skills barrier jumping works

11/10

  • Corrected automatic catapult launching

11/11

  • Near side Auton was changed to just descoring matchload as current design and orignal code resulted in a disqualification because the robot cannot enter the opponents goal
  • Far side Auton was corrected

11/12

  • Currently most of Auton code won't work because intake was scrapped and catapult is under redesign

Currently Tank Drive is behind Arcade Drive as the drivers Tem and Ellis prefer Arcade Drive

11/27

  • Correctly configured the Drivetrain
  • Changed Gear Ratio of the Intake Motor from 18:1 to 6:1

11/30

  • Added prototype control code for arm movement, mapped to L1, L2, and Up (toggle motor direction)

  • Added prototype control code to display motor direction on main screen. Note: not yet tested

  • Updated Tank Drive's functionality to that of Arcade Drive (note: there are some remaining inconsistencies to discuss)

12/4

  • Arm joints and flywheel code now works
  • Added timer to alert driver when there is 30 seconds left in driver control

Note: Do not use port 10, issue with brain

12/6

  • Created template B Team directory with copied A Team Arcade Drive main.py. Note: not adjusted to design of B Team bot! No .vscode settings copied, so recommendation is to use main.py as a reference only.

12/13

  • Edited Walls to be individually controlled using X and Y

2/5

  • Archiving code as a template for next competition
  • Translated to C++ for better code organization (Average of 70 lines per file instead of the 600 lines in the python file)

Authors