Hello,
three days ago I received the boards and everything work well: compiling, upload, radio, HIL, HappyKillmore, etc...
Now I was trying the QGroundControl, I followed the manual (download zip, modify APM_Config.h - I'm using Arduino 022) but when I try to compile the code I receive these errors:
In file included from ArduPilotMega.cpp:17:C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:80: error: cannot declare variable 'Serial' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note: because the following virtual functions are pure within 'FastSerial':C:\Users\Luke\Desktop\aerei\arduino\arduino-0022\hardware\arduino\cores\arduino/Stream.h:31: note: virtual int Stream::peek()C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:81: error: cannot declare variable 'Serial1' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note: since type 'FastSerial' has pure virtual functionsC:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:83: error: cannot declare variable 'Serial3' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note: since type 'FastSerial' has pure virtual functionsArduPilotMega:61: error: cannot declare variable 'Serial' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note: since type 'FastSerial' has pure virtual functionsArduPilotMega:62: error: cannot declare variable 'Serial1' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note: since type 'FastSerial' has pure virtual functionsArduPilotMega:63: error: cannot declare variable 'Serial3' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85:
It's a problem about serial declaration but I'm a newbie and so I don't know how to solve it. Can you help me?
Thanks,
luca
note: since type 'FastSerial' has pure virtual functions
Tags: GCS, fastserial, qgroundcontrol, serial
Permalink Reply by luca on January 16, 2011 at 1:32pm
Permalink Reply by luca on January 17, 2011 at 3:01am
Permalink Reply by Kiel Murray on January 27, 2011 at 3:56pm
Permalink Reply by luca on January 28, 2011 at 4:54am Please, if you find a solution write to me. I'd like to use a more sofisticated GCS than the Happykillmore. I've also a paparazzi and on that platform you can move waypoints flying or choose to land when you want.
Permalink Reply by Kiel Murray on January 30, 2011 at 8:08pm Luca,
I think we might be using a branch no longer supported. I followed the directions here:
http://diydrones.com/profiles/blogs/qgroundcontrol-integration-for-...
and was able to get it to compile. It is a bit more complicated, but should also solve your issue. Note that the first step is incorrect as James points out in his comment.
Best of Luck!
Kiel
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.1282 members
183 members
675 members
5 members
116 members
© 2013 Created by Chris Anderson.
Powered by
