chao8038 / Sensor-simulation-Ue4-Ubuntu

於虛擬環境Unreal Engine4 進行感測器模擬並搭配AirSim的車輛Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sensor data collection in Unreal-Engine4

Table of Contents

  • Sensor data collection in Unreal-Engine4
    • Requirement
    • Beginners Guide
    • Feature
      • record road images
        • User story
        • User flows
        • Steps

Requirement

  1. OS: Ubuntu 18.04LTS
  2. Python: 3.6.9

Beginners Guide

If you are a total beginner to this, start here!

Create project


  1. Create virtual environment and activate:

Ubuntu:

virtualenv venv
source venv/bin/activate

windows:

virtualenv venv
venv\Scripts\activate
  1. intstall requirement.txt

Ubuntu:

python -m pip install -r requirements.txt 

Windows:

python -m pip install -r requirements_windows.txt 

Unreal Engine sensor setting

  1. move setting.json to document/Airsim/

Feature

record road images


User story


Feature: record road images

  • Scenario: record road images and pointclod image automatically
  • When the User starts a process
  • Then Simulated vehicle of AirSim will start to ahead and record the images automatically

User flows


Steps


  1. start the Unreal Project of vehicle simulation.
  2. excute the code PythonClient/road_record.py
    • you can see the vehicle will go ahead automatically. and output images will be save to PythonClient/output

About

於虛擬環境Unreal Engine4 進行感測器模擬並搭配AirSim的車輛Plugin

License:Other


Languages

Language:C++ 71.8%Language:C# 17.7%Language:Python 5.6%Language:C 3.4%Language:CMake 0.6%Language:Batchfile 0.4%Language:Shell 0.4%Language:ShaderLab 0.2%Language:PowerShell 0.0%Language:Dockerfile 0.0%Language:Makefile 0.0%