smashyanand / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

AP_Math inclusion error #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build svn

What is the expected output? What do you see instead?
build should work but I get AP_Math.h not found in APM_Compass.h

What version of the product are you using? On what operating system?
latest svn, debian lenny

Please provide any additional information below.
Here is the patch.

Index: libraries/APM_Compass/APM_Compass.h
===================================================================
--- libraries/APM_Compass/APM_Compass.h (revision 561)
+++ libraries/APM_Compass/APM_Compass.h (working copy)
@@ -1,7 +1,7 @@
 #ifndef APM_Compass_h
 #define APM_Compass_h

-#include <AP_Math.h>
+#include <../AP_Math/AP_Math.h>

 #define APM_COMPASS_COMPONENTS_UP_PINS_BACK 0
 #define APM_COMPASS_COMPONENTS_UP_PINS_LEFT 1
@@ -33,4 +33,4 @@

 extern APM_Compass_Class APM_Compass;

-#endif
\ No newline at end of file
+#endif

Original issue reported on code.google.com by james.goppert@gmail.com on 27 Sep 2010 at 2:27

GoogleCodeExporter commented 9 years ago
Fixed in library r562

Original comment by DrZip...@gmail.com on 27 Sep 2010 at 4:05