Monash-Connected-Autonomous-Vehicle / ESDA

Software stack for MCAVs annual IGVC entry
0 stars 0 forks source link

Implement PID controller #64

Open AbBaSaMo opened 2 months ago

AbBaSaMo commented 2 months ago

Overview

Originally electrical handled PID control on the MCU chip but now that is being delegated to us. It would reduce the amount of overhead their chips will use. PID from what I understand provides some sort of homeostasis between desired wheel velocity and actual wheel velocity.

Some existing implementations exist but they need to fulfil our interfaces i.e. take in the command velocity, wheel velocity as measured by encoders and then output wheel acceleration. This needs to be done per wheel so PID control for wheel 1 will be done separately to wheel 2.

Relevant resources

Acceptance criteria

Todo