Commit Graph

634 Commits

Author SHA1 Message Date
Felix Ruess 6d2acf227d [generators] gen_aircraft: possibility to specify conf.xml file 2015-03-12 16:56:06 +01:00
Felix Ruess 8cb19eba41 [bebop] telnet timeout and some pep8 cleanup 2015-03-06 21:49:18 +01:00
Felix Ruess 0d1c77c819 [generators] only include raw makefile part from modules if target matches 2015-03-02 17:52:28 +01:00
Gautier Hattenberger f6937434cb [flight_plan] add ; when using the 'call' statement without loop 2015-02-28 23:47:51 +01:00
Gautier Hattenberger 99d83b3dd6 [ardrone2] add support for olsr 2015-02-11 16:44:50 +01:00
Gautier Hattenberger bcd241a0c7 [generators] allow conditions on modules' defines 2015-02-10 17:55:52 +01:00
Felix Ruess 30df14eb05 [abi] allow to pass variables by value
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"
2015-02-07 16:07:09 +01:00
Felix Ruess bd297c7dbd [navigation] start implementing global waypoints
- 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
2015-01-28 18:06:57 +01:00
Felix Ruess 12024911cb [generators] flight_plan: WAYPOINTS_LLA
- alt in mm
- WAYPOINTS_LLA_WGS84 with ellipsoidal alt
- WAYPOINTS_LLAx with labels
2015-01-03 13:20:34 +01:00
Gautier Hattenberger 8a4d3d7178 [modules] protect try catch in gen_modules 2015-01-02 21:14:28 +01:00
Felix Ruess 7183e0998a [generator] prettify gen_module output 2015-01-02 16:53:34 +01:00
Felix Ruess 478ad34605 [mavlink] rename SETTINGS to SETTINGS_NAMES_SHORT 2014-12-27 19:24:17 +01:00
podhrmic 03b58017f9 [boards][stm32f4] Lisa MX luftboot support
Added support for luftboot-like bootloader for Lisa MX 2.0 and 2.1
(the bootloader itself is in ext repository, this is only support in pprzi code)
2014-12-15 12:00:28 +01:00
Felix Ruess 91bfccd8ee Merge pull request #1028 from paparazzi/mavlink_module
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...
2014-12-11 15:59:04 +01:00
Freek van Tienen b8ac2ef752 [mavlink] Basic implementation (needs cleanup) 2014-12-11 14:18:09 +01:00
Gautier Hattenberger 83df8f15b5 [telemetry] disabling telemetry made easier
- reorganize telemetry makefiles for FW
- protect some calls and provide default implementation of
  register_periodic
- improve generator with attribute unused keyword
2014-12-11 14:08:26 +01:00
Gautier Hattenberger 9ce18f8146 [vision] add computer vision library in standard modules + 2 modules
- video RTP stream
- image download

for ARDrone2
2014-12-10 11:03:28 +01:00
Gautier Hattenberger 2b358ebf35 [parrot] move and merge ardrone2 and bebop scripts
- 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
2014-12-08 16:48:28 +01:00
Felix Ruess 884b1f68c1 [generators][modules] use module xml filename without path in dependencies 2014-12-08 10:59:05 +01:00
Felix Ruess 8be5c426b6 [modules] start pimping dependencies
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)
2014-12-08 10:33:28 +01:00
Felix Ruess 85ca30f3b2 [tools] fix gen_modules_doc.py
properly check if module xml could be parsed
2014-12-06 21:49:18 +01:00
Felix Ruess 20ce44adc6 cleanup settings and periodic telemetry a bit
- 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
2014-12-06 13:08:49 +01:00
Felix Ruess 910f405cfb [tools] update process_exif.py 2014-12-04 21:31:12 +01:00
Felix Ruess 9be27ad2de [modules][messages] send pos as LLA in DC_SHOT and DC_INFO 2014-12-03 22:27:26 +01:00
Ben Laurie ad8216b573 [tools] increase timeout for KroozSD.
closes #997
2014-11-28 20:21:31 +01:00
Sergey Krukovski d707d9b850 [tools] Universal CRC/nonCRC stm32_mem tool
closes #691
2014-11-28 20:17:35 +01:00
Gautier Hattenberger de200404ab [settings] fix multiple settings in modules
close #901
2014-11-14 15:04:20 +01:00
Felix Ruess 31b66000de Merge pull request #931 from paparazzi/datalink_functions
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)
2014-11-10 11:52:32 +01:00
Gautier Hattenberger c5eb7230fd [telemetry] rename device.h link_device.h to match structure name 2014-11-10 10:33:13 +01:00
Gautier Hattenberger 34b6ca3a26 [telemetry] rename 'device' to 'link_device' 2014-11-08 09:08:59 +01:00
Felix Ruess 81aa9e90c2 [build] don't print infos on stderr
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..
2014-11-07 17:18:46 +01:00
Gautier Hattenberger ca136d5665 Merge remote-tracking branch 'paparazzi/master' into datalink_functions
Conflicts:
	sw/airborne/subsystems/gps.c
2014-11-06 15:39:25 +01:00
Gautier Hattenberger 5162bac59b missing parenthesis 2014-11-06 14:48:17 +01:00
Gautier Hattenberger 295714793d [gen_fligtplan] 'call' statement can be configured to loop and/or break
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
2014-11-06 14:43:24 +01:00
Gautier Hattenberger 295c0db5b7 fix some bug reported by TravisCI 2014-11-06 14:37:16 +01:00
Gautier Hattenberger 96445e9ffe [telemetry] add support for ivy_transport 2014-11-05 18:25:27 +01:00
Gautier Hattenberger e5cdfa1ce1 [telemetry] convert macros in registered callback to functions 2014-11-04 23:56:55 +01:00
Gautier Hattenberger c4b73552cd [telemetry] change register callback to pass arguments 2014-11-04 23:12:47 +01:00
Gautier Hattenberger b692855c13 [telemetry] replace old downlink macros with functions
- update messages generator
- generic device with uart support
- initial support of pprz protocol (transparant)
- fix types in downlink variables
2014-11-04 13:28:35 +01:00
dewagter 2b97ef0702 [paparazzi.py] Produces .md with branch description 2014-11-03 16:36:59 +01:00
Gautier Hattenberger efa1cb4027 [gen_settings] only check targets on makefile nodes 2014-10-15 18:44:34 +02:00
Gautier Hattenberger c588f047e6 [gen_settings] fix bug when target is not specified (use default list) 2014-10-15 18:11:26 +02:00
Felix Ruess f9dea3d9e3 [generators] add type bool for gen_settings 2014-10-13 02:08:53 +02:00
Felix Ruess 3fab6eca1e [generators] update gen_autopilot
- add default cases to switch
- fix ifdef AUTOPILOT_CORE_<name>_C
2014-10-10 20:16:36 +02:00
Gautier Hattenberger 8b7194a792 Merge pull request #834 from paparazzi/modules_settings
let's see what's happening then
2014-10-09 15:27:21 +02:00
Gautier Hattenberger d8e590dead [settings] remove settings from automatically unloaded modules 2014-10-08 23:29:28 +02:00
Felix Ruess 8232ce06b0 [generators] gen_airframe: don't force float if unit = code_unit 2014-10-07 20:25:18 +02:00
Gautier Hattenberger 170e5b6843 [settings] allow several groups of settings in modules 2014-09-30 18:49:28 +02:00
Gautier Hattenberger 7230aa4a92 [settings] add settings directly inside modules files 2014-09-30 13:57:17 +02:00
Gautier Hattenberger e39292c77b [settings] improve settings in pprzcenter
- check box for faster enable/disable
- loading from modules
2014-09-16 22:17:35 +02:00