Python · Floating-base dynamics
ReDySim Floating-base
Legged, wheeled and space robots whose base is free to move, from a short model file. Run them in the Runner or from Python, and get plots, animations and data.
Download and installTry your first example
Requirements: Linux x86-64 (Windows and macOS coming soon) · Python 3.10 or newer
Video tour¶
About ReDySim Floating-base¶
ReDySim computes the dynamics of multibody systems with recursive algorithms based on the Decoupled Natural Orthogonal Complement (DeNOC).
The download includes 11 floating-base models, from a walking biped to a quadcopter.
The base attitude as Euler angles or Euler parameters (quaternions), avoiding Euler-angle singularities.
Both joint types on a free-floating base, where the original MATLAB version supported only revolute joints.
The dynamics run in compiled code: 12-18 microseconds per simulation step for a free-floating biped or quadruped, and a thousand quadrupeds stepped in parallel at roughly 0.35 million steps per second (16 cores).
The Runner¶
Prefer clicking to typing? redysim-floating --runner opens a window: pick a model, press Run, and
look at the animation and the plots, in light or dark colours, in the same style as the ReDySim
GUI. Save the animation as a GIF or MP4 and the plots as PNG files. It needs nothing extra
(see the manual).

The same window starts the ready-made example scripts, Python code written on top of the package for tasks a model file cannot express: two satellites carrying a bar or a cube, and five robots carrying a plate or changing places. The manual explains each of them in Part 3, Examples built on ReDySim. Pick one in the Example script box and press Run script: an Example tab shows what it does and its printed output, and its figures and an animation open in their own windows.

Next steps¶
Start from an example and change it into your own robot: links, controller and motion. Angles can be written as pi/2 or radians(90).
Scripts built on the package: grasps, several robots together, your own forces.
Examples built on ReDySimRun many simulations, plot your own graphs and process the results as NumPy arrays.
Appendix B, PythonLicence¶
Free for research, teaching and other non-commercial use, under the PolyForm Noncommercial License 1.0.0. The download, with both simulators, is on the Install page.