how to access here hd live maps in matlab video -凯发k8网页登录
discover how to read and visualize lane configurations for a recorded driving route from the here hd live map (here hdlm) service. you can use this visualization to verify the lane configurations detected by the perception system of an onboard sensor, such as a monocular camera. learn how to access the tiled layers from the hdlm service and identify relevant road-level and lane-level topology, geometry, and attributes.
hey, everyone. this is temp bar from mathworks. in this video, i'll talk about how to access here hd live maps using matlab. and i'm going to be following this doc example over here. so that means if you have automated driving toolbox, you can follow along. ok. let's get into some basics.
high definition maps can be used to develop automated driving applications like lane-level verification, localization, and path planning. the accuracy of hd maps allows us to use it as perception ground truth to verify deployed algorithms. here hd live maps is a cloud based hd map service. the map data has many layers which is grouped into three models.
first, the road centerline model. this tells us about shape geometry and other road-level attributes. next, the hd lane model. and this provides lane topology and lane level attributes. finally, we have the hd localization model. this provides features to support vehicle localization strategies.
now, let's jump into matlab. we're going to use here hd live maps to visualize and verified the lane configurations on a recorded drive. so first, i load in the video data that we're working with. i'm going to slightly modify this to show us the entire video instead of the first frame. let's take a look at the video.
next, i'll bring in the corresponding gps data and i'll show you what that looks like on a map. this blue line shows the start and end points of the recorded video. you'll notice from this code that our gps data contains information about the car's route through latitude and longitude coordinates. we are going to use these coordinates as inputs to our here hdl reader function.
now i'll switch to the command window and let's take a look at the reader object specifically, the different layers. in the next few steps i'll show you how to extract information from some of these layers. the first one that we'll look at is the road topology layer. so let's go ahead and plot it so you can see what it looks like. this layer defines the road centers and intersections through nodes and links. you can see the root here in blue. the links represent individual segments of road while the nodes represent the ends of these segments.
now we can use a route matching algorithm to determine how the gps coordinates correspond to the links in our road topology layer. this link information that we extract will be used later on to determine road and lane attributes. for example, let's get the speed limit along the road. here, we'll access the speed attributes layer from the reader and find the speed limit for the path that the car traveled. notice, how we're filtering the roads using the link ids calculated in the previous step.
the speed on this road as we can see is 35 miles per hour. the two layers that we looked at were part of the road centerline model. now let's take a look at the hd lane model. first, we'll take a look at the lane level geometry and topology. let's read and view the lane topology layer. previously, we saw nodes and links representing road topology. here, we have polygons representing lane shapes. the specificity of lane level geometry and lane attributes provide the necessary detail to support automated driving algorithms.
let's obtain this lane boundary information. we're going to use two layers for this. the first is the lane topology layer, which provides the lane geometries that we just saw. the second is the lane road references. this allows us to translate the positions on our road centerline model, which we previously looked at to a corresponding position on the lane model that we're currently using.
just like we extracted a speed for a given segment of the road, we can extract lane attributes for a given lane. this will include information like the boundaries that define the lane. at this point, we've looked at
four layers and extracted information about the roads and the lanes. we can now use this information to perform our intended task to use here hd live maps to visualize and verify lane configurations from our recorded driving video. i'll just pause the video and post just to show you that the lane types and boundaries that you see in our custom player they match our recorded video. so we're able to verify the lane configurations.
let's summarize. first, we accessed here hd live maps using gps data from a recorded video. then we match this gps data to road links and lane groups. and finally, we use attributes to visualize and verify lane configurations from our original video. i hope this helps you get started with accessing here hd live maps.
if you want more information. i highly recommend the doc. there's a lot of technical detail that's captured in the text. and if you scroll down to the bottom, you'll be able to see all the helper functions we used as well. that's all for now, i'll see you in another video. thanks.
featured product
automated driving toolbox
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)