Code Monkey home page Code Monkey logo

vehicle-dynamics-lateral's Introduction

View Vehicle Dynamics - Lateral on File Exchange

Vehicle Dynamics - Lateral: Open Source Simulation Package for MATLAB

This package is an open source initiative that provides vehicle models and graphics features for lateral dynamics simulation of simple and articulated vehicles.

Vehicle Dynamics - Lateral is part of the OpenVD Project.

Documentation

Examples, Models and Functions are here: Matlab File Exchange: Vehicle Dynamics - Lateral

  • Examples - Simulation and modeling examples.
  • Models - Simulink models.
  • Functions - Function documentation.

To make the first steps easier, two template scripts are available covering the simulation of simple and articulated vehicles. We encourage the users to run and explore the examples TemplateSimple.m and TemplateArticulated.m.

Alternatively, for users familiar with Simulink, two template applications are available for running the models of the package in Simulink. Run and explore the examples TemplateSimpleSimulink.m and TemplateArticulatedSimulink.m.

Description

The general structure of the package is illustrated below. All classes of the package are categorized into Vehicle model, Tire model and Graphics. One Vehicle model and one Tire model are combined to form the System. The integration of the System, with the apropriate parameters and initial conditions, is performed through the standard ode45 function of MATLAB®. The resulting data can be ploted as Frame and Animation with the Graphics features.

This package uses an object-oriented programming architecture. For more details see Object-Oriented Programming in MATLAB.

Structure

Installation

The first thing you have to do is install the package according to the following steps:

  • Download the latest version of Vehicle Dynamics - Lateral.
  • Save the package (folder "+VehicleDynamicsLateral") in the MATLAB® path or add your current path to the paths list. More details in help path.

API Documentation

Help and documentation on-the-fly are available through the "doc" and "help" commands, as usual. For instance, run:

help VehicleDynamicsLateral.VehicleSimpleLinear

Modules

Vehicle Dynamics - Lateral (Current page)

Vehicle Dynamics - Longitudinal

Vehicle Dynamics - Vertical

Other projects

Kinematic bicycle model - Open loop steering rate (Matlab File Exchange | GitHub)

Publications

Project OpenVD: Open Vehicle Dynamics

vehicle-dynamics-lateral's People

Contributors

andresmendes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vehicle-dynamics-lateral's Issues

Question: unequal forces on one axle lead to no yaw rate

\Examples\SkidPadSimple4DOF Demo:

I am trying to simulate torque vectoring (one axle left/right unequal forces on the wheels)
If I apply unequal forces (one axle left/right) no yaw moment results.
The vehicle moves straight away.

What do I have to do to create a Torque Vecotring?

how to control the speed?

It seems there isnot an example to explain how to control the speed, We try to use simulink to control a car in lateral and longitudinal direction. However, it seems a little difficult to use the model.

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.