0 ArduRover Code Posted by Petrus Botha on January 16, 2012 at 11:02am I am still having problems compiling the ArduRover code, can someone please help You need to be a member of diydrones to add comments! Join diydrones Email me when people reply – Follow
Replies
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>
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.
A couple of days now and it seems nobody can help?
Can you show us the Arduino log?
Hold Shift down when you compile... and paste that here, or attach text file.