Karljohan99 / autoware_mini_practice

MIT License
0 stars 0 forks source link

Practice 6 - simple_local_planner - the stopping point visualization is missing #8

Closed geopimik closed 4 months ago

geopimik commented 5 months ago

There is no stopping point visualization, you should see the line before obstacle that dermines the stopping point, as in the image below.

image

When publishing local path you are missing the stopping_point_distance. More details in task 5.

https://github.com/Karljohan99/autoware_mini_practice/blob/a09abb4acfa7dc931d7fc454a4906f6bcbae5884/practice_6/nodes/planning/local/simple_local_planner.py#L195

Karljohan99 commented 5 months ago

Done in 00e500c

geopimik commented 4 months ago

Your calculation is wrong. It works with static obstacles, but not with dynamic ones. You shouldn't use target_distances. https://github.com/Karljohan99/autoware_mini_practice/blob/64eca9855dd21fe94985e867243abb2b8dce335a/practice_6/nodes/planning/local/simple_local_planner.py#L191 This stopping wall should always be within extra braking distance before the obstacle.

Karljohan99 commented 4 months ago

Should be fixed in 874c942

geopimik commented 4 months ago

ok