Code Monkey home page Code Monkey logo

robotini-racing-simulator's People

Contributors

mcdevon avatar mikkomultanen avatar raimohanska avatar reaktor-mikkovaanakoski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

robotini-racing-simulator's Issues

Top View camera

I'd rather see the whole track from the top than the current 1st person'ish view. A toggle between different camera modes might be the best option.

Lap timer

Lap timer script could report elapsed time at each spline node.

Race mode

For example pressing R starts a race:

  1. disable all motors
  2. move cars to starting positions (possibly using the best lap times for the order)
  3. reset lap times and set timer to race mode
  4. show race lights
  5. enable motors and start timers
  6. show winner after n laps

Speedometer

Would be great to see current speed. We might even (optionally) imprint that on the output frame top row to help with bot development. Estimating speed on the bot code would be great and to be able to compare the estimate with actual.

Multiple cars

  • instantiate cars when clients connect
  • fix lap timer

More realistic physics

Made some real life measurements:

Track dimensions 4m * 6m.
Car dimensions 24cm * 13cm
Acceleration tests:
0.5 seconds full throttle then zero throttle => car moves 4.0m
0.5 seconds full throttle then full brake => car moves 1.15m
1.0 seconds full throttle then full brake => car moves 3.75m
Turning circle:
throttle at 0.1 => turning circle outer distance 1.2m
throttle at 0.5 => drifting around the room out of control (floor more slippery than actual track)

Add variance to force bot adaptiveness

In real life, car performance varies quite a lot. For instance:

  • motor torque and steering servo responsiveness depends on battery voltage
  • camera colors (white balance, lightness etc) depend on lighting and white balance setting on the camera
  • there's likely a varying delay in steering and throttle

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.