File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Example5_VelocityAndAcceleration
Example6_StandardDeviation Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -87,22 +87,22 @@ void loop()
8787
8888 // Print velocity
8989 Serial.println ();
90- Serial.println (" Position :" );
91- Serial.print (" X (Inches): " );
90+ Serial.println (" Velocity :" );
91+ Serial.print (" X (Inches/sec ): " );
9292 Serial.println (vel.x );
93- Serial.print (" Y (Inches): " );
93+ Serial.print (" Y (Inches/sec ): " );
9494 Serial.println (vel.y );
95- Serial.print (" Heading (Degrees): " );
95+ Serial.print (" Heading (Degrees/sec ): " );
9696 Serial.println (vel.h );
9797
9898 // Print acceleration
9999 Serial.println ();
100- Serial.println (" Position :" );
101- Serial.print (" X (Inches): " );
100+ Serial.println (" Acceleration :" );
101+ Serial.print (" X (Inches/sec^2 ): " );
102102 Serial.println (acc.x );
103- Serial.print (" Y (Inches): " );
103+ Serial.print (" Y (Inches/sec^2 ): " );
104104 Serial.println (acc.y );
105- Serial.print (" Heading (Degrees): " );
105+ Serial.print (" Heading (Degrees/sec^2 ): " );
106106 Serial.println (acc.h );
107107
108108 // Wait a bit so we don't spam the serial port
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ void loop()
103103
104104 // Print position and standard deviation
105105 Serial.println ();
106- Serial.println (" Sensor pose :" );
106+ Serial.println (" Position :" );
107107 Serial.print (" X (Inches): " );
108108 Serial.print (pos.x );
109109 Serial.print (" +/- " );
@@ -119,7 +119,7 @@ void loop()
119119
120120 // Print velocity and standard deviation
121121 // Serial.println();
122- // Serial.println("Sensor velocity :");
122+ // Serial.println("Velocity :");
123123 // Serial.print("X (Inches/sec): ");
124124 // Serial.print(vel.x);
125125 // Serial.print(" +/- ");
@@ -135,7 +135,7 @@ void loop()
135135
136136 // Print acceleration and standard deviation
137137 // Serial.println();
138- // Serial.println("Sensor acceleration :");
138+ // Serial.println("Acceleration :");
139139 // Serial.print("X (Inches/sec^2): ");
140140 // Serial.print(acc.x);
141141 // Serial.print(" +/- ");
You can’t perform that action at this time.
0 commit comments