The tutorials below focus on how to set up physical systems in Chrono. No graphical user interface comes into play. See the Irrlicht tutorials for examples with a 3D graphical output.
Creating A System In Chrono (demo_CH_buildsystem.cpp)
Basics of building and simulating mechanical systems. Learn how to:
- create a physical system (a slider-crank)
- add/remove rigid bodies
- create mechanical joints between bodies
- perform a simulation
Creating A Powertrain In Chrono (demo_CH_powertrain.cpp)
Building systems that embed powertrains modeled with one-degree-of-freedom elements (rotating shafts). Learn how to:
- connect 1D shafts with transmission ratios
- connect 1D shafts with 1D clutches, brakes, etc.
- connect a 1D shaft to a 3D body
Using ChFunctions in Chrono (demo_CH_functions.cpp)
Using ChFunction inherited classes to build math functions of \( y=f(x) \) type. The ChFunction objects are 'building blocks' used to describe motion laws such as, for instance, trajectories in automation and robotics. Learn how to:
- create and use ChFunction objects
- define a custom function by inheriting from the ChFunction class
Math operations in Chrono (demo_CH_math.cpp)
Main mathematical entities used in Chrono such as vectors and matrices. See also the math support page in the reference manual.
Coordinate transformation (demo_CH_coords.cpp)
Coordinate transformations related issues. See also the manual page discussing this topic.
File streams in Chrono (demo_CH_stream.cpp)
Using ChStream classes to write/load from file streams.
Archives and serialization in Chrono (demo_CH_archive.cpp)
Perform serialization/deserialization of C++ classes