Pprzlink#1513
Conversation
some stuff are compiling but not working (at least sim) needs a lot of cleaning needs a better way to init transport types
fix conflicts and update bluegiga datalink event
|
Pprzlink should be mostly functional now. Their is one remaining question: should we use the message definition from paparazzi (good old conf/messages.xml) or use the one provided by pprzlink (message_definitions/v1.0/messages.xml in the pprzlink tree). Both are possible All comments are welcome, since this stuff is a bit blocking for other PR like #1509 |
|
Custom messages are a pain even with conf/messages.XML What about creating an option to include personal messages in pprzlink and
|
|
this will be part of the next version of the protocol, I want to avoid this kind of modification for v1.0 |
|
IMHO: the kindest approach would be: step 1: be able to select which messages.xml one you want to use: default (person -Christophe On Thu, Jan 14, 2016 at 6:03 PM, Gautier Hattenberger <
|
|
So how do you see step 1 without step 3 ? removing messages.xml is harmless if you don't have modifications and will keep it (with some complains) if you have some. But if you have both, how to you select ? Editing makefile is a pain, exporting env variables or using different makefile rules is error prone. |
|
Symlink? Maybe make a poll to see if all steps are wanted by many. Personally I
|
|
Then I vote for removing old messages.xml and use the new one unless a custom one exist. |
|
How do you want to check if a custom one exists? |
|
just checking if a file |
and var/messages.xml for things when it's actually built
|
Ok, I think that should work... as long as nothing directly uses conf/messages.xml anymore... |
- by default use pprzlink message definition - if custom messages are need to be used, place the file messages.xml in conf - only use default units.xml file - better quiet compilation
|
@gautierhattenberger there are still some warnings that XML validation is not performed. |
|
kind of |
|
AFAIK xsd is more powerful/descriptive than dtd and it seems that mavlink includes the I quickly tried to add the libs and then it will try to validate (takes a while though), but it fails since the xsd doesn't completely match our allowed values in the messages.xml... In any case getting those warnings is not so nice if it is not even supported by us... |
|
See paparazzi/pprzlink#1 for validation... |
|
What else is missing ? Does anyone has some time to try/comment this ? @dewagter @fvantienen @esden ? |
instead of disabling validation in pprzlink by default
|
Looks good to merge to me... |
Pprzlink Here we go!
New external message library and tools. The main goal is to allow third party applications to communicate more easily with Paparazzi.
It currently provides:
Regarding the integration to the main project:
This pull request is currently at initial review stage and might need some more cleaning