1/*
2 * RaspberryPrediction_private.h
3 *
4 * Classroom License -- for classroom instructional use only. Not for
5 * government, commercial, academic research, or other organizational use.
6 *
7 * Code generation for model "RaspberryPrediction".
8 *
9 * Model version : 1.13
10 * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016
11 * C source code generated on : Tue Dec 20 13:49:58 2016
12 *
13 * Target selection: ert.tlc
14 * Note: GRT includes extra infrastructure and instrumentation for prototyping
15 * Embedded hardware selection: ARM Compatible->ARM Cortex
16 * Code generation objectives: Unspecified
17 * Validation result: Not run
18 */
19
20#ifndef RTW_HEADER_RaspberryPrediction_private_h_
21#define RTW_HEADER_RaspberryPrediction_private_h_
22#include "rtwtypes.h"
23#include "multiword_types.h"
24#include "RaspberryPrediction.h"
25
26/* Private macros used by the generated code to access rtModel */
27#ifndef rtmIsMajorTimeStep
28# define rtmIsMajorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MAJOR_TIME_STEP)
29#endif
30
31#ifndef rtmIsMinorTimeStep
32# define rtmIsMinorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MINOR_TIME_STEP)
33#endif
34
35#ifndef rtmSetTFinal
36# define rtmSetTFinal(rtm, val) ((rtm)->Timing.tFinal = (val))
37#endif
38
39#ifndef rtmGetTPtr
40# define rtmGetTPtr(rtm) ((rtm)->Timing.t)
41#endif
42
43#ifndef rtmSetTPtr
44# define rtmSetTPtr(rtm, val) ((rtm)->Timing.t = (val))
45#endif
46
47extern void cvxfasd_Outputs_wrapper(const real_T *Am,
48 const real_T *Fx,
49 const real_T *Fy,
50 real_T *y0,
51 real_T *stat);
52extern void sfcn_setPlatform_Outputs_wrapper(const real_T *input,
53 const real_T *xD);
54extern void sfcn_setPlatform_Update_wrapper(const real_T *input,
55 real_T *xD);
56extern void sfcn_getFoilCheck_Outputs_wrapper(real_T *x,
57 real_T *y,
58 real_T *press,
59 int32_T *error,
60 const real_T *xD);
61extern void sfcn_getFoilCheck_Update_wrapper(real_T *x,
62 real_T *y,
63 real_T *press,
64 int32_T *error,
65 real_T *xD);
66extern void sfcn_posread_shm_Outputs_wrapper(int32_T *pos_x,
67 int32_T *pos_y,
68 const real_T *xD);
69extern void sfcn_posread_shm_Update_wrapper(int32_T *pos_x,
70 int32_T *pos_y,
71 real_T *xD);
72extern real_T rt_powd_snf(real_T u0, real_T u1);
73extern void Raspber_Positiontransformation1(real_T rtu_x, real_T rtu_y, const
74 real_T rtu_km4[9], B_Positiontransformation1_Ras_T *localB);
75
76/* private model entry point functions */
77extern void RaspberryPrediction_derivatives(void);
78
79#endif /* RTW_HEADER_RaspberryPrediction_private_h_ */
80