Robotics StackExchange | Archived questions

Global planning with Autoware 1.14 and .osm Vector map

I am using Autoware 1.14 in ROS Melodic, installed from source and built with CUDA.
I have created a vector map using the Tier4 tool (https://tools.tier4.jp/vector_map_builder_ll2/). The output of that map is a .osm file (it's a dummy map, but I guess it should work, available here )

I am loading the TF config and the map in rviz and it displays correctly. However, when I use the RViZ tools to provide the initial 2D pose and Goal for the Global planner, the result I get is:

Error: PlannerH -> Can't Find Global Waypoint Nodes in the Map for Start (X:11.4938001633, Y:-0.653051376343, Z:0, A:-0.000284457230009
Lon:0, Lat:0, Alt:0, Dir:0
) and Goal (X:16.6143951416, Y:-0.562653541565, Z:0, A:0.121018230915
Lon:0, Lat:0, Alt:0, Dir:0
)

I guess something is wrong with the map, but what?
In the opglobalplanner tab, I have enabled replanning, smoothing and Rviz goals. Velocity source is Autoware.

Asked by kosmastsk on 2020-07-24 04:30:18 UTC

Comments

Answers

I had the same issues with the lanelet map as well but Hatem helped me out. I ended up using the previous version Tier4 map maker (for V1.12) then you need to add dtlane.csv (just the header, no parameters inside) for it to be able to be used in openplanner.

Asked by JoloGermanAg on 2020-07-26 12:10:50 UTC

Comments

Can you please give me simple map demo?I made my map with Tier4(V1.12) and added the dtlane.csv manually as you said but it didn't work as well.So I think if I can compare yours with mine,maybe I can locate whereas my mistake is.Thank you very much! And my email is fantasyplus123@gmail.com

Asked by fantasyplus on 2020-08-01 02:59:23 UTC

I just realized you need to add one line of zeros under the header but here's a link to my map. There is an issue with visualization in RVIZ (if you open it without dtlane then you can see the map in rviz but if you open it with dtlane then the map doesnt show but it loads up fine and stop line's are recognized properly!) Google Drive

Asked by JoloGermanAg on 2020-08-01 13:23:44 UTC

Does your map shows vector_center_lines on rviz when push op_global_planner? And then set 2D pose and Goal,how about global_path?

Asked by fantasyplus on 2020-08-02 21:58:41 UTC

yes, when you push op_global_planner you need to add the correct topic in rviz (not sure what it's called but when you see it you would know). Once you set 2D pose and goal it will calculate the path and show that as well if you have the right topics added in rviz

Asked by JoloGermanAg on 2020-08-02 22:39:01 UTC

if it doesn't show i can make a video monday/tuesday and show you

Asked by JoloGermanAg on 2020-08-02 22:39:55 UTC

I have done all this through autoware offical demo,but I can't see the gray line(which is vector map center line in rviz) other than the blue line(which is global path in rviz) with your map or mine.Maybe I missed some critical steps,If you can make a video for me ,I will appreciate you very much!Thanks for shared spirit.

Asked by fantasyplus on 2020-08-03 01:42:57 UTC

Sorry for the delay, the video didn't save properly so I'll retake it later this week when I can go back to the lab!

Asked by JoloGermanAg on 2020-08-05 12:14:46 UTC

Thanks for helpness.Although I have got it successfully yesterday.If you have recorded already,just share with me :) Anyway,thanks again.

Asked by fantasyplus on 2020-08-05 19:53:55 UTC

awesome, do you know what was wrong?

Asked by JoloGermanAg on 2020-08-05 20:07:10 UTC

You can change dtlane.csv first data(DID) to 1,and then rviz will show the map with dtlane.csv

Asked by fantasyplus on 2020-08-06 03:47:14 UTC

Hello can you also send the video to this email: cher4109@kettering.edu I'm also facing this problem with the centerline.

Asked by Cher4109 on 2021-04-16 14:19:45 UTC

I found that in the open_planner code

It need the vector_map_info which it's ~V1.12 from the making map website.

I try to use lanelet2 to convert it into vectormap (and I found someone want to do it too but it didn't work in V1.14)

( by the way the V1.12 making map website is very hard to use... maybe the unity one will be great.

Asked by Kin_Zhang on 2021-04-13 20:12:13 UTC

Comments