fix:新增例程
This commit is contained in:
BIN
基础使用/e9.QGroundControl参数修改实验/Readme_pix.docx
Normal file
BIN
基础使用/e9.QGroundControl参数修改实验/Readme_pix.docx
Normal file
Binary file not shown.
BIN
基础使用/e9.QGroundControl参数修改实验/Readme_pix.pdf
Normal file
BIN
基础使用/e9.QGroundControl参数修改实验/Readme_pix.pdf
Normal file
Binary file not shown.
BIN
基础使用/e9.QGroundControl参数修改实验/Readme_rac.docx
Normal file
BIN
基础使用/e9.QGroundControl参数修改实验/Readme_rac.docx
Normal file
Binary file not shown.
BIN
基础使用/e9.QGroundControl参数修改实验/Readme_rac.pdf
Normal file
BIN
基础使用/e9.QGroundControl参数修改实验/Readme_rac.pdf
Normal file
Binary file not shown.
6
基础使用/e9.QGroundControl参数修改实验/code/Init_control.m
Normal file
6
基础使用/e9.QGroundControl参数修改实验/code/Init_control.m
Normal 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'});
|
||||
BIN
基础使用/e9.QGroundControl参数修改实验/code/PX4QGCTune.slx
Normal file
BIN
基础使用/e9.QGroundControl参数修改实验/code/PX4QGCTune.slx
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
24
基础使用/e9.QGroundControl参数修改实验/code/px4_simulink_app_params.c
Normal file
24
基础使用/e9.QGroundControl参数修改实验/code/px4_simulink_app_params.c
Normal 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);
|
||||
Reference in New Issue
Block a user