Hyp-ed/hyped-2022

Re-design fake systems to not rely on Sims

Closed this issue · 0 comments

At the moment we require Sims to provide us with files containing sensor readings to test our software. This is problematic because once we change the pod's behaviour, e.g. by adding a state to the state machine, the sims data is off and we cannot simulate a run. This could be fixed by defining a ground truth displacement/velocity/acceleration curve that can then be used to generate sensor readings. This is close to what Sims are doing anyways so we can just rewrite their MATLAB code into a C++ component.

This could even incorporate motor controls as we could make the acceleration dependent on the motors and what they are currently doing.

In any case, Software should not rely on one particular pod design.