Structure defining the option of both inverse kinematics and inverse dynamic analysis. More...
#include <mbs_solvekin_struct.h>
Public Attributes | |
int | motion |
Determines how the evolution of q, qd qdd are provided. More... | |
char * | trajectoryqname |
Give the path and filename (with extention) to the file containing the input trajectory in position of the joints. More... | |
char * | trajectoryqdname |
Give the path and filename (with extention) to the file containing the input trajectory in velocity of the joints. More... | |
char * | trajectoryqddname |
Give the path and filename (with extention) to the file containing the input trajectory in acceleration of the joints. More... | |
double | t0 |
Initial time of the simulation, default = 0.0. More... | |
double | tf |
Final time of the simulation, default = 5.0. More... | |
double | dt |
Time step, default = 0.001. More... | |
int | save2file |
Determine whether results are written to files on disk (in MbsSolvekinOptions::respath folder): More... | |
char * | resfilename |
The keyword used for determining the name of result files. More... | |
const char * | respath |
Path in which result file are saved. More... | |
const char * | animpath |
Path in which anim file is saved. More... | |
int | save_anim |
Determine whether animation file is generated (only valid if MbsSolvekinOptions::save2file is set to 1) More... | |
int | framerate |
Number of frame per second for the .anim file, default = 1000. More... | |
int | saveperiod |
The number of time steps between two buffer records. More... | |
int | max_save_user |
The maximal number of user variables saved. More... | |
int | buffersize |
The number of time step that can be recorded in the buffer. More... | |
char * | buffer_format |
The format of the results in the res file. More... | |
int | verbose |
Gives informations during the process. More... | |
Structure defining the option of both inverse kinematics and inverse dynamic analysis.
const char* animpath |
Path in which anim file is saved.
Default: the animationR folder of the project
char* buffer_format |
The format of the results in the res file.
If NULL, uses "%e"
default: NULL if NULL, "%e" is used
int buffersize |
The number of time step that can be recorded in the buffer.
Results are written to disk when the buffer is full.
default: -1, compute the buffer size for saving results only once at the end according to dt0, t0 and tf.
double dt |
Time step, default = 0.001.
For motion == 'trajectory' (for inverse kinematic analysis, there must be at least one independent joint):
int framerate |
Number of frame per second for the .anim file, default = 1000.
int max_save_user |
The maximal number of user variables saved.
default: 12
int motion |
Determines how the evolution of q, qd qdd are provided.
char* resfilename |
The keyword used for determining the name of result files.
const char* respath |
Path in which result file are saved.
Default: the resultsR folder of the project
int save2file |
Determine whether results are written to files on disk (in MbsSolvekinOptions::respath folder):
int save_anim |
Determine whether animation file is generated (only valid if MbsSolvekinOptions::save2file is set to 1)
int saveperiod |
The number of time steps between two buffer records.
default: 1 (every time step are recorded)
double t0 |
Initial time of the simulation, default = 0.0.
double tf |
Final time of the simulation, default = 5.0.
char* trajectoryqddname |
Give the path and filename (with extention) to the file containing the input trajectory in acceleration of the joints.
Only required for motion == 'trajectory' if some joints are independent. By default, pointer to NULL.
Requirement on the file:
char* trajectoryqdname |
Give the path and filename (with extention) to the file containing the input trajectory in velocity of the joints.
Only required for motion == 'trajectory' if some joints are independent. By default, pointer to NULL.
Requirement on the file:
char* trajectoryqname |
Give the path and filename (with extention) to the file containing the input trajectory in position of the joints.
Only required for motion == 'trajectory' if some joints are independent. By default, pointer to NULL.
Requirement on the file:
int verbose |
Gives informations during the process.
default: 1, to disable set it to 0.