mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 03:01:36 +08:00
[WIP] per sensor noise defaults
This commit is contained in:
@@ -146,6 +146,8 @@ public:
|
||||
|
||||
void set(float val) { _val = val; }
|
||||
|
||||
bool is_default() { return param_value_is_default(handle()); }
|
||||
|
||||
void reset()
|
||||
{
|
||||
param_reset_no_notification(handle());
|
||||
@@ -198,6 +200,8 @@ public:
|
||||
|
||||
void set(float val) { _val = val; }
|
||||
|
||||
bool is_default() { return param_value_is_default(handle()); }
|
||||
|
||||
void reset()
|
||||
{
|
||||
param_reset_no_notification(handle());
|
||||
@@ -248,6 +252,8 @@ public:
|
||||
|
||||
void set(int32_t val) { _val = val; }
|
||||
|
||||
bool is_default() { return param_value_is_default(handle()); }
|
||||
|
||||
void reset()
|
||||
{
|
||||
param_reset_no_notification(handle());
|
||||
@@ -300,6 +306,8 @@ public:
|
||||
|
||||
void set(int32_t val) { _val = val; }
|
||||
|
||||
bool is_default() { return param_value_is_default(handle()); }
|
||||
|
||||
void reset()
|
||||
{
|
||||
param_reset_no_notification(handle());
|
||||
@@ -358,6 +366,8 @@ public:
|
||||
|
||||
void set(bool val) { _val = val; }
|
||||
|
||||
bool is_default() { return param_value_is_default(handle()); }
|
||||
|
||||
void reset()
|
||||
{
|
||||
param_reset_no_notification(handle());
|
||||
|
||||
Reference in New Issue
Block a user