Files

6 lines
514 B
Mathematica
Raw Permalink Normal View History

2025-07-25 16:28:48 +08:00
%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'});