The altitude measured by sensors and IMU

                time_boot_ms              : Timestamp (milliseconds since system boot) (uint32_t)
                alt_gps                   : GPS altitude in meters, expressed as * 1000 (millimeters), above MSL (int32_t)
                alt_imu                   : IMU altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)
                alt_barometric            : barometeric altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)
                alt_optical_flow          : Optical flow altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)
                alt_range_finder          : Rangefinder Altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)
                alt_extra                 : Extra altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)

def altitudes_send(self, time_boot_ms, alt_gps, alt_imu, alt_barometric, alt_optical_flow, alt_range_finder, alt_extra, force_mavlink1=False):
                '''
                The altitude measured by sensors and IMU

                time_boot_ms              : Timestamp (milliseconds since system boot) (uint32_t)
                alt_gps                   : GPS altitude in meters, expressed as * 1000 (millimeters), above MSL (int32_t)
                alt_imu                   : IMU altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)
                alt_barometric            : barometeric altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)
                alt_optical_flow          : Optical flow altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)
                alt_range_finder          : Rangefinder Altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)
                alt_extra                 : Extra altitude above ground in meters, expressed as * 1000 (millimeters) (int32_t)

                '''
                return self.send(self.altitudes_encode(time_boot_ms, alt_gps, alt_imu, alt_barometric, alt_optical_flow, alt_range_finder, alt_extra), force_mavlink1=force_mavlink1)