42 #include <px4_platform_common/log.h> 43 #include <px4_platform_common/px4_config.h> 64 const char *paramerr =
"FAIL PARM LOAD";
68 PX4_WARN(
"%s", paramerr);
78 PX4_WARN(
"%s", paramerr);
87 PX4_WARN(
"%s", paramerr);
92 PX4_WARN(
"%s", paramerr);
103 PX4_WARN(
"%s", paramerr);
int param_get(param_t param, void *val)
Copy the value of a parameter.
param_t battery_current_offset
uint32_t px4_arch_adc_dn_fullcount(void)
Get the adc digital number full count.
float battery_current_offset
param_t battery_current_scaling
param_t battery_adc_channel
int32_t battery_adc_channel
param_t param_find(const char *name)
Look up a parameter by name.
float battery_current_scaling
void initialize_parameter_handles(ParameterHandles ¶meter_handles)
initialize ParameterHandles struct
int update_parameters(const ParameterHandles ¶meter_handles, Parameters ¶meters)
Read out the parameters using the handles into the parameters struct.
int param_set_no_notification(param_t param, const void *val)
Set the value of a parameter, but do not notify the system about the change.
param_t battery_voltage_scaling
float battery_voltage_scaling