|
From: | Stephen Dwyer |
Subject: | Re: [Paparazzi-devel] 'estimator_z' undeclared |
Date: | Sat, 13 Jul 2013 15:50:26 -0600 |
Stephen Dwyer found this in TUDelt repository: https://github.com/tudelft/paparazzi/blob/tudelft5.0/how_to_update_to_master_from_v4_2.txt
I guess we should have put this to the wiki, but the release was made a bit in a hurry...
Le 12/07/2013 22:22, Steffen Spies a écrit :
Got it... thank you again!
What do I miss? Do I have to read all changelog to follow all of these changes? Or have I overseen an info somewhere?
It happens to me almost everytime I do an update and very often it is not easy to understand what the reason for the errors are.
Thank you again, Gautier
Am 12.07.2013 22:05, schrieb Gautier Hattenberger:
You also need to select explicitely the ins subsystem now. Add to your airframe in the firmware section:
<subsystem name="ins" type="alt_float"/>
Gautier
Le 12/07/2013 21:38, Steffen Spies a écrit :
Hi,
thanx or the answer. Worked, shame it was no easy find the connection between the error message and the flight plan.
Unfortunatly there are new errors and again, I have no idea.
LD /home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/ap/ap.elf
/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/ap/firmwares/fixedwing/main_ap.o: In function `init_ap':
main_ap.c:(.text.init_ap+0x18): undefined reference to `ins_init'
/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/ap/firmwares/fixedwing/main_ap.o: In function `sensors_task':
main_ap.c:(.text.sensors_task+0x24): undefined reference to `ins_periodic'
/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/ap/firmwares/fixedwing/main_ap.o: In function `event_task_ap':
main_ap.c:(.text.event_task_ap+0x2b8): undefined reference to `ins_update_gps'
collect2: ld returned 1 exit status
make[1]: *** [/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/ap/ap.elf] Error 1
Am 12.07.2013 21:18, schrieb Gautier Hattenberger:
Hi,
The variable estimator_z doesn't exist any more in v5.0. It can be replaced by GetPosAlt() in your flight plan.
Look at basic.xml flight plan for a working example.
Gautier
Le 12/07/2013 20:59, Steffen Spies a écrit :
Hi List,
I did an update to the latest Paparazzi Version(v5.0.0_stable-10-g0dee842).
During build process I get the following message and since I think whooling in the source code is the right way (for me), I have no idea what to do.
/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/generated/flight_plan.h: In function 'auto_nav':
/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/generated/flight_plan.h:138:30: error: 'estimator_z' undeclared (first use in this function)
/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/generated/flight_plan.h:138:30: note: each undeclared identifier is reported only once for each function it appears in
/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/generated/flight_plan.h:145:9: error: 'estimator_flight_time' undeclared (first use in this function)
make[1]: *** [/home/spies/Projekte/paparazzi/paparazzi/var/TwinStar_Umarim_SPI/ap/subsystems/nav.o] Error 1
What can I do?
Thanx for help!
Steffen
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
[Prev in Thread] | Current Thread | [Next in Thread] |