mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 05:03:35 +08:00
Parameter update - Rename variables in lib
using paramter_update.py script
This commit is contained in:
@@ -49,7 +49,7 @@ PX4Accelerometer::PX4Accelerometer(uint32_t device_id, uint8_t priority, enum Ro
|
||||
|
||||
// set software low pass filter for controllers
|
||||
updateParams();
|
||||
configure_filter(_filter_cutoff.get());
|
||||
configure_filter(_param_imu_accel_cutoff.get());
|
||||
|
||||
// force initial publish to allocate uORB buffer
|
||||
// TODO: can be removed once all drivers are in threads
|
||||
|
||||
@@ -82,7 +82,7 @@ private:
|
||||
unsigned _sample_rate{1000};
|
||||
|
||||
DEFINE_PARAMETERS(
|
||||
(ParamFloat<px4::params::IMU_ACCEL_CUTOFF>) _filter_cutoff
|
||||
(ParamFloat<px4::params::IMU_ACCEL_CUTOFF>) _param_imu_accel_cutoff
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
@@ -49,7 +49,7 @@ PX4Gyroscope::PX4Gyroscope(uint32_t device_id, uint8_t priority, enum Rotation r
|
||||
|
||||
// set software low pass filter for controllers
|
||||
updateParams();
|
||||
configure_filter(_filter_cutoff.get());
|
||||
configure_filter(_param_imu_gyro_cutoff.get());
|
||||
|
||||
// force initial publish to allocate uORB buffer
|
||||
// TODO: can be removed once all drivers are in threads
|
||||
|
||||
@@ -82,7 +82,7 @@ private:
|
||||
unsigned _sample_rate{1000};
|
||||
|
||||
DEFINE_PARAMETERS(
|
||||
(ParamFloat<px4::params::IMU_GYRO_CUTOFF>) _filter_cutoff
|
||||
(ParamFloat<px4::params::IMU_GYRO_CUTOFF>) _param_imu_gyro_cutoff
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user