Giter Site home page Giter Site logo

planarcarsim's Introduction

PlanarCarSim · GitHub license

Forked from project MultiCam-Simulation.

TODO-List

  • Add track map
  • Use one imshow window
  • Add car model
  • Add real car kinematics
  • multi-threading for car kinematics
  • Add smooth view controller
  • Add navigation algorithm

demo_tracker


Below is the original README.md.

  • simulate the imaging process for multiple cameras in 3D space
  • adjust internal and external coefficients freely
  • simulate lens distortion in real time
  • support keyboard and Xbox controller
  • add AprilTag for additional experiments

Dependencies

This project is written in Python and relies on OpenCV, numpy.

The pupil_apriltags library is used for the detection of AprilTag, and the pygame library is used for compatibility with Xbox controllers. Both of these are optional if you don't need the relevant function.

Quick Start

Follow the commands below to install and start the simulation.

git clone https://github.com/sszxc/MultiCam-Simulation.git
cd MultiCam-Simulation/
python -m pip install -r requirements.txt
python main.py

Now use your keyboard or Xbox controller to control the cameras and images from each camera will be displayed in real time.

XY axis Z axis Optical-axis Reset Switch Cameras Exit
Keyboard WASD ZX UJ IK OL 1 2, 3 Q
XBox Controller L-Thumbstick D-Pad R-Thumbstick, LT, RT B L, R A

Screenshots

demo1

demo2

planarcarsim's People

Contributors

sszxc avatar

Stargazers

YuhangYAN 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.