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
MbsData::Ncons
int Ncons
Number of algebraic constraints.
Definition: mbs_data.h:218
UserIoInfo
Contains information about UserIO.
Definition: mbs_user_interface.h:44
MbsData::nqv
int nqv
Number of dependent articulations.
Definition: mbs_data.h:170
mbs_data.h
MbsData::qc
int * qc
Array with the indices of driven (locked and driven) articulations.
Definition: mbs_data.h:175
MbsData::nqu
int nqu
Number of independent articulations.
Definition: mbs_data.h:165
MbsData::njoint
int njoint
Number of joints in the system.
Definition: mbs_data.h:162
mbs_project_interface.h
UserIoInfo::n_in
int n_in
number of user input port
Definition: mbs_user_interface.h:45
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:60
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:60
_MBS_ERR_INIT
#define _MBS_ERR_INIT
Generic error number Check user options at initialization = -10.
Definition: mbs_errors_names.h:156
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:19
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:87
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:404
mbs_msg
void mbs_msg(char *msg,...)
Send a message.
Definition: mbs_message.c:76
MbsData::Nuserc
int Nuserc
Number of user constraints.
Definition: mbs_data.h:219
MbsData::qu
int * qu
Array with the indices of the independent articulations (free)
Definition: mbs_data.h:174
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:87
MbsData::nqc
int nqc
Number of driven articulations, it includes qlocked and qdriven.
Definition: mbs_data.h:166
mbs_message.h
MbsData
Definition: mbs_data.h:149
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:19
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:50
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:420
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:767
UserIoInfo::n_out
int n_out
number of user output port
Definition: mbs_user_interface.h:46
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:30
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:864
MbsData::nhu
int nhu
Number of independent constraints.
Definition: mbs_data.h:171
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:30
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:50