I really like this new messaging approach.
Btw i want to ask you if it is possible for two pieces of code to
share the same message.
For example the "WEATHER" message has fields for the baro, the
airspeed and the humidity so it will need input from 3 different
sensors.
Of course i can find a workaround but i thought that it might be a
good idea to ask first.
Chris
On 11/10/2013 06:15 PM, Gautier Hattenberger wrote:
Hi,
We have recently merge this pull request
https://github.com/paparazzi/paparazzi/pull/472?source=cc into master.
It is now using a registering mechanism where the actual function
that are sending the messages (formerly PERIODIC_SEND_XXX macros)
are real functions close to the code they belong to.
The main purpose of these changes are to get rid of the old macro
based system which makes it much easier to debug.
The wiki is up-to-date about how to add new periodic telemetry messages
http://paparazzi.enac.fr/wiki/Telemetry#Add_Messages
Especially, follow step 3 for latest master
http://paparazzi.enac.fr/wiki/Telemetry#Step_3_.28latest_master.29
You can also find several examples in the code (for instance in
subsystems/gps.c)
Gautier
Le 10/11/2013 15:42, Chris a écrit :
I noticed that the "ap_downlink.h" file is now missing and i am
wondering how to re enable the custom messages i had setup in
"ap_downlink.h" file from now on.
Any information is welcomed.
Chris
_______________________________________________
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