hytech-racing / MCU

https://hytech-racing.github.io/MCU/index.html
GNU General Public License v3.0
0 stars 0 forks source link

Rework TC Mux #61

Closed RCMast3r closed 1 day ago

RCMast3r commented 5 months ago
RCMast3r commented 5 months ago

we can just make the torque controllers each different "systems" with each inheriting from a base class that just has the output function and an input that contains a super-state of the car that has every variable that is needed by all the controllers that gets fed by the sensors of the car. this state estimator should handle all of the filtering and sensor data unification for ease of distributing to the controllers. It can just be given access to the CAN interface and the other sensor interfaces.

walkermburns commented 5 months ago

This is probably out of scope for FS Invitational, but we can try. TC MUX and State Estimator should be seperate issues and are each a pretty big project. TC MUX rework is probably higher priority

walkermburns commented 5 months ago

Taking this out of the Formula South Milestone, we are just going to have to work with what we got for now.

walkermburns commented 5 months ago

Ideas for simplification: