alexliniger / MPCC

Model Predictive Contouring Controller (MPCC) for Autonomous Racing
Apache License 2.0
1.29k stars 364 forks source link

Replaced hard indexing with Model Parameter indexing #66

Open nitesh4146 opened 2 years ago

nitesh4146 commented 2 years ago

Found two places where the hard indexing was used for state and control variables. Updated those occurrences with Model Parameter indexing; makes it easier to read and/or modify vehicle model variable.

No effects on simulation functionality.