Reply to topic  [ 4 posts ] 
compilation error 
Author Message

Joined: Mon Sep 05, 2011 10:26 pm
Posts: 66
Post compilation error

i have tried to compile the firmware because I have different radio.
i get following error:

firmwares/rotorcraft/main.c:192: error: 'RADIO_EXPO' undeclared (first use in this function)
firmwares/rotorcraft/main.c:192: error: (Each undeclared identifier is reported only once
firmwares/rotorcraft/main.c:192: error: for each function it appears in.)
make[1]: *** [/home/david/paparazzi/var/QS4_M2A2/ap/firmwares/rotorcraft/main.o] Error 1
make: *** [ap.compile] Error 2

Any idea? :)


Mon Aug 27, 2012 7:25 pm
Site Admin
User avatar

Joined: Tue Jun 21, 2011 7:09 pm
Posts: 69
Post Re: compilation error

I assume you are using a PPM receiver. You need to define a channel called EXPO (setting the fly by wire command expo setting) in your radio file. Look in conf/radios/QS1RX6.xml for an example.

Cheers Esden

Mon Aug 27, 2012 8:22 pm

Joined: Mon Sep 05, 2011 10:26 pm
Posts: 66
Post Re: compilation error
Hey Esden,

thanks for helping me.
I managed to to compile (with the EXPO correction) and upload (using sudo, otherwise I didn't get the permission).
So, I switched everything on and lots of lights appeared :).
Is there any light that says:"Ok, I see Rx and I understand it."?
I haven't got time to browse through Mocha user manual if there is any info about that.


p.s. Great job on quadshot. It got me just two afternoons to assemble it.

Mon Aug 27, 2012 8:48 pm

Joined: Tue Jun 21, 2011 7:34 pm
Posts: 116
Post Re: compilation error

Mon Nov 17, 2014 7:22 pm
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.