From b7425b9100681b79ed3f88e25f7a6c5290432eb3 Mon Sep 17 00:00:00 2001 From: uncrustify Date: Thu, 16 Aug 2012 23:20:45 -0700 Subject: [PATCH] uncrustify libraries/AP_Navigation/examples/Navigation_simple/Navigation_simple.pde --- .../Navigation_simple/Navigation_simple.pde | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/libraries/AP_Navigation/examples/Navigation_simple/Navigation_simple.pde b/libraries/AP_Navigation/examples/Navigation_simple/Navigation_simple.pde index 5c0f21739c..471b5f5d65 100644 --- a/libraries/AP_Navigation/examples/Navigation_simple/Navigation_simple.pde +++ b/libraries/AP_Navigation/examples/Navigation_simple/Navigation_simple.pde @@ -4,23 +4,23 @@ AP_GPS_IMU gps; -Navigation nav((GPS *) & gps); +Navigation nav((GPS *) & gps); void setup() { - Serial.begin(38400); - Serial.println("Navigation test"); - - Waypoints::WP location_A = {0, 0, 38.579633 * T7, -122.566265 * T7, 10000}; - Waypoints::WP location_B = {0, 0, 38.578743 * T7, -122.572782 * T7, 5000}; - - long distance = nav.get_distance(&location_A, &location_B); - long bearing = nav.get_bearing(&location_A, &location_B); + Serial.begin(38400); + Serial.println("Navigation test"); - Serial.print("\tDistance = "); - Serial.print(distance, DEC); - Serial.print(" Bearing = "); - Serial.println(bearing, DEC); + Waypoints::WP location_A = {0, 0, 38.579633 * T7, -122.566265 * T7, 10000}; + Waypoints::WP location_B = {0, 0, 38.578743 * T7, -122.572782 * T7, 5000}; + + long distance = nav.get_distance(&location_A, &location_B); + long bearing = nav.get_bearing(&location_A, &location_B); + + Serial.print("\tDistance = "); + Serial.print(distance, DEC); + Serial.print(" Bearing = "); + Serial.println(bearing, DEC); } void loop()