Unity Roads Navigation System: Autonomous driving - Dev Vlog 27
Автор: Prototype Everything
Загружено: 2024-03-28
Просмотров: 296
Please make a U-turn. Your route is being recalculated.
An algorithm searches for the nearest possible road and entry point. From there on, the segments (Bezier curves) are used as waypoints. The further apart the points are, the lower the speed limit. Shorter distances between the points mean lower speed. The vehicle brakes and accelerates autonomously and maintains the speed limit. Steering is done by targeting the waypoints, with a bit of cross-product, a dash of dot, and a spoonful of Lerp.
Bitte wenden. Ihre Route wird neu berechnet.
Ein Algorithmus sucht die nächstgelegene mögliche Straße und einen Einstiegspunkt. Von dort ab werden die Segmente (Bezier-Kurven) als Wegpunkte genutzt. Je weiter die Punkte auseinander liegen, desto geringer ist das Speed-Limit. Kürzere Abstände zwischen den Punkte bedeuten geringe Geschwindigkeit. Das Fahrzeug bremst und beschleunigt autonom und hält das Speed-Limit ein. Das Lenken funktioniert über das Anvisieren der Wegpunkte, ein bisschen Cross-Product, einer Priese Dot und einen Löffel Lerp.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: