hytech-racing / MCU

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

SteeringSystem Potential Adjustments #18

Closed CL16gtgh closed 7 months ago

CL16gtgh commented 7 months ago
CL16gtgh commented 7 months ago

I did the second one, but there are several other things involved. Basically to enable polymorphism via base class pointer, the member functions in SteeringEncoder need to be virtual, and in order for the SteeringSystem to use the base class pointer, the inheritance from SteeringEncoder to ORBIS needs to be public.