Adding new parameter to pixhawk

Hi, i am still new to pixhawk.

how do i access the parameter.h file? Because i want to add a custom parameter to my pixhawk


A parameter for a module with modulename is defined in the file modulename_params.c. For instance mc_att_control has params defined in

Then you can search for an existing parameter in the files and see how it’s done and then copy that. Let me know if that works for you.