apollo icon indicating copy to clipboard operation
apollo copied to clipboard

How to add default route in my own map

Open hzdsdhr opened this issue 8 years ago • 4 comments

I can see many default routes in sunny_vale_big_loop map, how to add these kinds of default routes in my own map for sim_Control?

hzdsdhr avatar Apr 23 '18 08:04 hzdsdhr

If you have already prepared your own map data including a base_map and a routing_map, and you are able to load and visualize your map in Dreamview, you can use 'Layer Menu'->'Point of View'->'Map' to drag and zoom the map, and get the x,y-coordinates of your mouse pointer. These x,y-coordinates can be used to construct the waypoint in the default_end_way_point.txt which is in turn read by default routing.

unacao avatar Apr 25 '18 23:04 unacao

@unacao Thank you for your help, really appreciate it.

hzdsdhr avatar Apr 27 '18 05:04 hzdsdhr

If you have already prepared your own map data including a base_map and a routing_map, and you are able to load and visualize your map in Dreamview, you can use 'Layer Menu'->'Point of View'->'Map' to drag and zoom the map, and get the x,y-coordinates of your mouse pointer. These x,y-coordinates can be used to construct the waypoint in the default_end_way_point.txt which is in turn read by default routing.

@unacao : I have one more question here, could i use the upper methode to get the coordinate of the lane boundary and center line of the lane ?

zeyu-zha avatar Apr 20 '20 09:04 zeyu-zha

In map view, you can get any coordinates reading from the mouse pointer.

unacao avatar Apr 21 '20 01:04 unacao