Skip to content

ReDySim GUI manual

This manual shows how to use the graphical interface: open a robot, change it, run a simulation, and look at the results. You do not need to edit any file by hand or write any program.

What would you like to do?

Start here

Open a robot and complete the five-minute tour.

Open guide
Build a model

Edit your robot through the model interface.

Open guide
Run and inspect

Read plots and explore the animation.

Open guide
Troubleshooting

Find help when a model or simulation fails.

Open guide

Examples and walkthroughs

Use the installation guide first. Illustrations show the modeling concepts or interface; follow each guide for the required files and steps.

If you have not installed it yet, see the install page. The robots here are described the same way as in the command-line manual; that manual explains the modelling ideas (links, joints, the Denavit-Hartenberg numbers) in more depth.

All numbers are in SI units (metres, kilograms, newtons, seconds) and angles are in radians. An angle can be typed as pi/2 or radians(90), in the forms, the links table and the model file. In the forms and tables, 90d is a quick way to type degrees: when you leave the box it shows radians(90).

To see the program at work first, watch the video tour on the ReDySim website (about 6 minutes, with voice and captions).

This page and the pages of the groups Fixed base, Results and export and the rest describe the window for fixed-base robots (arms, mechanisms, closed loops). The program has a second window for floating-base robots (space robots, walking and wheeled robots), described in Floating base; see Fixed base and floating base for how to switch between them.

A five-minute tour

  1. Start the program (./redysim-gui on Linux, redysim-gui.exe on Windows). It opens on the two-link arm.
  2. Look at the robot. The Model tab on the right already draws it. Click a row of the links table on the left: that link turns magenta in the drawing.
  3. Change something. In the table, set the a of link 2 to 0.6. The drawing updates at once, and the title bar shows a *: the model has unsaved changes.
  4. Undo it with Ctrl+Z. The arm is shorter again and the * goes away.
  5. Hold a pose. Open the Forward dynamics tab. Under CONTROLLER, choose PD control. Type 1, 0.5 in q_d (the angles you want, one per joint), and set the solver to ode15s (see Forward dynamics: it is the fast choice for a controller like this).
  6. Run it. Press Run ForDyn (or Ctrl+R). The Animation tab opens and plays: the arm swings up to the pose and settles.
  7. Read the plots. Open ForDyn plots. Pick Joint positions in the Plot: list, and move the mouse over the picture to read the values.
  8. Save what you got. In the Export menu, choose Animation as GIF or MP4... or Results as CSV....

The rest of this guide explains each part, listed on the left.

The window

The whole window

  • Toolbar (top). From the left: New, Open, Save as, Undo, Redo, Revert, the YAML menu (the model as text: see below), the switch between Fixed base and Floating base (see Fixed base and floating base), a list of the bundled models, then on the right Export, Larger (larger text), Full screen, Help (this manual), About and Dark mode (it reads Light mode once the dark theme is on). Undo, Redo and Revert are dimmed until there is something to go back to; Export (with the arrow) opens a menu; Larger stays lit while it is on.
  • Left panel. Five tabs: Links, Environment (the robot's name, the gravity and the external forces), Motion (what the joints do: used by both kinds of run), Forward dynamics and Inverse dynamics. At the bottom, the buttons Run ForDyn, Run InvDyn and Replay animation always stay in view; the panel above them scrolls if the window is small.
  • Right panel. Five tabs: Model, Animation, ForDyn plots, InvDyn plots and Messages. After a run, the window shows the animation.

The toolbar

The Messages tab keeps a log: what was loaded, what was run, notes and errors. A short message also appears in the status bar at the bottom of the window.

Open and save a robot

  • New (Ctrl+N) starts a new, unsaved model. A dialog asks what to start from: an open chain of revolute joints (a robot arm) or a closed chain (a loop closed on the base), and how many joints. In the floating-base window it offers a base with an arm, a biped, a quadruped, a hexapod or a wheeled robot. Then change it in the tabs and Save as....
  • Bundled models. The list in the toolbar holds the ready-made robots (two_link, kuka, fourbar, stewart, and so on).
  • Open... (Ctrl+O) opens any model file (.yaml). You can also drag a .yaml file onto the window.
  • Save as... (Ctrl+S) writes the robot as a model file. It is the same kind of file the command line reads, so it runs there too: redysim fordyn my_robot.yaml.
  • YAML menu. Show YAML... opens a read-only window with the model as it would be saved (with Copy to clipboard); Open in a text editor opens the saved file in your system's text editor (save the robot first); Reload from disk reads the file again after you changed it there. Anything the forms have no field for can be changed this way.
  • A file that cannot be opened (for example a missing bracket) is not loaded. A message says which line and column are wrong and offers to open the file in a text editor; the robot on screen stays as it was.
  • The window title shows the file name, and a * when there are changes that are not saved. If you open another robot, drop a file, or close the window with unsaved changes, the program asks whether to Save, Discard or Cancel.

The bundled models are never overwritten: use Save as... to keep your changes under a new name.

You do not have to build a robot through the forms at all. Write the .yaml file yourself in a text editor — the command-line manual's Make your own robot chapter has the full format, every field — and open it here. It is drawn, checked and run exactly as if you had built it with the forms, and you can keep editing it either way from then on: by hand, or in the GUI, or both. Opening it does not need every part filled in either: a model with no fordyn: section, for example, opens fine, with that tab unticked until you add one (see Forward dynamics).

A few things (the base position, a branch's angle or offset) have no form here and can only be set this way; see each tab's "If you edit the file by hand" section for what maps to what, and Limitations for the full list. Whatever the forms cannot show, they leave alone when you save.