Skip to content

Commit

Permalink
init Vector map
Browse files Browse the repository at this point in the history
Signed-off-by: ismetatabay <[email protected]>
  • Loading branch information
ismetatabay committed Oct 9, 2023
1 parent bb1747f commit 5d30482
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/how-to-guides/integrating-autoware/creating-maps/.pages
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
nav:
- index.md
- Open-source SLAM algorithms: open-source-slam
- Converting UTM map to MGRS map: convert-utm-to-mgrs-map
- Converting UTM map to MGRS map: converting-utm-to-mgrs-map
- Pointcloud map downsampling: pointcloud-map-downsampling
- Creating a vector map: creating-vector-map
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
nav:
- index.md
- Lanelet 2: lanelet2
- Crosswalk: crosswalk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nav:
- index.md
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Creating a crosswalk attribute
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Creating a vector map

## Overview

In this section, we will explain how to create Lanelet2 maps with TIER IV's [vector map builder tool](https://tools.tier4.jp/feature/vector_map_builder_ll2/).

If you want to look at another method,
[MapToolbox](https://github.com/autocore-ai/MapToolbox) is a plugin for [Unity](https://unity.com/) specifically designed to create Lanelet2 maps for Autoware.
We didn't recommend [JOSM](https://josm.openstreetmap.de/) since it needs modifications for Autoware usage.
So, this process can be tedious and time-consuming.

## Vector Map Builder

You need a TIER IV account for using vector map builder tool.
So, if you have not before, please [create a TIER IV account](https://account.tier4.jp/registration?return_to=/oidc/login?login_challenge=81c846efae994bf8a79dac0aab6b8875)
in order to use [vector map builder tool](https://tools.tier4.jp/feature/vector_map_builder_ll2/).

You can follow these pages for creating a Lanelet2 map and its regulatory elements.

- [Lanelet 2](./lanelet2)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nav:
- index.md
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Creating a Lanelet

At this page, we will explain how to create a simple lanelet on your pointcloud map.

## Creating a Lanelet2

Firstly, we need to import our pointcloud map to vector map builder tool:

1. Please click `File`.
2. Then, click `Import PCD`.
3. Click `Browse` and select your .pcd file.

You will display the point cloud on your vector map builder tool after the upload is complete:

<figure markdown>
![pointcloud-map](images/pointcloud-map.png){ align=center }
<figcaption>
Uploaded pointcloud map file on vector map builder
</figcaption>
</figure>

Now, we are ready to create lanelet2 map on our pointcloud map:

1. Please click `Create`.
2. Then, click `Create Lanelet2Maps`.
3. Please fill your map name
4. Please fill your MGRS zone. (At tutorial_vehicle, MGRS grid zone: 35T - MGRS 100,000-meter square: PF)
5. Click `Create`.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Here is the video for demonstration of LIO-SAM mapping in our campus environment
The output map format is local UTM,
we will change local UTM map to MGRS format for tutorial_vehicle.
Also, if you want change UTM to MGRS for autoware,
please follow [convert-utm-to-mgrs-map](../../convert-utm-to-mgrs-map) page.
please follow [convert-utm-to-mgrs-map](../../converting-utm-to-mgrs-map) page.

## Example Result

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@ we are using `Space` method for subsampling, but you can use other methods if yo
</figure>

Now,
you can save your downsampled pointcloud with `ctrl + s` or you can click save button from `File` bar.
you can save your downsampled pointcloud with `ctrl + s`
or you can click save button from `File` bar.
Then, this pointcloud can be used by autoware.

0 comments on commit 5d30482

Please sign in to comment.