Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.37 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.37 KB

Lane Following Sensor

This repository contains the code and assets for a custom Sensor Plugin - Lane Following Sensor.

To use this Sensor Plugin:

  1. clone the Sensor Plugin repo into Assets/External/Sensors as Assets/External/Sensors/LaneFollowingSensor inside of your Simulator Unity Project

  2. build the Sensor Plugin for use with the Simulator, navigate to the Simulator -> Build Sensors Unity Editor menu item. Clicking on it will build every custom sensor in the Assets/External/Sensors directory and will output built Sensor Plugin bundles to the AssetBundles/Sensors folder

  3. on simulation startup, the Simulator will load all custom Sensor Plugin bundles in AssetBundles/Sensors directory and will be a valid sensor in a vehicle's configuration JSON

  4. add json configuration (see below) to vehicle of your choosing and launch simulation

Lane Following Sensor will subscribe to predicted steering commands from the model and publish EGO vehicle commands for data collection for training

Parameters

Topic: A topic name to subscribe for predicted steering commands

Example sensor config JSON:

{
    "type": "Lane Following",
    "name": "Lane Following Sensor",
    "params": {
        "Topic": "/lanefollowing/steering_cmd",
    }
}

Copyright and License

Copyright (c) 2020 LG Electronics, Inc.

This software contains code licensed as described in LICENSE.