FRC2706 / FRC2706/2019-2706-Robot-Code

Speed up switching between drive modes

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, there is a lot of reconfiguration that goes on when switching between drive modes. This can result in delays to switch modes.

See [drivetrain-config](/FRC2706/2019-2706-Robot-Code/tree/drivetrain-config)

- [X] Use PID slots instead of sending new PID values
- [X] Try to reconfigure sensors as little as possible
- [X] Use different Talons for different sensor configurations
- Front left/right for individual control
- Back left combined drive forward
- Back right combined rotation
- [x] Use `SlotConfiguration` class to configure slots rather than setting speed manually

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the drivetrain-config branch and the drive-mode switching implementation it contains. Compare the current switching behavior with the listed completed changes, then verify that switching modes no longer incurs unnecessary reconfiguration delays.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
robotics
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.