Commit Graph

737 Commits

Author SHA1 Message Date
Rijesh Augustine d4709f7775 Ocaml 405 fix (#2221)
* Fixed string related build warnings
* Changed Failures to accept all strings
* Updated pprzlink for v405 fix
* updated use of lowercase, uppercase and capitalize
2018-01-26 22:08:06 +01:00
Felix Ruess 6ada3bd66b python PaparazziOverview: handle parse errors 2017-11-05 11:18:42 +01:00
Christophe De Wagter fcf972fd44 [SHA] Store the SHA of a successful airframe test (#1921) 2017-10-30 17:17:28 +01:00
Christophe De Wagter e25d177469 [start] move list of conf to library for re-use in other tools (#2127) 2017-10-30 11:04:33 +01:00
Rijesh Augustine d56e0978b3 fix hardcoded cam footprint field of view and AGL (#2103) 2017-10-19 00:05:19 +02:00
Felix Ruess 346ef5a8ab fix SRTM download (#2098)
the SRTM download page now redirects to https
so enable support for TLS

needs the Debian/Ubuntu package libocamlnet-ssl-ocaml-dev

only load tls lib if netclient version > 4
2017-08-07 23:27:08 +02:00
Gautier Hattenberger e5f1d63915 [ocaml] fix expanded config generation
when modules where unloaded, the xml node without tag name was causing a
parsing error when extrating the binary data with sd2log tool
2017-06-30 17:27:05 +02:00
Michal Podhradsky 74f8b74624 First shot towards a separate HITL target (#2062)
* First shot towards a separate HITL target

* Changes in HITL - still doesn't compile

* Added makefile selection

* HITL target works for fixedwing and rotorcraft - still needs cleanup and TLC

* Removed info messages from compilation process
2017-06-13 13:39:10 -07:00
Gautier Hattenberger 0a65e14903 [autopilot] compiling generated AP for fixedwing (#2055)
* [autopilot] compiling generated AP for fixedwing

* update some old variable names for autopilot mode

* prevent oscillation on the ground with real aircraft

* add guidance loop to 'new' control

all this guidance code should really be better factorized

* fix rotorcraft autopilot for new API

* read guidance RC if needed

* use generated autopilot as soon as an autopilot file is defined

* autopilot node at airframe, firmware or target level

The autopilot can be specific to one of the firmware, or one of the
target.
At the moment, it will fail at runtime if more than one autopilot in the
same airframe since server don't know which target is in use.
2017-05-06 13:24:40 -07:00
Felix Ruess 5399bd98c7 remove trailing whitespaces
via `make cleanspaces`
2017-01-06 16:14:42 +01:00
Felix Ruess f7eb7dc3e8 Add latest leap seconds 2017-01-02 11:22:10 +01:00
Felix Ruess 880187d95a Merge pull request #1975 from paparazzi/autopilot_generated_integration
support generated autopilot, based on rotorcraft firmware
    
- By default the original static autopilot is used. A config flag can enable the use of the generated AP code.
- A basic autopilot description is provided (4 modes + failsafe modes).
- The server is capable of using the list of generated mode to properly  display mode names.
- Tested in NAV and GUIDED mode in sim, and direct attitude control on real aircraft.

Some extra features:
- add `--norc` option to NPS simulator
- group all system (generated) settings (AP, telemetry, modules, flight plan) under the same tab (first position)
2016-12-29 18:30:41 +01:00
Gautier Hattenberger a35d6374d6 [python] add function to set value index by name in python settings interface
It can makes it easier to handle generated autopilot. Names are not
matching exactly, but this can be improved in the future.
An example is provided with gb2ivy program.
2016-12-24 00:57:28 +01:00
Felix Ruess 6bbe7d7f29 allow usage of call_once in procedures 2016-12-14 23:51:05 +01:00
Gautier Hattenberger 739f939c2e [build] reverse list of modules to have generated functions called in the correct order (airframe order) (#1948) 2016-11-26 13:45:41 +01:00
Gautier Hattenberger 5ae3ffe48e [flightplan] fix gen_fp when 'path' is used in a loops 2016-11-08 23:02:47 +01:00
Christophe De Wagter f1038ccd12 [generator] flight_plan rotorcraft does not parse return statement (#1942)
also parse return in rotorcraft, not just fixedwing
2016-11-07 20:40:52 +01:00
Gautier Hattenberger 76163865c7 [build] fix module parsing
some extra modules where included when several firmware of the same
times are defined in an airframe
test is now done on the complete xml, instead of only the name
2016-10-12 17:36:01 +02:00
Gautier Hattenberger 88a9bce08d [build] expand airframe includes so firmware sections are parsed
fix #1863
2016-10-07 14:39:40 +02:00
Christophe De Wagter 96fd60dd52 [fp_gen] manual not parsed and modules not parsed in includes (#1874) 2016-09-30 23:24:03 +02:00
Gautier Hattenberger 08cd0ff5e1 [ocaml] fix GCS crash when using papgets
was due to the use of 'magic' instead of the proper function
close #1823
2016-08-16 18:08:14 +02:00
podhrmic af37fa9de3 [ocaml] Added bounds check for baudrate index 2016-08-10 15:04:15 -07:00
podhrmic 8bff7aa9e4 Fix for undefined baudrates at Mac OS (see #1840) 2016-08-10 14:12:52 -07:00
podhrmic 2b14ec884a [GCS] Removed unused stropts.h file 2016-08-05 16:16:45 -07:00
podhrmic 724d3f2c2b [GCS] Aded support for higher baud rates 2016-08-02 11:20:08 +02:00
Rijesh Augustine 2fd358e400 Plot shapes onto GCS (#1809) 2016-07-20 22:50:03 +02:00
Gautier Hattenberger 1973131189 [build] only chop extension if it is .xml 2016-07-14 12:56:37 +02:00
podhrmic c0cdb67322 [ocaml] translate geometry_2d comments 2016-07-13 10:41:40 +02:00
Gautier Hattenberger c6cf3fc71d [build] autoload of module recursively (#1760)
* [build] autoload of module recursively
2016-06-23 13:08:26 +02:00
Gautier Hattenberger 5b44eb8d2f [modules] autoload modules from an other module 2016-06-15 18:22:23 +02:00
Gautier Hattenberger 63c6884ad3 [buid] fail if module doesn't exist
close #1721
2016-06-15 16:42:43 +02:00
Rijesh Augustine 3432c04b14 Ocaml Compatibility, Strings Deprecated Warning (#1705)
* Use camlp4 to select Bytes vs. String modules with a Compat module
* Fixed http.ml warning
2016-06-13 09:38:06 +02:00
Gautier Hattenberger f39d8b3007 pass all modules to settings stuff
not sure this is all right
2016-04-28 01:18:03 +02:00
Gautier Hattenberger 056146e5db pick correct name, but some settings are wrongly unloaded 2016-04-28 01:02:36 +02:00
Gautier Hattenberger 4292fb9a3b [ocaml] filter on firmware if necessary 2016-04-28 00:45:26 +02:00
Gautier Hattenberger 68d9c43f09 remove debug print 2016-04-26 23:50:03 +02:00
Gautier Hattenberger ac4d2368df [ocaml] treat target list as a boolean expression
this way, inverted selectiono should be handled correctly in all cases
2016-04-26 23:30:19 +02:00
Felix Ruess e18e4e2f29 [generators] more verbose error reports
if someone actually manages to provide a directory instead of a xml file
2016-04-06 11:26:20 +02:00
Gautier Hattenberger 1038391f74 [generators] fix targets testing and inversion for modules
see #1576
2016-03-30 15:56:59 +02:00
Felix Ruess 96de219c3d [ocaml] print more verbose info on xml loading errors 2016-03-24 12:05:10 +01:00
Martin Mueller 0506621b19 [gcs] add Bebop-like rotorcraft icon 2016-03-03 19:47:26 +01:00
Gautier Hattenberger cd852e1333 [modules] improve warning message in case of duplicates 2016-02-26 23:07:17 +01:00
Gautier Hattenberger 993818bdd6 [modules] display warnings when module or its options are loaded twice 2016-02-25 23:23:00 +01:00
Gautier Hattenberger bf36c7ba03 [modules] singletonize modules between airframe file and flight plan 2016-02-24 00:02:57 +01:00
Gautier Hattenberger c697449e98 [modules] allow to load modules from a flight plan 2016-02-17 23:11:03 +01:00
Gautier Hattenberger f8145a2ba1 [settings] filter modules' settings with target attribute like regular settings 2016-02-02 18:26:38 +01:00
Felix Ruess 50dcf96003 [python] remove pprz_msg and use pprzlink instead 2016-01-14 22:17:54 +01:00
Gautier Hattenberger e0258e10a8 Merge remote-tracking branch 'paparazzi/master' into pprzlink
fix conflicts and update bluegiga datalink event
2016-01-14 14:32:06 +01:00
Gautier Hattenberger 0cf0595501 [pprzlink] convert all ocaml programs to pprzlink 2016-01-08 00:14:09 +01:00
Gautier Hattenberger 1c383e8882 [pprzlink] fix linking with pprzlink C stub 2016-01-07 18:19:34 +01:00