Custom hidden parameters

Hello everyone,

I’ve been trying to develop custom hidden parameters in a existing class of the AP library. I’m aware of the steps shown here, however my implementation is not working. For example, suppose I need some parameters of the proximity class (AP_Proximity.cpp) to be available only for a specific value of PRX_TYPE. If PRX_TYPE is set different than my desired value, than the others parameters, e.g. PRX_A1, PRX_A2…, wont be visible on the companion computer, or on the SITL throught the command ‘param show PRX*’. Any ideas on how to work around that?