Public Member Functions | |
def | __init__ |
def | imu_callback |
def | normalize |
def | odom_callback |
Public Attributes | |
calibration_counter | |
delta | |
delta_new | |
error | |
pub | |
yaw_old | |
Static Public Attributes | |
float | MAX_ANGULAR_VEL = 2.0 |
float | MAX_DELTA = 2.0 |
int | NUM_SAMPLES = 100 |
This ROS node recalibrates the IMU (i.e., calculates the IMU drift and subtracts it) whenever the robot is standing.
Definition at line 15 of file imu_recalibration.py.
def imu_recalibration.ImuRecalibration.__init__ | ( | self | ) |
Definition at line 31 of file imu_recalibration.py.
def imu_recalibration.ImuRecalibration.imu_callback | ( | self, | |
msg_in | |||
) |
Definition at line 52 of file imu_recalibration.py.
def imu_recalibration.ImuRecalibration.normalize | ( | cls, | |
angle | |||
) |
Definition at line 45 of file imu_recalibration.py.
def imu_recalibration.ImuRecalibration.odom_callback | ( | self, | |
msg | |||
) |
Definition at line 91 of file imu_recalibration.py.
Definition at line 31 of file imu_recalibration.py.
Definition at line 31 of file imu_recalibration.py.
Definition at line 31 of file imu_recalibration.py.
Definition at line 31 of file imu_recalibration.py.
float imu_recalibration.ImuRecalibration::MAX_ANGULAR_VEL = 2.0 [static] |
Definition at line 29 of file imu_recalibration.py.
float imu_recalibration.ImuRecalibration::MAX_DELTA = 2.0 [static] |
Definition at line 26 of file imu_recalibration.py.
int imu_recalibration.ImuRecalibration::NUM_SAMPLES = 100 [static] |
Definition at line 22 of file imu_recalibration.py.
Definition at line 31 of file imu_recalibration.py.
Definition at line 31 of file imu_recalibration.py.