Mid Level commands sent from the GS to the autopilot. These are only
                sent when being operated in mid-level commands mode
                from the ground.

                target                    : The system setting the commands (uint8_t)
                hCommand                  : Commanded Altitude in meters (float)
                uCommand                  : Commanded Airspeed in m/s (float)
                rCommand                  : Commanded Turnrate in rad/s (float)

def mid_lvl_cmds_encode(self, target, hCommand, uCommand, rCommand):
                '''
                Mid Level commands sent from the GS to the autopilot. These are only
                sent when being operated in mid-level commands mode
                from the ground.

                target                    : The system setting the commands (uint8_t)
                hCommand                  : Commanded Altitude in meters (float)
                uCommand                  : Commanded Airspeed in m/s (float)
                rCommand                  : Commanded Turnrate in rad/s (float)

                '''
                return MAVLink_mid_lvl_cmds_message(target, hCommand, uCommand, rCommand)