Commit Graph

13915 Commits

Author SHA1 Message Date
Felix Ruess 6e75ed84e2 [build] use VPATH for pprzlink
for better dependency resolution and avoid having home/var/share/pprzlink instead of pprzlink in var/aircrafts/<AC>/<target>
2016-02-12 14:48:41 +01:00
Felix Ruess f305882b20 Merge pull request #1534 from paparazzi/modules_makefile
Modules makefile improvements

Two improvements for the makefile section of modules in order to efficiently replace subsystems:
* add firmware option to allow a single module to handle specific firmware options
* case modifier for upper/lower version makefile variables: much cleaner xml code
* default values for configure options

e.g. `<configure name="FOO_I2C_DEV" default="i2c0" case="upper|lower"/>`
2016-02-12 11:53:27 +01:00
Gautier Hattenberger a5ed01bab4 [build] use 'default' instead of 'value' to pass default values 2016-02-12 00:03:18 +01:00
Gautier Hattenberger d76887c062 [build] add firmware option to modules' makefile section
- allow to make a single module with specific firmware support
- example with telemetry_transparent module
2016-02-10 19:06:58 +01:00
Gautier Hattenberger ce4a76d273 fix generated makefile option 2016-02-10 18:38:25 +01:00
Gautier Hattenberger 904507a4e6 [build] add case modifier to modules' makefile
- this allow to use lower and upper version of a makefile variable.
- can also be use to provide default value to some variables.
2016-02-10 18:05:43 +01:00
Gautier Hattenberger 15eb4e7550 [airframes] fix ENAC conf for included files 2016-02-09 19:27:01 +01:00
Felix Ruess 3a8fd5aed4 [conf] bebop2_indi: set G2 to zero for nps 2016-02-09 10:17:13 +01:00
Gautier Hattenberger c9b2e4b158 [airframes] update ENAC airframes to use modules only 2016-02-09 09:59:51 +01:00
masierra 48f080f26e [gps] swapped GPS_SECONDARY for SECONDARY_GPS 2016-02-08 12:03:41 -08:00
Felix Ruess e4288d1694 [gps] fix typo in piksi makefile and add multi gps example 2016-02-07 22:17:09 +01:00
Felix Ruess 34052fb37a [gps] replace USE_MULTI_GPS check with GPS_SECONDARY 2016-02-07 22:05:33 +01:00
Felix Ruess 7529efdcf1 [gps] make more dual gps capable 2016-02-07 21:52:01 +01:00
Felix Ruess 277e8b24da [gps] set default GPS_IDs to GPS_MULTI_ID
so that by default you get the currently "best" GPS if you have multiple ones
and you don't get the GPS callback called twice if you only have one (once from the original and once from gps.c with GPS_MULTI_ID)
2016-02-07 21:25:40 +01:00
Felix Ruess 01ae32cbde [gps] cleanup multi gps implementation
instead of a gps_multi_id subsystem, do it like for AHRS, e.g.
```
<subsystem name="gps" type="ubx"/>
<subsystem name="gps" type="piksi>
  <configure name="GPS_SECONDARY" value="piksi"/>
</subsystem>
```
2016-02-07 21:22:51 +01:00
Gautier Hattenberger 21c8e86c06 Merge pull request #1530 from paparazzi/flight_plan_variables
[flight_plan] allow variable declaration from flight plan
2016-02-07 21:16:07 +01:00
Felix Ruess 9ea68e861c [math] fix pprz_geodetic_wgs84.h
- fix type
- make pprz_geodetic_wgs84_int static
2016-02-07 17:28:30 +01:00
Felix Ruess 961f6823b4 [ext] update pprzlink for multigps 2016-02-07 16:52:13 +01:00
Felix Ruess a482053be9 [math] add wgs84_ellipsoid_to_geoid_i 2016-02-07 15:48:53 +01:00
Felix Ruess 2274b3eb30 [generators] gen_aircraft: don't add valid modules twice 2016-02-07 13:29:29 +01:00
Gautier Hattenberger 70e867cad7 [flight_plan] update versatile FP to show auto variables usage 2016-02-06 11:07:55 +01:00
masierra 3c7e2d6b53 [sim_hitl] added new gps support 2016-02-05 15:24:11 -08:00
masierra 0a4508c994 [udp] gps init fix 2016-02-05 15:24:11 -08:00
masierra d90af7eb62 [xsens] added new gps support 2016-02-05 15:24:11 -08:00
masierra f0266ad5b2 [mtk] added new gps support 2016-02-05 15:24:11 -08:00
masierra b48824ec68 [gps] moved prototype 2016-02-05 15:23:49 -08:00
masierra ac9cef2f5e [skytraq] added new gps support 2016-02-05 15:23:49 -08:00
masierra c56fea0899 [furuno] added new gps support 2016-02-05 15:23:49 -08:00
masierra 07efb49367 [nmea] added new gps support 2016-02-05 15:23:49 -08:00
masierra 93c0f4a970 [udp gps] added new gps support 2016-02-05 15:23:49 -08:00
masierra b222da438b [sim] added new gps support 2016-02-05 15:23:49 -08:00
masierra cd0f166b3f [gps datalink] added new gps support 2016-02-05 15:23:49 -08:00
masierra 112d1f2d70 [gps] removed gps_type 2016-02-05 15:23:48 -08:00
masierra 56ac02739c [nps] modified sim for ABI approach 2016-02-05 15:23:48 -08:00
masierra 6d54a72b46 [nps] modified for ABI approach 2016-02-05 15:23:48 -08:00
masierra 2a2a1a2c3c [sirf] modified for ABI approach 2016-02-05 15:23:48 -08:00
masierra 052c4660cf [ubx] modified for ABI approach 2016-02-05 15:23:48 -08:00
masierra b5a929c913 [piksi] modified for ABI approach 2016-02-05 15:23:48 -08:00
masierra e61ab253f5 [multigps] modified for ABI approach 2016-02-05 15:23:48 -08:00
masierra 7c71054b50 [ubx] redundant redeclaration removed 2016-02-05 15:23:48 -08:00
masierra 0b67004c44 [ubx] ubx gpsState fix 2016-02-05 15:23:48 -08:00
Felix Ruess 4043fdb5fd [abi] configurable ID for GPS ABI message bindings 2016-02-05 15:23:48 -08:00
Felix Ruess 6db2cc9f43 [gps_ubx] make state part of gps_ubx 2016-02-05 15:23:48 -08:00
Felix Ruess 95f2b47b15 [gps_ubx] separate GPS_UBX_NB_CHANNELS for raw measurements 2016-02-05 15:23:48 -08:00
masierra aaa0d2a259 [piksi] makefile gps link 2016-02-05 15:21:20 -08:00
masierra 442f1211b9 [ublox] gps link fix 2016-02-05 15:21:20 -08:00
masierra 78021357b4 [multigps] modified defines 2016-02-05 15:21:20 -08:00
masierra 424d91f890 [multigps] added gps selector 2016-02-05 15:21:20 -08:00
masierra 1e1e51e6a5 [multigps] added multigps makefile 2016-02-05 15:21:20 -08:00
masierra 67265b0405 [multigps] GCS gps selector strip icons 2016-02-05 15:21:20 -08:00