Coder Social home page Coder Social logo

autocore_sim's Introduction

Simulation

AutoCore simulation tool provides test environment for Autoware and still during early development, contents below may changed during updates.

GitHub license

Overview

AutoCore simulation tool is developed based on Unity engine, which focuses help developer test Autoware functions. It could simulate multi type of input topics, so that the autonomous driving system could be tested.

Requirement

Simulator PC Requirement

OS: Windows 10
CPU:Intel i5 9100 or higher
GPU:GTX 750Ti or higher
Memory:>8G
Free disk:>1GB

Quick Start

Start Simulator

  1. Config Autoware ROS environment, launch Autoware runtime manager and rviz.

  2. On windows PC download the simulator archive file, and extract it to a customized destination.

  3. Double click Simulator.exe to run the simulator, enable all windows firewall dialogs.

  4. Configure the ROS Master URI and ROS IP, and choose the driving scenario, then click launch.

  5. Simulator will enter driving scenario and rviz will show maps.

  6. Start voxel_grid_filter and ndt_matching for localization

  7. Enable vel_pose_connect without Simulation Mode, lidar points will display.

  8. Launch op_global_planner, drag a available goal in rviz.

  9. Launch op_local_plannerpure_pursuittwist_filter, Simulator will start driving.

Simulator Instruction

There are some buttons on the top of the main interfaces:

  1. Car Reset
    Click to reset the ego car location to the default starting point.

  2. Car Pose Set
    Click to pick a location for ego car, then move the mouse to set the orientation.

  3. Add Static Obstacle
    Click to drop a obstacle at target place.

  4. Add Human
    Click to add a pedestrian at the target place, multiple pedestrians could be added via multiple clicks. Right click to finish.

  5. Add CarAI
    Click to add a AI car at the target place, then click to add the destination for the AI car. AI car will run in the map according to the destination and follow traffic rules autonomously.

  6. Remove All Obstacle
    Click to remove all obstacles.

  7. Settings
    Click to open setting panel.

  8. Exit Simu
    To exit simulator and go back to the launch panel.

Other operations

  • Left click to select target
  • Right click to cancel
  • Press the wheel and drag to move camera
  • Move the wheel to zoom
  • Press Ctrl and move the wheel to change the size of target
  • Space: Reset camera
  • "C": Switch camera in simulator
  • "W": Move forward
  • "S": Move backward
  • "A": Left turn
  • "D": Right turn
  • "X": Brake

ROS Info

  • autocore_sim
    • Publications:

      • /camera/camera_info [sensor_msgs/CameraInfo]
      • /camera/image_raw [sensor_msgs/Image]
      • /gnss_pose [geometry_msgs/PoseStamped]
      • /points_raw [sensor_msgs/PointCloud2]
      • /tf [tf2_msgs/TFMessage]
      • /vehicle_status [autoware_msgs/VehicleStatus]
    • Subscriptions:

      • /vehicle_cmd [autoware_msgs/VehicleCmd]
  • vector_map_loader
    • Publications:
      • /vector_map [visualization_msgs/MarkerArray]
      • /vector_map_info/* [vector_map_msgs/*]
  • points_map_loader
    • Publications:
      • /points_map [sensor_msgs/PointCloud2]

Roadmap

  • ROS2 topics for Autoware.Auto

Video tutorial

AutoCore Open Source Simulator

autocore_sim's People

Contributors

betsyweilin avatar moelang avatar

Watchers

 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.