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

Views: 237

Reply to This

Replies to This Discussion

I found the problem: arduino 0022... with the 0021 version it works.
But now it seems that the 0.8 version of the QGroundControl is not compatible with the present version of the APM... right?
Yep, also having that problem and running 0022. I haven't found a solution yet.

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. 

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

Thanks, I'll try that soon!

luca

RSS

Social Networking

Contests

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.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service