Closed hadiTab closed 4 years ago
I will check and get back to you.
@hatem-darweesh were you able to check this out? Thanks.
@hatem-darweesh can you check and see if you can get what I tried above to work on your end? Thanks.
Hi hadiTab,
I tested the lane change, it works.
check this video https://youtu.be/o6NndnQLJHA
Regards,
@hatem-darweesh thanks for looking into it. It works for me if I choose the same path you did. However, I still can't get it to work with the vehicle starting position being after that turn in the road (the first scenario I show in the pictures above). Can you look into that? Thanks.
@hatem-darweesh Thank you for sharing the video. I have tried this as well; it works just as shown in the video, but it doesn't work with my point cloud and the paths generated using VectorMapper. Do you happen to have more information about why this could be?
Dear @hadiTab , I can see the problem now, this could be either from "FindAdjacentLanes" function or "PlanUsingDP" that may take some time. hopefully not much.
Regards,
@hatem-darweesh I noticed something that may be related to this. I've been printing the laneId for the waypoints saved in the final path that is generated in PlanUsingDP function. I noticed that all of the waypoints have the same laneId. This seems wrong to me because the laneId's in the vector map seem to correspond to short segments of the lane only (about 1 meter or so). Similarly the lane to the right and left has one lane ID for all of those waypoints.
Also, when I print the number of points in the points attribute of the lane object, I get a very large number, but in the vector map each lane id seems to be associated with only two points (per dtlane.csv and lane.csv). This make it seem like all of the points in a road segment are getting assigned to only one lane ID. Is this intentional?
@hadiTab This is not the problem, there are difference in the way of vector map and local OpenPlanner map is represented. most probably the problem is in PlanningUsingDP, but still need more investigation
I have enabled lane change in OpenPlanner using as suggested by @hatem-darweesh here. However, I still cannot plan a global path using way_planner that will include a lane change even when I use the vector maps for the quickstart demo.
This is the message I get when trying to set a route:
This is how I am setting the route: 1) set pose:
2) set nav goal:
If I try something similar over the turn at the start of the map I get some weird forking path: