Commit d8ea67c1 authored by Olivier Lantsoght's avatar Olivier Lantsoght 🏁
Browse files

Merge branch 'fix_issue_244' into 'dev'

[mbs load] process init to 1, fix #244

Closes #244

See merge request robotran/mbsysc!401
parents 9aab65af 928a6fe6
......@@ -819,7 +819,7 @@ MbsData* mbs_info_to_data(MbsInfos* mbs_infos, MbsData* s)
s->DoneEquil = 0;
s->DoneModal = 0;
//s->process = 0;
s->process = 1;
s->simu_end = 0;
......
......@@ -261,7 +261,7 @@ struct MbsData
int DoneEquil; //!< Flag that indicates if the equilibrium module has been executed (default: 0=not done; 1=done).
int DoneModal; //!< Flag that indicates if the modal module has been executed (default: 0=not done; 1=done).
int process; //!< Flag that indicate which module is currently running (1=partitioning, 2=equilibrium, 3=direct dynamic, 4=modal, 5=inverse kinematic, 6=inverse dynamic)
int process; //!< Flag that indicate which module is currently running (1=partitioning, 2=equilibrium, 3=direct dynamic, 4=modal, 5=inverse kinematic, 6=inverse dynamic), default =1
int simu_end; //!< DO NOT USE: Deprecated?
int flag_stop; //!< stop the simulation. For dirdyn and invdyn only.
......
......@@ -185,7 +185,13 @@ class MbsData(object):
Example: my_id = mbs_data.points_id["body_1"]["point_0"]
process : int
Flag that indicate which module is currently running:
1=partitioning; 2=equilibrium; 3=direct dynamic; 4=modal
- 1: partitioning
- 2: equilibrium
- 3: direct dynamic
- 4: modal
- 5: inverse kinematic
- 6: inverse dynamic
At loading the process is set to 1.
project_path : str
Path to the mbs project folder.
q : numpy.ndarray
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment