Commit Graph

2126 Commits

Author SHA1 Message Date
Göktuğ Karakaşlı
077f120197 Merge branch 'icp_optimize' 2019-10-25 15:45:00 +03:00
Göktuğ Karakaşlı
bf0652970a optimize nearest_neighbor_assosiation 2019-10-25 15:38:25 +03:00
Göktuğ Karakaşlı
7a1784ad47 condition check is moved
condition check is moved from the inside of the resampling function
to the outside of the function, this way the purpose of the
function is much clear. Instead "resampling" every iteration,
resample if the condition holds.
2019-10-24 19:43:30 +03:00
Göktuğ Karakaşlı
9f4102378a change resampling calculation to match with the book 2019-10-23 21:46:33 +03:00
Göktuğ Karakaşlı
692b7bd684 Fix wrong rotation direction
- The obstacle rotation for the rectangle obstacle calculation
is wrong. It should be positive instead of negative.
2019-10-23 10:14:14 +03:00
Atsushi Sakai
66fe2f5ef6 Merge remote-tracking branch 'origin/master' 2019-10-20 15:01:06 +09:00
Atsushi Sakai
245838250b fix unittests. 2019-10-20 15:00:57 +09:00
Atsushi Sakai
afbcdfc0bd update tests 2019-10-20 11:27:37 +09:00
Atsushi Sakai
71c124bdd3 Update issue templates 2019-10-17 22:00:10 +09:00
Atsushi Sakai
35ea4b955c code clean up for DWA 2019-10-17 21:53:39 +09:00
Atsushi Sakai
0463dc80e1 Merge pull request #240 from goktug97/master
DWA Rectangle Robot Type
2019-10-17 21:49:44 +09:00
Francisco Moretti
c1ba9bab0a fix check segment intersection with obstacle
The previous method only worked because the step that checked collision
from a point of the line to obstacles was the same as the minimum
obstacle radius. If the obstacle radius is very small a great amount of
steps would be required.
Thus It's better to check the distance from the segment to the obstacles
directly and compare with obstacle radius
Now there is no need to have two check functions.
2019-10-17 09:09:54 -03:00
Göktuğ Karakaşlı
adb4e99ceb Fix transpose error of the rotation matrix 2019-10-16 21:03:18 +03:00
Göktuğ Karakaşlı
0ec56812be Add type checking for robot_type 2019-10-16 20:17:46 +03:00
Göktuğ Karakaşlı
457b4086ef Change string to RobotType enum 2019-10-16 19:24:37 +03:00
Göktuğ Karakaşlı
bcdf088684 Change robot_type comparison to enum class named RobotType
- Instead of using string based comparison for robot_type, use Enum class.
- Append authors
2019-10-16 19:19:11 +03:00
Göktuğ Karakaşlı
d98604158c add test for the rectangle robot type 2019-10-15 22:03:28 +03:00
Göktuğ Karakaşlı
4cedb7aad4 Add rectangle robot type and collision check
Add collision check for rectangle robots
Add new function to draw robot depending on the type
2019-10-15 21:55:56 +03:00
Göktuğ Karakaşlı
dee0fe7414 Merge branch 'master' of https://github.com/AtsushiSakai/PythonRobotics 2019-10-15 21:27:56 +03:00
Atsushi Sakai
87a5517c3a code clean up for DWA sample. 2019-10-15 21:56:17 +09:00
Atsushi Sakai
b9bc3aa24c Merge pull request #239 from goktug97/master
Optimize DWA obstacle cost calculation
2019-10-15 21:40:22 +09:00
Atsushi Sakai
a520d83b39 Merge pull request #238 from AtsushiSakai/fix_randn_problem_with_covariance_matrix
fix_randn_problem_with_covariance_matrix
2019-10-13 08:31:32 +09:00
Göktuğ Karakaşlı
23c73567d6 Optimize the obstacle cost calculation.
The calculation was too slow to work with more obstacles.
The calculation function is vectorized to increase the speed.
2019-10-12 15:08:20 +03:00
Atsushi Sakai
bf3b4680ec fix randn usage and code clean up 2019-10-12 20:48:04 +09:00
Göktuğ Karakaşlı
07f07814a2 Merge branch 'master' of https://github.com/AtsushiSakai/PythonRobotics 2019-10-12 14:40:53 +03:00
Göktuğ Karakaşlı
8fb4b8a564 optimize obstacle cost calculation
The obstacle calculation was too slow to work with more obstacles,
it is vectorized to speed up the calculation.
2019-10-12 14:35:00 +03:00
Atsushi Sakai
46e0506cf5 Start fixing randn 2019-10-12 14:01:54 +09:00
Atsushi Sakai
0cca27df3a Merge pull request #235 from AtsushiSakai/fix_particle_filter
Fix #229
2019-10-12 11:31:41 +09:00
Atsushi Sakai
85bf664a91 fix PF problems 2019-10-11 20:49:07 +09:00
Atsushi Sakai
415bf654f1 Fix #229 2019-10-11 20:13:27 +09:00
Atsushi Sakai
0c5bb95761 Update users_comments.md 2019-10-09 19:42:51 +09:00
Atsushi Sakai
6a31368b77 Merge pull request #231 from sszwfy/master
fix error for  goal cost angle
2019-10-07 20:21:29 +09:00
sszwfy
b942c430e6 fix error for goal cost angle 2019-10-06 14:32:22 +08:00
Atsushi Sakai
b7f6c1c0bc Merge pull request #230 from AtsushiSakai/upgrade_python_to_3_7
try to upgrade 3.7
2019-10-06 11:13:06 +09:00
Atsushi Sakai
16891e60d1 revert it 2019-10-06 09:18:35 +09:00
Atsushi Sakai
0e689bf0e8 removed pycharm markdown setting 2019-10-06 09:12:29 +09:00
Atsushi Sakai
45f90ca37f try to upgrade 3.7 2019-10-06 08:57:53 +09:00
Atsushi Sakai
d2da3abe25 fix safe index reference 2019-10-05 18:00:18 +09:00
Atsushi Sakai
591ba9ed06 Merge pull request #228 from naveenkul/patch-1
convert 1D array to scalar for np.matmul operation
2019-10-03 20:53:18 +09:00
Naveen
67141071c9 convert 1D array to scalar for np.matmul operation
thrust variable is currently a 1D numpy array so the matmul function throws an error when executed, converting thrust to a scalar before the matmul operation solves the issue.
2019-10-02 17:48:51 -07:00
Atsushi Sakai
7e697d8e53 Merge pull request #227 from AtsushiSakai/fix-last-expansion-collision-check
fix last expansion collision detection
2019-10-02 21:01:16 +09:00
Atsushi Sakai
295645f416 fixed rrt star.py 2019-10-02 20:51:22 +09:00
Atsushi Sakai
a5c7096c7b fixed rrt_with_pathsmoothing.py 2019-10-02 20:28:59 +09:00
Atsushi Sakai
3cef87ea3f fixed rrt.py 2019-10-02 20:19:33 +09:00
Atsushi Sakai
09596b39a3 Merge pull request #225 from sumejko92/cvxpy_link_fix
cvxpy link fixed
2019-10-02 19:46:32 +09:00
Pavel
97d6dbdd6c cvxpy link fixed 2019-10-01 23:02:50 +03:00
Atsushi Sakai
41a9237c88 Merge remote-tracking branch 'origin/master' 2019-10-01 20:10:52 +09:00
Atsushi Sakai
eefa6bf20a try to check collision check bug 2019-10-01 20:10:42 +09:00
Atsushi Sakai
a485b01377 Update getting_started.rst 2019-09-22 22:31:17 +09:00
Atsushi Sakai
7bafe3d7a5 Update users_comments.md 2019-09-22 22:12:57 +09:00