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
Thanks.
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
Thanks.
A parameter for a module with modulename
is defined in the file modulename_params.c
. For instance mc_att_control
has params defined in https://github.com/PX4/Firmware/blob/master/src/modules/mc_att_control/mc_att_control_params.c.
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.