Results files explanation

Introduction

This page explains the results files that are output by Robotran when simulating the different modules.

For the basics use of the modules, see the tutorial.

The programming language in this tutorial is Python.

REMARK:

MbsysPy has a result class that stores the results in python after the process. More detailed informations is given in the MBsysPy documentation.

Raw results files

All simulation results are stored in the project resultsR folder. All result files use the result name as prefix (default behavior is the name of the module such as equil_ or dirdyn_).

The values are given in the International System of Units.

The files are .res files that are basically text files. These can be opened with any text editor such as NotePad++.

By default, the first column is the time in seconds. If not specified, the next columns are the indexes of joints in the multibody model as defined in MBsysPad. The suffix of the file determines the content of the file.

Equilibrium

For this module, the first column is always the iteration number.

  • Variables of the equilibrium process are given in *_x.res* file, each line being one iteration.

  • Joint positions at each iteration are given in *_q.res* file.

  • Forces of the equil process are given in *_F.res* file.

  • Residues of the equil process are given in *_R.res* file.

See also Equilibrium Tutorial.

Direct dynamics

Joints kinematics

  • Multibody system joints position, velocity and acceleration respectively with suffix q, qd and qdd, each column is a joint.

Those can be in m or rad (resp m/s, rad/s or m/s2,rad/s2) depending on the type of the joint (linear or revolute).

Joints dynamics

  • Multibody system joints internal forces/torque with suffix Qq.

  • Multibody system joints internal forces/torque for fixed (driven) variables with suffix Qc.

  • Multibody system joints internal forces/torque for actuated variables with suffix Qa.

  • Multibody system Lagrange multipliers (forces/torque) corresponding to constraints with suffix Lambda.

User derivatives

  • Multibody system user variables with suffix ux.

  • Multibody system user derivative variables with suffix uxd.

Solve kinematics and inverse dynamics

  • the outputs are the same as those defined in Direct dynamics here above.

Specific outputs

User can define specific outputs (see set_output). The first column is always the time. The other columns depend on what the user defined in its outputs.