Code Monkey home page Code Monkey logo

trackviz's Introduction

TrackViz

A simple UE4 plugin to visualize AirSim track records. Just clone this repo into Plugins\TrackViz directory in your UE4 project and load the level you want to visualize tracks in.

default

Key Features

  • Airsim recorded tracks visualization
  • Camera view for the selected point of the track
  • Showing orientation vector
  • Connecting corresponding points of the track s

How to Start It

Use TrackVizGameMode as a default game mode to use this plugin. Track records are searched by default in FPaths::ProjectDir() + TEXT("tracks"). FPaths::ProjectDir() is a root directory in the case of UE4 project and <project name> directory in the case of packaged project (right next to Binaries, Content and Saved directories). This directory is searched for .txt files with CSV layout. POS_X, POS_Y and POS_Z fields are used as data for track visualization. PlayerStart actor is used as a starting point for all tracks. Track colors can be specified right in the name of the .txt file (make sure they are either in the beginning or the end of the file name, not counting the extension). Available colors can be found in UE4 documentation on the FColor class in the "Constants" section. If colors are not specified, they will be assigned automatically. The legend is displayed in the app.

Track directory path and start tracks position is customizable by modifying TrackVizGameMode class or by subclassing it with a Blueprint game mode and changing startPosition, tracksDir and isRelativePath properties in the UE4 editor.

How to Use It

Use WSAD + mouse to navigate through the scene. Left-click on the cone to put the camera to the point position. Right-click to show the point orientation vector and connection with the corresponding points of the other tracks (if available).

trackviz's People

Contributors

alexart13 avatar solovyevt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.