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 
26 int mbs_check_nhu_nqv(MbsData *mbs_data);
27 
35 int mbs_check_n_IO(UserIoInfo *user_IO_info, int n_in, int n_out, int n_user_IO);
36 
47 int mbs_check_n_user_model(int Nuser_model, int n_usr_model);
48 
64 int mbs_check_user_model_list(int* user_model_list_mbs, int Nuser_model, int* user_model_list_c);
65 
66 
84 int mbs_check_mbs_data_values(MbsAux *module_mbs_aux, MbsData *mbs_data);
85 
86 
87 #endif
mbs_msg
void mbs_msg(const char *msg,...)
Send a message.
Definition: mbs_message.c:87
MbsData::Ncons
int Ncons
Number of algebraic constraints.
Definition: mbs_data.h:317
UserIoInfo
Contains information about UserIO.
Definition: mbs_user_interface.h:32
MbsData::nqv
int nqv
Number of dependent articulations.
Definition: mbs_data.h:267
mbs_data.h
MbsData::qc
int * qc
Array with the indices of driven (locked and driven) articulations.
Definition: mbs_data.h:272
MbsData::nqu
int nqu
Number of independent articulations.
Definition: mbs_data.h:262
MbsData::njoint
int njoint
Number of joints in the system.
Definition: mbs_data.h:259
mbs_project_interface.h
Declaration of functions that are project dependent.
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:61
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:61
mbs_1D_array.h
_MBS_ERR_INIT
#define _MBS_ERR_INIT
Generic error number Check user options at initialization = -10.
Definition: mbs_errors_names.h:166
mbs_check_nhu_nqv
int mbs_check_nhu_nqv(MbsData *mbs_data)
Check the coherence between the number of (independant) constraints and the number of dependant varia...
Definition: mbs_check.c:20
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:88
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:479
MbsData::Nuserc
int Nuserc
Number of user constraints.
Definition: mbs_data.h:318
MbsData::qu
int * qu
Array with the indices of the independent articulations (free)
Definition: mbs_data.h:271
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:88
MbsData::nqc
int nqc
Number of driven articulations, it includes qlocked and qdriven.
Definition: mbs_data.h:263
mbs_message.h
MbsData
Definition: mbs_data.h:246
mbs_check_nhu_nqv
int mbs_check_nhu_nqv(MbsData *mbs_data)
Check the coherence between the number of (independant) constraints and the number of dependant varia...
Definition: mbs_check.c:20
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:51
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:495
mbs_user_interface.h
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:842
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:31
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:939
MbsData::nhu
int nhu
Number of independent constraints.
Definition: mbs_data.h:268
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:31
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:51