LoginSignup
6
3

More than 3 years have passed since last update.

LGSVL SimulatorでAutoware vector mapを使って自動走行

Last updated at Posted at 2020-09-03

LGSVL SimulatorでAutowareのvector mapを使ってゴールを指定して自動走行します。

目次

  1. Ubuntu18.04にAutoware自動運転シミュレータLGSVLをインストール
  2. Ubuntu18.04にAutoware.AIをインストール
  3. LGSVL SimulatorでAutoware vector mapを使って自動走行

環境

  • AsRock DeskMini GTX1060(Z370)
  • Core i9-9900 (3.10GHz 8core 16thread)
  • メモリー32GB
  • NVIDIA GeForce GTX 1060 Mobile(6GB GDDR5)
  • Ubuntu 18.04.5
  • ROS Melodic
  • Qt Creator 4.9.2
  • Autoware 1.14.0
  • LGSVL 2020.05

Autowareを起動

roslaunch runtime_manager runtime_manager.launch
  • launch filesを開く

'Quick Start' tabで「Ref」ボタンよりlaunch filesを選択

~/shared_dir/autoware-data/BorregasAve/my_launch/

my_map.launch
my_sensing_simulator.launch
my_localization.launch
my_detection.launch
my_mission_planning.launch

image.png

  • Map, Sensing, Localizationボタンより起動

image.png

  • rvizボタンより起動

image.png

LGSVL Simulatorを起動

$ cd lgsvlsimulator-linux64-2020.05
$ ./simulator

image.png

  • Open Browserより、管理画面を開く

image.png

  • 編集ボタンより、設定を変更
  1. Run simulation in interactive mode を外す
  2. Select Mapで「BorregAve」を選択
  3. Select VehiclesでJaguar2015XE(Autoware)を選択
  4. localhost:9090 を設定

image.png

  • 右下の赤い三角でsimulatorを起動

起動すると、GPUのファン回転と温度が急に上がる

image.png

image.png

initial poseを指定

rvizで"2D Pose Estimate"を選択してLGSVL Simulatorの実際位置と向きを指定

image.png

initial poseを指定すると、車のLidarのスキャンデータが表示される

image.png

detection, mission_planningボタンより起動

image.png

image.png

マップにオレンジ色のラインが追加されます。その上にGoalを設定します。

Goalを指定

rvizで"2D Nav Goal"を選択してGoalの位置と向きを指定

image.png

Goalを指定すると、走行する経路が表示される

image.png

Autowareで自動走行を設定

'Computing' tabで自動走行を選択

lane_rule, lane_stop, lane_selectのチェックを選択
astar_avoid, velocity_set, pure_pursuit, twist_filterのチェックを選択

twist_filterを選択すると、自動走行を開始

image.png

image.png

image.png

6
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
3