Classes | |
class | ImuAttributes |
class | ImuMessages |
Functions | |
def | convert_accel |
Variables | |
handler = imu.publish | |
tuple | imu = ImuMessages() |
def segbot_sensors.imu.convert_accel | ( | int_val | ) |
Convert acceleration component from device value to ROS value. :param int_val: Reading from device. :type int_val: str :returns: float value in meters per second squared. TODO: Figure out the actual conversion. The device readings are a signed A/D converter value based on a full range of 2g, which is about 19.6 m/s/s.
segbot_sensors::imu::handler = imu.publish |
tuple segbot_sensors::imu::imu = ImuMessages() |