Vehicle Dynamics - Lateral
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.
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
Other projects
Kinematic bicycle model - Open loop steering rate (Matlab File Exchange | GitHub)
Publications
Cite As
André de Souza Mendes (2024). Vehicle Dynamics - Lateral (https://github.com/andresmendes/Vehicle-Dynamics-Lateral/releases/tag/1.0.0.5), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
+VehicleDynamicsLateral/@Graphics
+VehicleDynamicsLateral/@Simulator
+VehicleDynamicsLateral/@Tests
+VehicleDynamicsLateral/@Tire
+VehicleDynamicsLateral/@TireLinear
+VehicleDynamicsLateral/@TirePacejka
+VehicleDynamicsLateral/@TirePolynomial
+VehicleDynamicsLateral/@VehicleArticulated
+VehicleDynamicsLateral/@VehicleArticulatedLinear
+VehicleDynamicsLateral/@VehicleArticulatedNonlinear
+VehicleDynamicsLateral/@VehicleSimple
+VehicleDynamicsLateral/@VehicleSimpleLinear
+VehicleDynamicsLateral/@VehicleSimpleNonlinear
+VehicleDynamicsLateral/@VehicleSimpleNonlinear4DOF
Examples/KalmanFilterSimple
Examples/SkidPadSimple
Examples/SkidPadSimple4DOF
Examples/SteeringControlSimple
Examples/TemplateArticulatedSimulink
Examples/TemplateSimpleSimulink
docs/DocVehicleArticulatedNonlinear
Examples/TemplateArticulatedSimulink
Examples/TemplateSimpleSimulink
Examples/KalmanFilterSimple
Examples/MultiaxleSteeringArticulated
Examples/MultiaxleSteeringSimple
Examples/OpenLoopSteeringArticulated
Examples/OpenLoopSteeringSimple
Examples/SkidPadSimple
Examples/SkidPadSimple4DOF
Examples/SteeringControlSimple
Examples/TemplateArticulated
Examples/TemplateArticulatedSimulink
Examples/TemplateSimple
Examples/TemplateSimpleSimulink
Examples/TireComparison
docs/DocGraphics
docs/DocTireLinear
docs/DocTirePacejka
docs/DocTirePolynomial
docs/DocVehicleArticulatedLinear
docs/DocVehicleArticulatedNonlinear
docs/DocVehicleSimpleLinear
docs/DocVehicleSimpleNonlinear
docs/DocVehicleSimpleNonlinear4DOF
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.5 | See release notes for this release on GitHub: https://github.com/andresmendes/Vehicle-Dynamics-Lateral/releases/tag/1.0.0.5 |
||
1.0.0.4 | See release notes for this release on GitHub: https://github.com/andresmendes/Vehicle-Dynamics-Lateral/releases/tag/1.0.0.4 |
||
1.0.0.3 | See release notes for this release on GitHub: https://github.com/andresmendes/Vehicle-Dynamics-Lateral/releases/tag/1.0.0.3 |
||
1.0.0.2 | See release notes for this release on GitHub: https://github.com/andresmendes/Vehicle-Dynamics-Lateral/releases/tag/1.0.0.2 |
||
1.0.0.1 | See release notes for this release on GitHub: https://github.com/andresmendes/Vehicle-Dynamics-Lateral/releases/tag/1.0.0.1 |
||
1.0.0.0 | Update illustration and documentation |
|