Mechanical Simulation Extends User Programming for CarSim, TruckSim, and BikeSim 2019.1
ANN ARBOR, Mich., August 14, 2019 – Mechanical Simulation Corporation has released the 2019.1 versions of the vehicle dynamics simulation tools CarSim, TruckSim and BikeSim, which are well known for providing high-fidelity math models that reproduce physical test results, yet run fast enough on the computer to support real-time simulation with hardware in the loop.
With the growing need by the automotive industry to improve support for ADAS (advanced driver assistance systems) and autonomous driving, there is a corresponding need to provide custom controls for other moving objects in the simulation, such as traffic vehicles and pedestrians. The simulation modules include a scripting language called VS Commands that has been available for controlling moving objects, defining actions based on detected signals, and other applications.
According to James Beyer, Product Development Engineer, “The VS Command language was created before ADAS applications were of interest and was mainly used to define new output variables and provide limited calculations.” With newer versions supporting up to 200 moving objects and 99 ADAS sensors, there has been an increasing need for more options that advanced users may provide to extend the simulation capability.
Using VS Commands, the user can extend models in substantive ways. This is done within the solver framework and needs no external resources. However, VS Commands have limits, and some common programming tools and techniques (looping, strings, accessing third-party packages, etc.) are problematic using only VS Commands.
To support more complicated model extensions made within the solver, VS Solvers have supported an internal (embedded) Python interpreter since 2018.1. Since then, we have continued to make improvements to this capability. In 2019.1, we have added the capability for Linux Solvers and added some simpler examples and additional documentation to show how the embedded Python capability can be used. Currently, Embedded Python is not available for RT systems applications.
In addition to the improvements to Embedded Python, VS Commands have been enhanced to allow for defined VS functions that can be created by the user. Defined functions, along with the new IF command, allow for the conditional execution of groups of commands. This allows for simpler, cleaner code when a condition changes during a simulation which requires the updating of several variables. “The good thing about the defined functions”, Beyer notes, “is that they are an enhancement to the VS Commands themselves, and work on all platforms, Windows, Linux, and all of the RT platforms.”
About Mechanical Simulation Corporation: Mechanical Simulation Corporation is a technology leader in the development and distribution of advanced software used to simulate vehicle performance under a wide variety of conditions. The software is used for traditional vehicle dynamics studies, model in the loop engineering, hardware-in-the-loop applications, and for developing ADAS and autonomous driving technologies. The Ann Arbor, Michigan based company was established in 1996 and provides car, truck and motorcycle simulation packages, training and ongoing support to more than 110 OEMs and Tier 1 suppliers, and over 200 universities and government research groups worldwide. For more information, please visit www.carsim.com.
CarSim simulations include user-defined functions.
Company Press Releases
Jan-23 CarSim, TruckSim, and BikeSim Version 2023.0 Released
Mar-22 Applied Intuition Acquires CarSim, an Industry-Leading Vehicle Dynamics Simulation Company
Jan-22 CarSim, TruckSim, BikeSim, and SuspensionSim version 2022.0 Released
Jul-21 CarSim, TruckSim, and BikeSim version 2021.1 Released
Apr-21 Mechanical Simulation Corporation Celebrates 25 Years in Business
Jan-21 CarSim, TruckSim, BikeSim, and SuspensionSim version 2021.0 Released
Aug-20 Mechanical Simulation Releases CarSim, TruckSim, and BikeSim 2020.1
Feb-20 Mechanical Simulation Releases CarSim, TruckSim, BikeSim, and SuspensionSim 2020.0
Oct-19 Patented System and Method to Stabilize Motorcycles
Sep-19 Mechanical Simulation’s CarSim and TruckSim Available on NVIDIA DRIVE Constellation
Aug-19 Mechanical Simulation Extends User Programming for CarSim, TruckSim, and BikeSim 2019.1
Aug-19 Mechanical Simulation Extends Driver Control for Autonomous Vehicle Development in CarSim and TruckSim 2019.1
Jul-19 Mechanical Simulation Connects with New Ground for CarSim and TruckSim 2019.1
Jul-19 Mechanical Simulation Adds Electric Powertrains for CarSim and TruckSim 2019.1
Jan-19 Mechanical Simulation Releases CarSim, TruckSim, BikeSim, and SuspensionSim 2019.0
Jun-18 Mechanical Simulation Releases CarSim, TruckSim, and BikeSim 2018.1
Feb-18 Mechanical Simulation Introduces Modular Design for CarSim and TruckSim
Dec-17 Mechanical Simulation Releases CarSim, TruckSim, and BikeSim 2018
Mar-17 Mechanical Simulation Releases SuspensionSim 2017
Dec-16 Mechanical Simulation Releases CarSim, TruckSim, and BikeSim 2017.0
Dec-16 Mechanical Simulation Upgrades NIOSH's QuadDS Driving Simulator
Feb-16 Mechanical Simulation Releases CarSim 2016