Commit Graph

17 Commits

Author SHA1 Message Date
Zichao Yang
41187d67b1 fix "ModuleNotFoundError: No module named 'utils'" (#1188) 2025-03-16 22:40:11 +09:00
Videh Patel
cc3fd0c55e Using util.angle_mod in all codes. #684 (#946)
* switched to using utils.angle_mod()

* switched to using utils.angle_mod()

* renamed mod2pi to pi_2_pi

* Removed linting errors

* switched to using utils.angle_mod()

* switched to using utils.angle_mod()

* renamed mod2pi to pi_2_pi

* Removed linting errors

* annotation changes and round precision

* Reverted to mod2pi

---------

Co-authored-by: Videh Patel <videh.patel@fluxauto.xyz>
2024-01-02 22:39:48 +09:00
Atsushi Sakai
76b0d04a3c using pathlib based local module import (#722)
* using pathlib based local module import

* remove unused import
2022-09-11 07:21:37 +09:00
Trung Kien
c05a4fdada 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>
2022-01-08 08:44:42 +09:00
Atsushi Sakai
ad5e1aa070 Merge pull request #259 from goktug97/close_on_key
Close on key
2019-12-14 21:33:26 +09:00
Göktuğ Karakaşlı
9ca7d8f148 add comment for stopping the simulation 2019-12-14 14:50:32 +03:00
Guillaume Jacquenot
22e92ed558 Simplified calc_target_index function in stanley_controller.py
Used:

- np.hypot to replace np.sqrt(x**2 + y**2) 
- np.argmin to find location of a minimum in a numpy array
2019-12-07 14:40:28 +01:00
Guillaume Jacquenot
8c701762b4 Fixed typo in stanley_controller.py 2019-12-07 13:54:35 +01:00
Göktuğ Karakaşlı
d019e416ba exit on key 2019-12-07 14:30:18 +03:00
Atsushi Sakai
af854d6d1a add # pragma: no cover 2019-02-03 10:20:23 +09:00
Atsushi Sakai
138f478f4d stanley_controller code clean up 2019-02-03 09:36:05 +09:00
amirx96
2ba3a43686 Fixes to latera error calculation 2019-02-02 13:47:14 -06:00
Atsushi Sakai
a4a8591018 fix test and code clean up for lgtm 2018-11-23 14:46:16 +09:00
Antonin RAFFIN
2a59dafdeb Add comments + clean up 2018-07-01 16:25:20 +02:00
Atsushi Sakai
4a8be2705e remove all dependency 2018-02-11 10:41:31 -08:00
Atsushi Sakai
75c6b7659e stanley_controller first release 2017-12-24 12:23:00 -08:00
Atsushi Sakai
17e28032c2 start implement stanley controller 2017-12-23 22:00:07 -08:00