Skip to content

Commit

Permalink
Speed based adaptive lookahead calc added
Browse files Browse the repository at this point in the history
  • Loading branch information
horverno committed Apr 18, 2023
1 parent bdc8cb3 commit 36b0829
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 12 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ It also provides a `/metrics_wayp` array topic with the following elements:
|`[2]` | current waypoint ID
|`[3]` | target waypoint ID
|`[4]` | target waypoint longitudinal distance

<img src="csv/lookahead01.svg" width=60% />

# `waypoint_saver` node
Saves the waypoints to a csv.
# `waypoint_loader` node
Expand Down
1 change: 1 addition & 0 deletions csv/lookahead01.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion launch/waypoint_to_target.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ def generate_launch_description():
name='wayp_to_target',
output='screen',
parameters=[
{"lookahead_distance": 8.6},
{"lookahead_min": 8.5},
{"lookahead_max": 16.0},
{"mps_alpha": 3.5},
{"mps_beta": 5.5},
{"waypoint_topic": "lexus3/waypointarray"}
],
),
Expand Down
Loading

0 comments on commit 36b0829

Please sign in to comment.