fix:新增例程
This commit is contained in:
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'});
|
||||
Reference in New Issue
Block a user