Fix ModuleNotFoundError when executing test in the tests folder and little improve MPC controller (#619)

* Fix ModuleNotFoundError when executing test in the tests folder

Signed-off-by: Trung Kien <letrungkien.k53.hut@gmail.com>

* Improve model_predictive_speed_and_steer_control

- Fix typo
- Using @ for matrix multiplication instead of * with have been deprecated in CVXPY1.1
- Fix missing conftest module in test file

Signed-off-by: Trung Kien <letrungkien.k53.hut@gmail.com>
This commit is contained in:
Trung Kien
2022-01-08 06:44:42 +07:00
committed by GitHub
parent 0dfa274be3
commit c05a4fdada
6 changed files with 21 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
import sys
import conftest
if 'cvxpy' in sys.modules: # pragma: no cover