before the generated ABI callbacks always had a signature with `const type *var` where type was e.g float.
Now the generated signature is simply `type var`.
To pass const pointers again, set it accordingly in abi.xml, e.g. type="const float *" instead of type="float"
- each waypoint is a struct with multiple representations and flags (e.g. if absolute/global)
- factor out waypoints in separate files so it can be shared between firmwares later
Very simple mavlink module that sends some basic messages.
A lot of things (like mav type, sensors, status, etc...) are still fixed and hardcoded, but good enough for first tests I guess...
- reorganize telemetry makefiles for FW
- protect some calls and provide default implementation of
register_periodic
- improve generator with attribute unused keyword
- common utility functions but still a lot of differences
- some features like network configuration not yet supported on bebop
- upload tested with bebop, more checks needed for ardrone2
Start working on #940
This replaces
```xml
<depend require="foo|bar" conflict="baz"/>
```
with
```xml
<depends>foo,bar</depends>
<conflicts>baz</conflicts>
```
and now allows to specify OR dependencies with | (pipe) similaro to Debian depends:
```xml
<depends>foo,bar,this|that</depends>
```
which would depend on: foo AND bar AND (this OR that)
- don't always include "generated/periodic_telemetry.h" in generated/settings.h
- instead add module="generated/periodic_telemetry" in the generated settings_telemetry.xml
- remove unused periodic telemetry stuff from some test progs
- generators: print out from which tool the file has been generated
Datalink/Telemetry functions
Replacing the old macros with functions. This is done by introducing a generic transport structure and a generic link_device structure.
It is only a small step on purpose, changing everything at once usually fails.
There is no functional changes, except that the transport and link_device for periodic function is passed as an argument, which will allow to create a telemetry task for logging in parallel of the normal telemetry (soon).
We now have:
- 4 transports (pprz, pprzlog, xbee, ivy)
- 5 devices (uart, usb_uart, sdio(chibios), udp, w5100)
generators should only output on stderr if there actually was an error.
Rather echo to stdout from the makefile to print the info.
This makes it possible to redirect stderr on compiling/testing to a buffer/file.
E.g. to check if there were warnings..
default behavior:
- the function is called until returning FALSE (same as before)
- at the end of the call, go to next stage immediately (new)
this is related to #830