Data used in the navigation algorithm.

                u_m                       : Measured Airspeed prior to the nav filter in m/s (float)
                phi_c                     : Commanded Roll (float)
                theta_c                   : Commanded Pitch (float)
                psiDot_c                  : Commanded Turn rate (float)
                ay_body                   : Y component of the body acceleration (float)
                totalDist                 : Total Distance to Run on this leg of Navigation (float)
                dist2Go                   : Remaining distance to Run on this leg of Navigation (float)
                fromWP                    : Origin WP (uint8_t)
                toWP                      : Destination WP (uint8_t)
                h_c                       : Commanded altitude in 0.1 m (uint16_t)

def slugs_navigation_encode(self, u_m, phi_c, theta_c, psiDot_c, ay_body, totalDist, dist2Go, fromWP, toWP, h_c):
                '''
                Data used in the navigation algorithm.

                u_m                       : Measured Airspeed prior to the nav filter in m/s (float)
                phi_c                     : Commanded Roll (float)
                theta_c                   : Commanded Pitch (float)
                psiDot_c                  : Commanded Turn rate (float)
                ay_body                   : Y component of the body acceleration (float)
                totalDist                 : Total Distance to Run on this leg of Navigation (float)
                dist2Go                   : Remaining distance to Run on this leg of Navigation (float)
                fromWP                    : Origin WP (uint8_t)
                toWP                      : Destination WP (uint8_t)
                h_c                       : Commanded altitude in 0.1 m (uint16_t)

                '''
                return MAVLink_slugs_navigation_message(u_m, phi_c, theta_c, psiDot_c, ay_body, totalDist, dist2Go, fromWP, toWP, h_c)