Skip to content

inno-robolab/InnoSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Innopolis Simulator

Introduction

This simulator was designed especially for autonomous driving systems developers. InnoSim has been developed from the scratch by Autonomous Transportation Systems Lab of Innopolis University. Simulator could be used in development, testing, training and validation processes of autonomous systems in a close to real operational conditions. InnoSim allows to significantly decrease the cost of autonomous systems development process, especially in part of sensor equipment tuning and testing, control and interaction with another static and dynamic objects.

Inno_Car_Model

Functionalities

InnoSim provides the environment for debugging and modeling the behavior of users autonomous systems in real-time and in real 3D environment, which will avoid critical design errors, quickly clarify low-level requirements for individual nodes, shift the verification process to earlier stages, carry out more iterations of the prototype research in a short period of time and save on field tests.

Video

Video

Run tests with simulator

For carrying out of full-scale tests and testing of the entire functionality of the simulator, Apollo needs to be installed (preferably on another computer to achieve high-level performance). It is required to run the bridge to connect the Innopolis Simulator with Apollo. Since Apollo 5 does not use ROS, need to install the cyber bridge.

  1. Create bridge.sh with following code then put it into apollo/scripts folder. Download bridge.tar.gz and extract into apollo/cyber folder.
    #!/usr/bin/env bash
    DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

    cd "${DIR}/.."

    bazel-bin/cyber/bridge/cyber_bridge
  1. Run the command bazel build //cyber/bridge:cyber_bridge. If command bazel is not found, then make sure that you are inside the docker container.
  2. Execute /apollo/scripts/bridge.sh. If you receive the error "permission denied" then write chmod +x /apollo/scripts/bridge.sh and repeat. It is also better to enter source scripts/apollo_base.sh before to avoid any problems. If the server started successfully then you will see the output: [cyber_bridge] host ip: you ip address
  3. Success! Connect your Innopolis Simulator to the bridge.
  4. To check whether messages are received in apollo
    apollo.sh build_cyber
    source /apollo/cyber/setup.bash
    cyber_monitor
  1. Don't forget to download our latest HD map before starting the simulation and extract it into /apollo/modules/map/data folder. Execute cd /apollo/modules/common/data then open global_flagfile.txt and change the line: --map_dir=/apollo/modules/map/data/innopolis_mppi. Restart DreamView /apollo/scripts/bootstrap.sh stop and /apollo/scripts/bootstrap.sh start

Full description how to use simulator you can find here.

Premade scenes

There're some example ready-to-use scenes. Every scene is dedicated to our team's internal requests for testing purposes.

Python API

Innopolis Simulator supports Python API functionality. Full description can be found here.

License

This project is licensed under the MIT License

About

Simulator for debugging and modeling the behavior of autonomous vehicles in real-time

Resources

License

Stars

Watchers

Forks

Packages

No packages published