Skip to content

Improve drive tuning process #24

@aidnem

Description

@aidnem

Currently there are a couple huge issues with drive, as it appears in the drive state machine branch:

  • No tuning modes for PID
  • All gains are taken from TunerConstants, which means that, if we ever have to regenerate tuner constants, we lose all gains

Fixes:

  • Duplicate all gains out of TunerConstants and into drivetrainconstants. We can let the gains in tuner constants exist, but they should never be used. TunerConstants should basically only provide us with CAN IDs and module positions. We should also try syncing it with JSON, even if the file ends up huge and ugly, simply to be able to configure different drivebase sizes between the real and test drivebase
  • Add tuning modes that let you tune drive and steer PID and feedforwards.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions