gwhs / FalconRecharged2021

First Robotics 2021 Infinite recharge source code for team 5507 Robotic Eagles, Washington High School, San Francisco CA
Other
1 stars 4 forks source link

Add Full Auto deploy #35

Closed jhajel closed 2 years ago

jhajel commented 2 years ago

Auto Deploy will release the climber.

jhajel commented 2 years ago

The calculated ticks per distance should be (2048 48)/ (1.9 pi) but it is bit too high. We should play with this on Wednesday.

jhajel commented 2 years ago

Ok, I've been thinking about this a bit. Here is a potential algorithm:

jhajel commented 2 years ago

Also, for the auto deploy it should be

  1. Upper arm move 8" up with a timeout of 1 second
  2. in parallel move upper up the remaining 8" and the lower the full 16"
  3. Optionally, engage brake

Also, check the speed of the climber motors and bump up as needed.

jhajel commented 2 years ago

Nice job!