Commit Graph

35 Commits

Author SHA1 Message Date
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
Chris Mower
b53fdf75f6 Add optional robot radius to RRT/RRTStar path planners (#655)
* Add optional robot radius to RRT/RRTStar path planners.
* update __init__ and check_collision to include radius
* during animation, if a robot radius is given then it is drawn

* Add test for robot radius

* Correct import error

* Correct missing robot_radius errors

* Address "expected 2 blank lines, found 1" error

* Address "line too long" errors

* Add missing argument description.

* Remove collision_check_with_xy and replace with check_collision

* Fix "missing whitespace after ','" error

* Update PathPlanning/ClosedLoopRRTStar/closed_loop_rrt_star_car.py

Co-authored-by: Atsushi Sakai <asakai.amsl+github@gmail.com>

Co-authored-by: Atsushi Sakai <asakai.amsl+github@gmail.com>
2022-04-19 12:53:24 +09:00
Atsushi Sakai
049709fd8b fix #581 (#582)
* update docs

* update docs
2021-11-27 22:13:55 +09:00
Haegu Lee
fe4ce92c4b Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart (#516)
* Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart

* Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart

* Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart

* Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart

* Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart
2021-06-21 22:44:06 +09:00
Atsushi Sakai
67d7d5c610 Test code clean up (#456)
* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up

* Test code clean up
2021-01-12 22:13:46 +09:00
Atsushi Sakai
4264cb8b10 fix pure_pursuit sample (#445) 2020-12-20 20:29:36 +09:00
Atsushi Sakai
b8afdb10d8 Using scipy.spatial.rotation matrix (#335) 2020-06-07 20:28:29 +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
cf538756e6 Replaced sqrt(x**2+y**2) with hypot in PathPlanning/ClosedLoopRRTStar/pure_pursuit.py 2019-12-07 23:33:44 +01:00
Guillaume Jacquenot
1fcfa72133 Replaced sqrt(x**2+y**2) with hypot in PathPlanning/ClosedLoopRRTStar/closed_loop_rrt_star_car.py 2019-12-07 23:33:43 +01:00
Guillaume Jacquenot
00f8fd37d3 Replaced sqrt(x**2+y**2) with hypot in PathPlanning/ClosedLoopRRTStar/pure_pursuit.py 2019-12-07 23:27:56 +01:00
Göktuğ Karakaşlı
d019e416ba exit on key 2019-12-07 14:30:18 +03:00
Atsushi Sakai
76977ac256 cleanup closed loop RRT star. 2019-07-28 19:50:02 +09:00
Atsushi Sakai
06dfc05d89 release grid based_sweep_coverage_path_planner.py 2019-07-11 21:12:46 +09:00
Atsushi Sakai
fa374c7477 imporve covergage ratio 2019-02-10 20:52:17 +09:00
Atsushi Sakai
3146531f2f optimize test 2019-02-06 15:59:49 +09:00
Atsushi Sakai
0e71384027 optimize unit tests 2019-02-06 14:37:49 +09:00
Atsushi Sakai
f0b6b7a94d code clean up for LGTM 2019-02-03 10:00:09 +09:00
Atsushi Sakai
b4de4a1db7 code clean up 2019-02-02 15:23:12 +09:00
Atsushi Sakai
98b9f5e84b remove all gif 2019-01-31 15:59:17 +09:00
Atsushi Sakai
3f276bac9d remove np.matrix 2018-12-15 18:11:48 +09:00
Atsushi Sakai
a4a8591018 fix test and code clean up for lgtm 2018-11-23 14:46:16 +09:00
Atsushi Sakai
3a7f3c5587 code clean up for lgtm 2018-11-23 11:03:50 +09:00
Atsushi Sakai
97f0405ab7 replace math.degrees to np.rad2deg 2018-10-24 18:30:52 +09:00
Atsushi Sakai
a164faa7f2 replace math.radians to np.deg2rad 2018-10-23 21:49:08 +09:00
Alexis Paques
b243750a13 Update the pi_2_pi function to a use of a modulo instead of two while. 2018-07-10 09:22:18 +02:00
Atsushi Sakai
00f181621b keep coding 2018-04-02 08:38:16 +09:00
Atsushi Sakai
fd4923f2d4 remove exit() 2018-02-22 13:29:21 -08:00
Atsushi Sakai
4c71239099 add error handling 2018-02-18 10:32:24 -08:00
Atsushi Sakai
fa3692da3e test fixed 2018-02-07 23:42:30 -08:00
Atsushi Sakai
0b1ca74408 change RS path code to correct one 2018-02-07 13:46:13 -08:00
Atsushi Sakai
8535f38583 add tests 2018-01-17 22:37:49 -08:00
Atsushi Sakai
32d3839336 fix dir name 2018-01-16 11:45:11 -08:00