paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Sniffing the dl_settings


From: Hector Garcia de Marina
Subject: Re: [Paparazzi-devel] Sniffing the dl_settings
Date: Sat, 13 Aug 2016 21:00:47 +0200

Hi Felix,

wow, this really helps me since the agent that I am writing is in Python.

"from settings_xml_parse import PaparazziACSettings" , this is indeed what I was looking for.

thanks a lot!

On Sat, Aug 13, 2016 at 8:53 PM, Felix Ruess <address@hidden> wrote:
Hi Hector,

for quick tests to "sniff" the "raw" IVY messages you can use ivyprobe: https://wiki.paparazziuav.org/wiki/Ivy#Ivyprobe

To build something more "usable", it is probably easiest to write it in python using the IvyMessagesInterface from pprzlink (https://pprzlink.readthedocs.io/en/latest/python/ivy.html)
Together with PaparazziACSettings from settings_xml_parse it should be fairly easy to get indices for the settings names. It's a bit basic but should do the job...
See e.g. https://github.com/paparazzi/paparazzi/blob/master/sw/ground_segment/python/guided_mode_example.py#L34

Improvements to this would also be welcome ;-)

Hope that helps,
Felix

On Sat, Aug 13, 2016 at 4:14 PM, Hector Garcia de Marina <address@hidden> wrote:
Hello guys,

I am writing an agent for the ground segment and I can sniff the messages GCS <-> vehicle.

I was wondering whether there is something where I can checked the assigned indexes to the actual names in the .xml settings.

Of course I can check them for a particular configuration :P, but I would like to have it done automatically and for whatever conf of the user.

Cheers!


--
Héctor


_______________________________________________
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]