paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Building a Code for the first time


From: Rijesh Augustine
Subject: Re: [Paparazzi-devel] Building a Code for the first time
Date: Tue, 5 Apr 2016 09:20:11 -0600

Right off the bat:

In matrix_module.c you have not defined a global variable for everything in your init function.
int32_t pitch_coef_ft[NUMBER_OF_MATRIXSETS] = PITCH_COEF_FT;
If I am not mistaken pitch_coef_ft[] (and similar) will only be defined in this function. So now your periodic function doesn't even know that this variable exists.
Put everything you have inside the init function outside of it or declare the variables outside the init function and define them in the init function.

In matrix_module.xml can you double check this line:
<module name="matrix_module" dir="demo_module">
If you have the xml in a folder named matrix_module I don't think you need to define anything with the dir flag.


regards
Rijesh

On Tue, Apr 5, 2016 at 6:11 AM, Felix Ruess <address@hidden> wrote:
Hi Kevin,

don't have time to look at this in detail right now.
But the "Fatal error: exception DTD.prove_error" tells you that one of your xml files is not valid (according to the DTD).

Btw, if you update to latest master, you should get better error reports in cases like this (see https://github.com/paparazzi/paparazzi/pull/1570)

Cheers, Felix

On Tue, Apr 5, 2016 at 1:04 PM, notoriou5 <address@hidden> wrote:
Hi Flixr,

I did build my code but I do not get it to work yet. Maybe you could have a
look over the files? Thanks a lot in advance:

matrix_module.c: http://pastebin.com/mBy91GrW
matrix_module.h: http://pastebin.com/Rd1v0dW3
matrix_module.xml: http://pastebin.com/WbeYMNhn
motor_mixing.c: http://pastebin.com/5PD2VWPm
motor_mixing.h: http://pastebin.com/fHjqhiqM

Tiltrotor.xml: http://pastebin.com/dESzELXV

And this is the ERROR Screen:

<http://lists.paparazziuav.org/file/n17852/GUI.png>

And what does ERROR 2 mean?


Thanks a lot for all the help,

Kevin







--
View this message in context: http://lists.paparazziuav.org/Building-a-Code-for-the-first-time-tp17812p17852.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]