Skip to content
Snippets Groups Projects
Commit 464118f1 authored by Hadi's avatar Hadi Committed by Martins Mozeiko
Browse files

Fix API docs

parent 74a52c1a
No related branches found
No related tags found
No related merge requests found
......@@ -279,9 +279,9 @@ the `follow` method for the npc vehicle:
```python
npc = sim.add_agent("Sedan", lgsvl.AgentType.NPC)
waypoints = [
lgsvl.DriveWaypoint(lgsvl.Vector(1,0,3), 5, 0, 0, 0),
lgsvl.DriveWaypoint(lgsvl.Vector(5,0,3), 10, 0, 0, 0),
lgsvl.DriveWaypoint(lgsvl.Vector(1,0,5), 5, 0, 0, 0),
lgsvl.DriveWaypoint(lgsvl.Vector(1,0,3), 5, lgsvl.Vector(0, 0, 0), 0, 0),
lgsvl.DriveWaypoint(lgsvl.Vector(5,0,3), 10, lgsvl.Vector(0, 0, 0), 0, 0),
lgsvl.DriveWaypoint(lgsvl.Vector(1,0,5), 5, lgsvl.Vector(0, 0, 0), 0, 0),
]
npc.follow(waypoints, loop=True)
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment