fix:新增例程

This commit is contained in:
2025-07-25 16:28:48 +08:00
parent 859702f239
commit 891627bc06
53 changed files with 1104 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
%Pixhawk_CSC.Parameter( CELL_ARRAY )
%Where CELL_ARRAY is a MATLAB cell array composed of a value (int32 or single) and a string of the parameter. For instance:
%CAL_GYRO0_XSCALE = Pixhawk_CSC.Parameter( {single(1), 'CAL_GYRO0_XSCALE'} )
%Parameters can either be int32 or single/floating precision. Please ensure you select the correct data type and the the string name matches.
SL_RFLY_FLT = Pixhawk_CSC.Parameter({single(100.0), 'SL_RFLY_FLT'});
SL_RFLY_INT = Pixhawk_CSC.Parameter({int32(50), 'SL_RFLY_INT'});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,24 @@
/**
* RflySim QGC Tune Param RFLY_FLT
*
* <longer description, can be multi-line>
*
* @min 1
* @max 1000
* @decimal 2
* @increment 1
* @group simulink
*/
PARAM_DEFINE_FLOAT(SL_RFLY_FLT, 100.0);
/**
* RflySim QGC Tune Param RFLY_INT
*
* <longer description, can be multi-line>
*
* @min 1
* @max 1000
* @decimal 2
* @increment 1
* @group simulink
*/
PARAM_DEFINE_INT32(SL_RFLY_INT, 50);