Browse Source

AP_InertialSensor: reduce POS param range to 5m and add increment

zr-v5.1
Randy Mackay 5 years ago
parent
commit
b7f6f4a05e
  1. 24
      libraries/AP_InertialSensor/AP_InertialSensor.cpp

24
libraries/AP_InertialSensor/AP_InertialSensor.cpp

@ -325,21 +325,24 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = { @@ -325,21 +325,24 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = {
// @DisplayName: IMU accelerometer X position
// @Description: X position of the first IMU Accelerometer in body frame. Positive X is forward of the origin. Attention: The IMU should be located as close to the vehicle c.g. as practical so that the value of this parameter is minimised. Failure to do so can result in noisy navigation velocity measurements due to vibration and IMU gyro noise. If the IMU cannot be moved and velocity noise is a problem, a location closer to the IMU can be used as the body frame origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
// @Param: POS1_Y
// @DisplayName: IMU accelerometer Y position
// @Description: Y position of the first IMU accelerometer in body frame. Positive Y is to the right of the origin. Attention: The IMU should be located as close to the vehicle c.g. as practical so that the value of this parameter is minimised. Failure to do so can result in noisy navigation velocity measurements due to vibration and IMU gyro noise. If the IMU cannot be moved and velocity noise is a problem, a location closer to the IMU can be used as the body frame origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
// @Param: POS1_Z
// @DisplayName: IMU accelerometer Z position
// @Description: Z position of the first IMU accelerometer in body frame. Positive Z is down from the origin. Attention: The IMU should be located as close to the vehicle c.g. as practical so that the value of this parameter is minimised. Failure to do so can result in noisy navigation velocity measurements due to vibration and IMU gyro noise. If the IMU cannot be moved and velocity noise is a problem, a location closer to the IMU can be used as the body frame origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
AP_GROUPINFO("POS1", 27, AP_InertialSensor, _accel_pos[0], 0.0f),
@ -347,21 +350,24 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = { @@ -347,21 +350,24 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = {
// @DisplayName: IMU accelerometer X position
// @Description: X position of the second IMU accelerometer in body frame. Positive X is forward of the origin. Attention: The IMU should be located as close to the vehicle c.g. as practical so that the value of this parameter is minimised. Failure to do so can result in noisy navigation velocity measurements due to vibration and IMU gyro noise. If the IMU cannot be moved and velocity noise is a problem, a location closer to the IMU can be used as the body frame origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
// @Param: POS2_Y
// @DisplayName: IMU accelerometer Y position
// @Description: Y position of the second IMU accelerometer in body frame. Positive Y is to the right of the origin. Attention: The IMU should be located as close to the vehicle c.g. as practical so that the value of this parameter is minimised. Failure to do so can result in noisy navigation velocity measurements due to vibration and IMU gyro noise. If the IMU cannot be moved and velocity noise is a problem, a location closer to the IMU can be used as the body frame origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
// @Param: POS2_Z
// @DisplayName: IMU accelerometer Z position
// @Description: Z position of the second IMU accelerometer in body frame. Positive Z is down from the origin. Attention: The IMU should be located as close to the vehicle c.g. as practical so that the value of this parameter is minimised. Failure to do so can result in noisy navigation velocity measurements due to vibration and IMU gyro noise. If the IMU cannot be moved and velocity noise is a problem, a location closer to the IMU can be used as the body frame origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
AP_GROUPINFO("POS2", 28, AP_InertialSensor, _accel_pos[1], 0.0f),
@ -376,14 +382,16 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = { @@ -376,14 +382,16 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = {
// @DisplayName: IMU accelerometer Y position
// @Description: Y position of the third IMU accelerometer in body frame. Positive Y is to the right of the origin. Attention: The IMU should be located as close to the vehicle c.g. as practical so that the value of this parameter is minimised. Failure to do so can result in noisy navigation velocity measurements due to vibration and IMU gyro noise. If the IMU cannot be moved and velocity noise is a problem, a location closer to the IMU can be used as the body frame origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
// @Param: POS3_Z
// @DisplayName: IMU accelerometer Z position
// @Description: Z position of the third IMU accelerometer in body frame. Positive Z is down from the origin. Attention: The IMU should be located as close to the vehicle c.g. as practical so that the value of this parameter is minimised. Failure to do so can result in noisy navigation velocity measurements due to vibration and IMU gyro noise. If the IMU cannot be moved and velocity noise is a problem, a location closer to the IMU can be used as the body frame origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
AP_GROUPINFO("POS3", 29, AP_InertialSensor, _accel_pos[2], 0.0f),

Loading…
Cancel
Save