mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:22 -04:00
Fix: dead link URL in doc (#1087)
* fix dead url links * change link to MPC course * remove dead link
This commit is contained in:
@@ -34,7 +34,7 @@ def detect_collision(line_seg, circle):
|
||||
"""
|
||||
Determines whether a line segment (arm link) is in contact
|
||||
with a circle (obstacle).
|
||||
Credit to: http://doswa.com/2009/07/13/circle-segment-intersectioncollision.html
|
||||
Credit to: https://web.archive.org/web/20200130224918/http://doswa.com/2009/07/13/circle-segment-intersectioncollision.html
|
||||
Args:
|
||||
line_seg: List of coordinates of line segment endpoints e.g. [[1, 1], [2, 2]]
|
||||
circle: List of circle coordinates and radius e.g. [0, 0, 0.5] is a circle centered
|
||||
|
||||
@@ -66,7 +66,7 @@ def detect_collision(line_seg, circle):
|
||||
"""
|
||||
Determines whether a line segment (arm link) is in contact
|
||||
with a circle (obstacle).
|
||||
Credit to: http://doswa.com/2009/07/13/circle-segment-intersectioncollision.html
|
||||
Credit to: https://web.archive.org/web/20200130224918/http://doswa.com/2009/07/13/circle-segment-intersectioncollision.html
|
||||
Args:
|
||||
line_seg: List of coordinates of line segment endpoints e.g. [[1, 1], [2, 2]]
|
||||
circle: List of circle coordinates and radius e.g. [0, 0, 0.5] is a circle centered
|
||||
|
||||
Reference in New Issue
Block a user