Robotran C Documentation
mbs_errors_names.h
Go to the documentation of this file.
1 
29 #ifndef MBS_ERRORS_NAMES_h
30 #define MBS_ERRORS_NAMES_h
31 
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 /************************
38 * Modules *
39 ************************/
43 #define _MBS_ERR_MOD_PART -100
44 
48 #define _MBS_ERR_MOD_EQUIL -200
49 
53 #define _MBS_ERR_MOD_MODAL -300
54 
58 #define _MBS_ERR_MOD_DIRDYN -400
59 
63 #define _MBS_ERR_MOD_INV_KIN -500
64 
68 #define _MBS_ERR_MOD_INV_DYN -600
69 
73 #define _MBS_ERR_MOD_LOAD -900
74 
75 /************************
76 * Middle Level *
77 ************************/
78 
82 #define _MBS_ERR_MID_UXD -40
83 
87 #define _MBS_ERR_MID_CLOSE_GEO -50
88 
92 #define _MBS_ERR_MID_ACCERED -60
93 
97 #define _MBS_ERR_MID_DIRDYNARED -70
98 
102 #define _MBS_ERR_MID_RRED -80
103 
107 #define _MBS_ERR_MID_MRED -90
108 
109 /************************
110 * Low Level *
111 ************************/
112 
113 
117 #define _MBS_ERR_LOW_RANK_DCMP -1
118 
122 #define _MBS_ERR_LOW_LU_DCMP -2
123 
127 #define _MBS_ERR_LOW_CHOL_DCMP -3
128 
132 #define _MBS_ERR_LOW_EIG_VAL -4
133 
137 #define _MBS_ERR_LOW_LAPACKE -5
138 
142 #define _MBS_ERR_LOW_NULL_PTR -6
143 
147 #define _MBS_ERR_LOW_NAN -7
148 
152 #define _MBS_ERR_LOW_INVALID -8
153 
157 #define _MBS_ERR_LOW_FILES -9
158 
159 /************************
160 * Generic *
161 ************************/
162 
166 #define _MBS_ERR_INIT -10
167 
172 #define _MBS_ERR_MOD_SPEC_11 -11
173 
178 #define _MBS_ERR_MOD_SPEC_12 -12
179 
184 #define _MBS_ERR_MOD_SPEC_13 -13
185 
190 #define _MBS_ERR_MOD_SPEC_14 -14
191 
196 #define _MBS_ERR_MOD_SPEC_15 -15
197 
202 #define _MBS_ERR_MOD_SPEC_16 -16
203 
208 #define _MBS_ERR_MOD_SPEC_17 -17
209 
214 #define _MBS_ERR_MOD_SPEC_18 -18
215 
220 #define _MBS_ERR_MOD_SPEC_19 -19
221 
222 /*
223 * Error specific to the modules:
224 *
225 * Load :
226 * -11 : Missing mandatory symbolic function
227 * -12 :
228 * -13 :
229 * -14 :
230 * -15 :
231 * -16 :
232 * -17 :
233 * -18 :
234 * -19 :
235 *
236 * Part :
237 * -11 : Number of coordinates is not consistent between trajectories file
238 * -12 : LU tot = wrong choice of qu and qv
239 * -13 :
240 * -14 :
241 * -15 :
242 * -16 :
243 * -17 :
244 * -18 :
245 * -19 :
246 *
247 * Equil :
248 * -11 : Coordinate part. has not been done before calling the equil process
249 * -12 : None of the proposed parameter are sensitive
250 * -13 : They are no equilibrium variables
251 * -14 : Equilibrium process has not converged after many iterations
252 * -15 :
253 * -16 :
254 * -17 :
255 * -18 :
256 * -19 :
257 *
258 * Modal :
259 * -11 : No equil process called before
260 * -12 : No independent variable - irrelevant process
261 * -13 : There are no modal variables - irrelevant process
262 * -14 :
263 * -15 :
264 * -16 :
265 * -17 :
266 * -18 :
267 * -19 :
268 *
269 * Direct dynamics:
270 * -11 : buffer visualization
271 * -12 :
272 * -13 : Real-time
273 * -14 : Rosenbrock integrator
274 * -15 : Dopri 5 integrator
275 * -16 : Bader integrator
276 * -17 :
277 * -18 : ThetaSC (unused)
278 * -19 :
279 *
280 * Inverse kinematics (solvekin):
281 * -11 : This analysis is irrelevant in absence of constraints
282 * -12 : This analysis is irrelevant in absence of dependant variable
283 * -13 : Number of coordinates is not consistent between trajectories files
284 * -14 : Provided trajectories number of variable does not match : total joint or independant joint
285 * -15 : Impossible to interpolate trajectory
286 * -16 :
287 * -17 :
288 * -18 :
289 * -19 :
290 *
291 * Inverse dynamics:
292 * -11 : Interpolation of trajectories
293 * -12 : Not compatible options detected during the run (should not occur)
294 * -13 :
295 * -14 : Provided trajectories number of variable does not match : total joint or independant joint
296 * -15 : Impossible to interpolate trajectory
297 * -16 :
298 * -17 :
299 * -18 :
300 * -19 :
301 */
302 
303 #ifdef __cplusplus
304 }
305 #endif
306 
307 #endif // MBS_ERRORS_NAMES_h