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: Felix Ruess
Subject: Re: [Paparazzi-devel] Building a Code for the first time
Date: Tue, 5 Apr 2016 21:01:42 +0200

If you used the online to install (directly cloned the paparazzi git repo) you don't have to add the remote again (default remote called "origin" already points to paparazzi).

2)
When you click save it also creates a backup with the date as postfix.
But you changes should be saved just fine... what settings are gone?

3)
You can only use curly braces to initialize a struct/array if you also declare it at the same time... but not for assigning values later on.

Cheers, Felix


On Tue, Apr 5, 2016 at 8:25 PM, Rijesh Augustine <address@hidden> wrote:
1. Assuming you are using a git repository.
and have added the following remote:
git remote add upstream git://github.com/paparazzi/paparazzi.git

Then you can run:
git pull upstream master.

You may run into some commit issues if you have modified files that have already been changed.
see this page for more info:
http://wiki.paparazziuav.org/wiki/Git

2. I always just close without saving the conf. The conf.xml is loaded on the GCS startup. If you are saving the conf.xml file it may be saving it with a timestamp? I am not sure. Just have your configuration in conf.xml.

3. In C curly braces {} indicate a block of code. [] indicate an array. So maybe you need to be using square brackets.

regards
Rijesh


On Tue, Apr 5, 2016 at 9:53 AM, notoriou5 <address@hidden> wrote:
Thanks for your help Felix and Rijesh,

thanks to you guys I could figure out some more mistakes and I am getting
closer to the end :D I also put the definition of the variables outside of
the function.

I made the following mistakes:
1) I defined main-freq="512" which belongs to GPS, but I do not include GPS
yet. That's why I could not compile my Tiltrotor.xml
2) I forgot some semicolons in the matrix_module :D ups...

But I have some more new questions:

1) How does it work to update to the latest master which Felix recommended?
Do I have to change all the "Xml.parse_file" with "ExtXml.parse_file" by
hand?

2) Everytime I close Paparazzi GUI and reopen it, all my settings for my AC
are gone. I checked the conf.xml file folder and saw another file like
conf.xml_2016-04-05_15:36 which is the last Save time. Is it not possible to
just save it in the original conf.xml? Or am I saving in the wrong way? I
always click CTRL+S before closing.

3) Some mistakes in my files are gone, but I have one which I can not figure
out. Apparently I forget something before the { token, but I can not see
what. I checked the airframe.h and matrix_module.c but coud not find it.
Here is a pic of the error:
<http://lists.paparazziuav.org/file/n17856/token.png>


Thanks again, wouldn't know what to do without you guys :)



--
View this message in context: http://lists.paparazziuav.org/Building-a-Code-for-the-first-time-tp17812p17856.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]