修复了航向的问题
This commit is contained in:
50
src/pAUV150/Controler/rtGetNaN.cpp
Normal file
50
src/pAUV150/Controler/rtGetNaN.cpp
Normal file
@@ -0,0 +1,50 @@
|
||||
//
|
||||
// Academic License - for use in teaching, academic research, and meeting
|
||||
// course requirements at degree granting institutions only. Not for
|
||||
// government, commercial, or other organizational use.
|
||||
//
|
||||
// File: rtGetNaN.cpp
|
||||
//
|
||||
// Code generated for Simulink model 'Controler'.
|
||||
//
|
||||
// Model version : 5.56
|
||||
// Simulink Coder version : 24.2 (R2024b) 21-Jun-2024
|
||||
// C/C++ source code generated on : Wed Jun 18 22:52:45 2025
|
||||
//
|
||||
// Target selection: ert.tlc
|
||||
// Embedded hardware selection: Intel->x86-64 (Linux 64)
|
||||
// Code generation objectives:
|
||||
// 1. Execution efficiency
|
||||
// 2. RAM efficiency
|
||||
// Validation result: Not run
|
||||
//
|
||||
|
||||
#include "rtwtypes.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#include "rtGetNaN.h"
|
||||
|
||||
}
|
||||
|
||||
extern "C"
|
||||
{
|
||||
// Return rtNaN needed by the generated code.
|
||||
real_T rtGetNaN(void)
|
||||
{
|
||||
return rtNaN;
|
||||
}
|
||||
|
||||
// Return rtNaNF needed by the generated code.
|
||||
real32_T rtGetNaNF(void)
|
||||
{
|
||||
return rtNaNF;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// File trailer for generated code.
|
||||
//
|
||||
// [EOF]
|
||||
//
|
||||
Reference in New Issue
Block a user