I tried to set parameter to read only. for that I created .parm file and add content:
LOITER_SPEED_DEFAULT 111 @READONLY # users will not be able to modify this parameter
AC_FENCE_ALT_MAX_DEFAULT 90.0 @READONLY # users will not be able to modify this parameter
AC_FENCE_CIRCLE_RADIUS_DEFAULT 2000.0 @READONLY # users will not be able to modify this parameter
after that I am running python program with previously compiled arducopter firmware (.apj)
I followed [APJ Tools for Custom Parameter Defaults — Dev documentation] method.
after flashing new .apj file to the board, I checked the parameters in mission planner which I wanted set , it is not reflecting(which I set in .parm file).
it is setting the values from the arducopter firmware.
please help me