generalchan825 / MapToolbox

Plugins to make Autoware vector maps in Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Map Toolbox for Autoware.

GitHub license GitHub release Unity version

Description

This a unity plugin helps user create lanelet2 maps for Autoware efficiently.

For vector map format (which will become obsoleted), ref to vector_map branch.

Requirements

How to use

  • Create your new project in Unity 2019.4
  • In unity editor menu bar, click Window -> Package Manager -> ➕ -> Add package from git URL...
  • Paste this git URL in text field
https://github.com/autocore-ai/MapToolbox.git#lanelet2
  • If any error message appears, try restart unity editor.
  • Import PCD by right click in Project Panel and Import New Asset... then drag pcd file to hierarchy.
  • Create new map by right click in Hierarchy, Autoware -> Lanelet2Map
  • Create new lanelet by "Add Lanelet" on Lanelet2Map script, left mouse with Crtl to add nodes and Ctrl + Shift to remove nodes.
  • Select Nodes to move position
  • Add traffic light buttom ref line just like add lanelet nodes, then modify height of traffic light
  • Select two nodes and link to a stop line then add traffic light selection with Ctrl, click button "add regulatory element" on "Way" script to create relation between stop line and traffic light.
  • Click "Save" on Lanelet2Map to export osm map file.

About

Plugins to make Autoware vector maps in Unity

License:GNU Lesser General Public License v3.0


Languages

Language:C# 100.0%