Code Monkey home page Code Monkey logo

roselap's Introduction

RoseLap: Laptime Simulation for FSAE

RoseLap is a laptime simulation package that includes the following:

  • .DXF track loading
  • Point-mass and two-tire physics models
    • Engine curve acceleration
    • Shifting time (power cuts)
    • Braking algorithm (with brake bias in two-tire model)
    • Aerodynamic effects
  • 2D and 3D studies (plotting)
    • Detail views
    • Points simulation
  • A brief command-line interface

-- INSTALLATION & PREREQUISITES --

Download the release .zip and move it to a working directory.

RoseLap is built for Python 2.7. You will need that installed along with the following packages (at command line, run pip install <package-name> or python -m pip install <package-name>):

  • numpy
  • ruamel.yaml
  • docopt
  • matplotlib

-- SETTING UP STUDIES --

Vehicles are built using YAML markup language. Refer to Vehicles/example_vehicle.yaml as a guide for vehicle parameters. Use a text editor to create a new vehicle in this folder and modify it to your needs.

Studies are built using YAML markup language. Refer to Studies/example_study.yaml as a guide for studies. Use a text editor to create new study in this folder and modify it to your needs.

After setting up your study, open up a command line and navigate to the RoseLap folder. From here, you can use the RoseLap CLI. Type python roselap.py -h to learn how to use the CLI to run and load studies. Results of studies will be stored in the Results folder and you can rename them for version control.

roselap's People

Contributors

em4573 avatar thaddeus-maximus avatar rileybrains avatar

Stargazers

 avatar  avatar Chachay avatar Waltteri Koskinen avatar  avatar Alexander Stamps avatar  avatar Timothy Pieschala avatar  avatar

Watchers

James Cloos avatar  avatar  avatar Timothy Pieschala avatar  avatar

roselap's Issues

Need results files

Studies take a long time to run. Need to be able to close them and quickly re-get data. Probably match a make a .rst file of some type (pickle?) for each study. .rst should contain the s_OBJ and whatever necessary and the raw JSON that went into it, so that what was studied can be clearly seen.

How I use it ?

I'm looking for LapTimeSim like RoseLap.
So, I want to use it.

But, HOW TO USE is not written in READ ME.
Could you tell me about this ?

Braking algorithm takes forever

Braking could be significantly sped up (computationally) by doing something like a newton-rhapson or bisection to vary when we start baking. I'm not sure if error must be accepted or not to make this work.

Extra shift factor can prevent shifting

If the extra shift factor is too high, the driver can hit the rev limiter and not shift because they can't go the required extra speed. Allow shifting anytime the rev limiter is being hit (status=S_TOPPED_OUT).

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.