Commit Graph

23 Commits

Author SHA1 Message Date
RyderCRD
80124f20e8 Fix the rewire() of rrt* path planning (#550) (#812)
* Update rrt_star_reeds_shepp.py to fix #550

Add step_size attribute to RRTStarReedsShepp, and a method set_random_seed() to set the random seed, with two test cases.

* Update rewire() of rrt_star.py

Update rewire() of rrt_star.py to fix #550.  Since the old version didn't assign path_yaw of edge_node to near_node, the old rewire() doesn't fit rrt_star_reeds_shepp.py

* Update reeds_shepp_path_planning.py

Limit the range of phi for the sake of planning speed, and simplify the the calculation process in straight_left_straight().

* Update reeds_shepp_path_planning.py

* Remove unnecessary cost calculation

Cost of edge_node is calculated in line 221, and self.node_list[i] is replaced to edge_node, so no need to update.

* Update reeds_shepp_path_planning.py
2023-04-27 23:04:39 +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
Göktuğ Karakaşlı
9ca7d8f148 add comment for stopping the simulation 2019-12-14 14:50:32 +03: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
8061e73337 fix LQR rrt star 2019-07-27 16:32:40 +09:00
Atsushi Sakai
0937486803 fix rrt star reeds shepp rewire and test 2019-07-27 15:56:16 +09:00
Jumpei Arima
37b88b3ded fixed path 2019-07-08 23:33:09 +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
f9a4fc1580 code cleanup 2019-02-02 10:38:37 +09:00
Atsushi Sakai
98b9f5e84b remove all gif 2019-01-31 15:59:17 +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
fa3692da3e test fixed 2018-02-07 23:42:30 -08:00
Atsushi Sakai
592c1ce683 fix test and add test for EKF 2018-01-25 11:59:04 -08:00
Atsushi Sakai
d302e2756b fix error handling 2018-01-22 16:28:14 -08:00
Atsushi Sakai
7f40e1d374 add test codes 2018-01-17 18:17:39 -08:00
Atsushi Sakai
bdebdb8784 add tests 2018-01-13 10:07:54 -08:00
Atsushi Sakai
ebeb3d955b code clean up 2018-01-13 10:03:45 -08:00
Atsushi Sakai
6bd4942400 rename dir 2018-01-13 09:42:56 -08:00