PathPlanning icon indicating copy to clipboard operation
PathPlanning copied to clipboard

Informed RRT* 2D mistake

Open GuancongLuo opened this issue 3 years ago • 4 comments

GuancongLuo avatar Mar 30 '21 05:03 GuancongLuo

Irrt2600

I think Informed RRT* have some error about calculation path_cost. 4999

GuancongLuo avatar Mar 30 '21 05:03 GuancongLuo

Thanks for your feedback! We will check it later.

zhm-real avatar Jun 09 '21 05:06 zhm-real

Irrt2600

I think Informed RRT* have some error about calculation path_cost. 4999

Do you encounter this error when running? File "C:\Downloads\PathPlanning-master\Sampling_based_Planning\rrt_2D\informed_rrt_star.py", line 288, in draw_ellipse rot = Rot.from_euler('z', -angle).as_dcm()[0:2, 0:2] AttributeError: 'scipy.spatial.transform.rotation.Rotation' object has no attribute 'as_dcm'

Zhang-yulong avatar Mar 22 '22 14:03 Zhang-yulong

Irrt2600 I think Informed RRT* have some error about calculation path_cost. 4999

Do you encounter this error when running? File "C:\Downloads\PathPlanning-master\Sampling_based_Planning\rrt_2D\informed_rrt_star.py", line 288, in draw_ellipse rot = Rot.from_euler('z', -angle).as_dcm()[0:2, 0:2] AttributeError: 'scipy.spatial.transform.rotation.Rotation' object has no attribute 'as_dcm'

You could replace "as_dcm" with "as_matrix". It's a bug about the version of scipy.

Mossholder avatar Sep 16 '22 05:09 Mossholder