Robotran C Documentation
mbs_check.h
Go to the documentation of this file.
1 
12 #ifndef MBS_CHECK_h
13 #define MBS_CHECK_h
14 
15 #include "mbs_data.h"
16 #include "mbs_user_interface.h"
17 #include "mbs_aux.h"
18 
28 int mbs_check_nhu_nqv(MbsData *mbs_data, int verbose, int verbosity_lvl);
29 
37 int mbs_check_n_IO(UserIoInfo *user_IO_info, int n_in, int n_out, int n_user_IO);
38 
49 int mbs_check_n_user_model(int Nuser_model, int n_usr_model);
50 
66 int mbs_check_user_model_list(int* user_model_list_mbs, int Nuser_model, int* user_model_list_c);
67 
68 
86 int mbs_check_mbs_data_values(MbsAux *module_mbs_aux, MbsData *mbs_data);
87 
88 
89 #endif
mbs_msg
void mbs_msg(const char *msg,...)
Send a message.
Definition: mbs_message.c:87
mbs_check_nhu_nqv
int mbs_check_nhu_nqv(MbsData *mbs_data, int verbose, int verbosity_lvl)
Check the coherence between the number of (independant) constraints and the number of dependant varia...
Definition: mbs_check.c:21
MbsData::Ncons
int Ncons
Number of algebraic constraints.
Definition: mbs_data.h:378
UserIoInfo
Contains information about UserIO.
Definition: mbs_user_interface.h:32
MbsData::nqv
int nqv
Number of dependent articulations.
Definition: mbs_data.h:328
mbs_data.h
MbsData::qc
int * qc
Array with the indices of driven (locked and driven) articulations.
Definition: mbs_data.h:333
MbsData::nqu
int nqu
Number of independent articulations.
Definition: mbs_data.h:323
MbsData::njoint
int njoint
Number of joints in the system.
Definition: mbs_data.h:320
mbs_project_interface.h
Declaration of functions that are project dependent.
mbs_define.h
UserIoInfo::n_in
int n_in
Number of user input port.
Definition: mbs_user_interface.h:35
mbs_check_user_model_list
int mbs_check_user_model_list(int *user_model_list_mbs, int Nuser_model, int *user_model_list_c)
Check the coherence between the number of user_model between MBS data file and user_model....
Definition: mbs_check.c:62
mbs_check_user_model_list
int mbs_check_user_model_list(int *user_model_list_mbs, int Nuser_model, int *user_model_list_c)
Check the coherence between the number of user_model between MBS data file and user_model....
Definition: mbs_check.c:62
mbs_1D_array.h
Declares all operation betweens vectors, vector and scalar.
_MBS_ERR_INIT
#define _MBS_ERR_INIT
Generic error number Check user options at initialization = -10.
Definition: mbs_errors_names.h:166
mbs_check_mbs_data_values
int mbs_check_mbs_data_values(MbsAux *module_mbs_aux, MbsData *mbs_data)
Check the coherence between the mbs_data used before module initialization and module run.
Definition: mbs_check.c:89
get_ivec_1
int * get_ivec_1(int l_v)
create (with memory allocation) a vector (length l_v) of integers, starting at index 1
Definition: mbs_1D_array.c:834
MbsData::Nuserc
int Nuserc
Number of user constraints.
Definition: mbs_data.h:379
MbsData::qu
int * qu
Array with the indices of the independent articulations (free)
Definition: mbs_data.h:332
mbs_msg_v
void mbs_msg_v(int v_opt, int v_lvl, const char *msg,...)
Send a message only of the message level is lower than the verbosity option.
Definition: mbs_message.c:143
mbs_check_mbs_data_values
int mbs_check_mbs_data_values(MbsAux *module_mbs_aux, MbsData *mbs_data)
Check the coherence between the mbs_data used before module initialization and module run.
Definition: mbs_check.c:89
MbsData::nqc
int nqc
Number of driven articulations, it includes qlocked and qdriven.
Definition: mbs_data.h:324
mbs_message.h
MbsData
Definition: mbs_data.h:307
mbs_check_n_user_model
int mbs_check_n_user_model(int Nuser_model, int n_usr_model)
Check the coherence between the number of user_model between MBS data file and user_model....
Definition: mbs_check.c:52
free_ivec_1
void free_ivec_1(int *vec)
release memory for a vector of integers, starting with index 1
Definition: mbs_1D_array.c:858
mbs_user_interface.h
mbs_check_nhu_nqv
int mbs_check_nhu_nqv(MbsData *mbs_data, int verbose, int verbosity_lvl)
Check the coherence between the number of (independant) constraints and the number of dependant varia...
Definition: mbs_check.c:21
conc_ivec_1
void conc_ivec_1(int *vec1_src, int l_vec1, int *vec2_src, int l_vec2, int *vec_dest)
concatenate the first (l_v1 sized) vector and the second (l_v2 sized) vectors of integers into the th...
Definition: mbs_1D_array.c:1205
UserIoInfo::n_out
int n_out
Number of user output port.
Definition: mbs_user_interface.h:37
mbs_check.h
mbs_check_n_IO
int mbs_check_n_IO(UserIoInfo *user_IO_info, int n_in, int n_out, int n_user_IO)
Check the coherence between the number of user_IO ports between .mbs and user_IO.c files.
Definition: mbs_check.c:32
mbs_aux.h
same_ivec_1
int same_ivec_1(int *v1, int *v2)
Compare if two vector are the same.
Definition: mbs_1D_array.c:1302
MbsData::nhu
int nhu
Number of independent constraints.
Definition: mbs_data.h:329
mbs_check_n_IO
int mbs_check_n_IO(UserIoInfo *user_IO_info, int n_in, int n_out, int n_user_IO)
Check the coherence between the number of user_IO ports between .mbs and user_IO.c files.
Definition: mbs_check.c:32
mbs_errors_names.h
mbs_check_n_user_model
int mbs_check_n_user_model(int Nuser_model, int n_usr_model)
Check the coherence between the number of user_model between MBS data file and user_model....
Definition: mbs_check.c:52