I am still having problems compiling the ArduRover code, can someone please help
Tags:
Permalink Reply by Eraser on January 16, 2012 at 12:05pm Can you show us the Arduino log?
Hold Shift down when you compile... and paste that here, or attach text file.
Permalink Reply by Petrus Botha on January 16, 2012 at 12:36pm Thanks Eraser attached the text file,
My Arduino is located on C:\arduino-0022
The Ardurover code is located on C:\arduino-0022\libraries\Rover
I extracted the entire arktools-ardupilotone-1.0.0-apo-49-g4edeab3.zip to C:\arduino-0022\libraries\Rover
and pointed my preferences to C:\arduino-0022\libraries\Rover
Permalink Reply by Petrus Botha on January 20, 2012 at 12:59pm A couple of days now and it seems nobody can help?
Permalink Reply by Eraser on January 20, 2012 at 2:34pm Are you using relax patch v22?
I am traveling still, hard to look at things over cell phone.
Permalink Reply by Ben on January 22, 2012 at 9:02am You can't use the normal arduino 0.22, you need the "arduino 0.22 relaxpatch" version. Unfortunately that version is no longer available in the downloads, I've opened an issue for this : http://code.google.com/p/ardupilot-mega/issues/detail?id=496
It's still possible to find it here (in the history) : http://wiki.ardupilot-mega.googlecode.com/git-history/2f5085e61fee3...
It then compiles without any error or warning, hope it helps.
Permalink Reply by 415porto on February 1, 2012 at 1:51pm Delete all of your libraries and copy and paste this into your code in place of the deleted items:
// Libraries
#include <FastSerial.h>
#include <SPI.h>
#include <Wire.h>
#include <AP_Common.h>
#include <APM_RC.h>
#include <AP_RangeFinder.h>
#include <GCS_MAVLink.h>
#include <AP_ADC.h>
#include <AP_DCM.h>
#include <AP_Compass.h>
#include <Wire.h>
#include <AP_GPS.h>
#include <AP_IMU.h>
#include <APM_BMP085.h>
#include <ModeFilter.h>
#include <APO.h>
#include <AP_AnalogSource.h>
#include <AP_InertialSensor.h>
#include <AP_PeriodicProcess.h>
#include <Arduino_Mega_ISR_Registry.h>
Permalink Reply by Brent Burton on February 3, 2012 at 10:27pm Hi Petrus,
I'm compiling it on a Mac with Arduino 023 with the relaxpatch, and I ran into the same error. I have set the board type to 2560. The fix for this error is easy: just add "#include <DataFlash.h>" to the ArduRover sketch file. But, there are other problems that follow.
I had to make these changes:
#include <DataFlash.h>
#include <SPI.h>
//#include <APM_BMP085.h>
#include <AP_Baro.h>
#include <AP_Math.h>
#include <I2C.h>
The BMP085 sensor library was moved into AP_Baro, but several of the source files in libraries/APO/*.cpp still refer to the old APM_BMP085_Class name. It looks like there's some stale code that needs updating.
More to follow.
Edit: OK, as a sanity check I compiled the latest ArduCopter code and it built fine without problems. I think the APO library that ArduRover uses is out of date because after making the source changes to correct the BMP085 class name, it wouldn't compile due to different constructor arguments. So, this code (APO) needs some work.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.87 members
51 members
682 members
184 members
1288 members
© 2013 Created by Chris Anderson.
Powered by
