Commit Graph

233 Commits

Author SHA1 Message Date
Christophe De Wagter 15f95e592b Summary of compile errors (#3314) 2024-06-15 22:08:03 +02:00
Christophe De Wagter c1ab6d5418 [airframes] cleanup all tudelft airframes (#3221)
* bug fixes: simulation not selecting airframe, error when removing command, ADC not present in simulation

* remove command_trimmed not used warning (indeed not used) + add comments

* RAM3 overflow. Test of module done in RW3.

* coverity - Microjet - SIM

* clean BR

* CDW + tests

* make openuas/mavlab

* Remove Special ARDrones

* conf

* fixed typ in  eff_scheduler of rotwing_25kg

* Updated preflight checks for rotwing v3b actuators

* Updated tudelft conf

---------

Co-authored-by: Dennis van Wijngaarden <32736330+Dennis-Wijngaarden@users.noreply.github.com>
2023-12-19 21:30:49 +01:00
Gautier Hattenberger 41451d5422 [sim] moving the old ocaml simulator to NPS (#3167)
- the exact same basic model is now a NPS FDM
- sim target still woks, it is just an alias to NPS with the proper FDM
- the old ocaml files are removed
- AHRS and INS are bypassed, since the accelerations are not well calculated by the model
2023-11-07 10:21:12 +01:00
Christophe De Wagter 57756b0493 [important fixes] make test all confs (#3100)
* silent warnings make test_tudelft

* [fix] bugfix

* info instead of warning

* fix optical flow landing

* module that can not stop does not need a stop function

* missing CAMERA

* dangerous define not standard

* simulator not working at 120Hz

* When no if-statement was triggered, this is information and not a warning.

* remove doubles

* point to inexisting telemetry

* firmware settings hardcoded to need 7 actuators

* Merge double file into 1

* untested airframe

* old sim can only handle 60Hz

* non-existing telemetry

* old sim not accepting 120Hz

* Unify info messages

* only 60Hz sim

* survey no height

* Missing camera

* WP further from HOME than MAX_DIST_FROM_HOME

* No more warning when there is no heading feedback by design, only an info message

* clean releases

* no warning on free floating heading in manual controlled AC

* no double firmware block: use dual target instead

* fixedwing: PERIODIC must be multiple of TELEMETRY_FREQ

* missing camera

* error with dual heading feedback

* missing kill switch

* remove prefix

* implicit declaration of function 'scb_reset_system'

* implicit declaration of function 'spektrum_try_bind'

* no dual firmware

* shadowed variable

* wrong header

* typo in fix

* TELEMETRY_PERIOD should be a multiple of PERIODIC

* Missing struct dshot actuators_dshot_values in sim during e7781e7b87

* matek sim does not compile

* bebop misses a camera

* silent compile warnings opticflow

* silent compile warnings

* guido fixed

* double prefix

* changed confs

* new way

* setup_actuators setting up 8 actuators needs 8 actuators

* [openuas] so many comments that the compiler failed.

* [tests] make test_tudelft has 4 coonfs

* [ins_flow] depends on gps (called in initialization of  NED)

* [doc] update

* update naming convention

* an octocopter needs 8 ports please

* pprz_can_init type change

* changed conf
2023-09-25 01:12:39 +02:00
Gautier Hattenberger cf150db155 [ocaml] move the GCS-only related code out of xpprz lib
Most of the pprz.xlib is used by the legacy GCS only, using in
particular the deprecated canvans.
This PR is isolating the relevant part to the GCS folder, so it will be
easier in the future to avoid the compilation of this part by default.

Conditional compilation of the old GCS: test if glade is installed
to build supervision, logplotter and the (legacy) GCS.
2023-02-14 10:07:45 +01:00
Fabien-B 6e6bc37d1d fix and update mavlink (#2920)
* fix and update mavlink

* Remove mavlink from default build target.

* remove mavlink from default Makefile target.

Co-authored-by: Fabien-B <fabien.bonneval@gmal.com>
2022-10-26 23:26:37 +02:00
Jesús Bautista Villar 149dc9b10a GVF user configs and GVF Viewer documentation (#2896) 2022-10-12 11:26:17 +02:00
Fabien-B 7e0dbf2a2b [Maps] Use correct address for google tiles. (#2727) 2021-05-19 11:39:16 +02:00
Gautier Hattenberger 4c1785d00b [cleaning] drop support of LPC21 boards and related conf (#2695) 2021-04-14 14:05:17 +02:00
Gautier Hattenberger f3ca76a750 [build] split subdirs rules (#2674)
* [build] split subdirs rules

when compiling ground_segment target, it should not depend on misc tools
that are themselves compiling the ext libraries, including libopencm3.
this way, the command 'make ground_segment' should be enough to run a
simulation without installing a cross compiler

* [build] warning if arm-none gcc not found

and remove auto detect of old toolchain, not supported since 2013
2021-03-23 22:36:12 +01:00
Gautier Hattenberger 494e3f3ad9 [tests] add a compilation test node to modules (#2653)
When adding a test node to a makefile section, with required compilation
flags, include and other options, all the files (not arch dependent
files) can be compiled with a TAP compatible program, included in the
standard tests of the CI servers.
Not all module's XML files are converted, but a large part of the most
important parts are already covered. More will be added later. The
number of tested airframes (full compilation of all targets) have been
reduced to speed the CI compile time but still covers the relevant
architecture and boards.
The main benefit is that the overall coverage is already better than
before as previous test aircraft were compiling more or less the same
part of the airborne code, while this new mechanism is more efficient to
test modules not included in any config.
2021-02-08 17:24:19 +01:00
Gautier Hattenberger b0d9eaf6ae [gec] fix compilation of secure telemetry module gec_dl (#2646)
* [gec] fix compilation of secure telemetry module gec_dl
* [chibios] add RNG support to ChibiOS arch
* Force clearning Cargo.lock files
* change unlock order

thread stack should have around 2 Kb free
both AP and FBW in case of fixedwing

Co-authored-by: Michal Podhradsky <mpodhradsky@galois.com>
2021-01-16 10:16:52 +01:00
Gautier Hattenberger 603c0c17bc [pprzlink] fix bug in request message callback
- update pprzlink to fix bug for the number of parameters in callback
- also split pprzlink makefile rules for update and install (it allows
to install the libraries with local changes)
2020-09-24 22:02:36 +02:00
Gautier Hattenberger 1b57ff131b [build] fix build dep for tools (#2472)
* [build] fix build dep for tools

fix #2228

* fix more dep for fast and recent proc

it's awesome

![clean_after](https://user-images.githubusercontent.com/483944/70664849-8b28b280-1c6b-11ea-81b3-d21ff45e2897.png)
![make_after](https://user-images.githubusercontent.com/483944/70664852-8cf27600-1c6b-11ea-977a-8cb783217548.png)
2019-12-11 23:13:41 +01:00
Gautier Hattenberger 520e1e3b86 [pprz] change the old paparazzi launch script from ocaml to python
This new script is doing the same than before but don't rely on the
ocaml install which was a problem when mixing opam and system install.

Note that when updating, git will complain about the already existing
file 'paparazzi'. So it is necessary to delete the old file (or run
'make clean') before updating the code.
2019-10-17 10:21:45 +02:00
Fabien-B 9f03148bb6 [Tools] Blacklisted tools copied from blacklisted_example. (#2409) 2019-03-21 11:19:38 +01:00
Gautier Hattenberger 88e773e54c [pprzlink] set version 2 as default (#2191)
* [pprzlink] set version 2 as default

see discussion in #2167

* update pprzlink to fix bug in pprzlog transport
2017-11-27 22:29:57 +01:00
Christophe De Wagter 0e7baf2472 [warnings] Fix warnings (#2183) 2017-11-10 12:52:16 +01:00
Gautier Hattenberger 6a72c5da84 [pprzlink] allow to compile paparazzi with PPRZLINK v2 (#2083)
To activate, build project with correct option:
 PPRZLINK_LIB_VERSION=2.0 make
(note that 'make clean' is usualy required before that)
2017-06-29 10:38:30 +02:00
Open UAS 66fd00255b Patched AC and Fligtplans to be compatible with latest XML syntax 2017-05-30 07:50:54 +02:00
Michal Podhradsky e650788689 Added test for aggieair config (#2061)
* Added test for aggieair config
2017-05-17 23:52:32 +02:00
Felix Ruess ca65c87be9 fix make cleanspaces
to ignore symlinks
2017-01-06 16:13:02 +01:00
podhrmic 92e3b16f8d [tests] Added new coverity test configuration
Coveriry test configuration that passes travis build time limit
2016-08-12 12:02:52 +02:00
Felix Ruess 229647ba37 [tests][ext] build opencv_bebop on make test_all_confs 2016-07-14 11:24:34 +02:00
Felix Ruess f1cac13fe0 also build find_free_msg_id in sw/tools 2016-03-16 20:16:42 +01:00
Gautier Hattenberger 2f582602a4 [build] tries to get correct dependency to pprzlink 2016-02-04 17:01:03 +01:00
Felix Ruess fc8ab48ddc [build] remove *.pyc files on clean 2016-02-02 14:15:31 +01:00
Felix Ruess cd0dcfb5dd [pprzlink] call pymessages with VALIDATE_XML=FALSE
instead of disabling validation in pprzlink by default
2016-01-23 17:15:26 +01:00
Gautier Hattenberger a9c7b954f6 [pprzlink] point to messages.xml file in var directory 2016-01-15 14:03:26 +01:00
Gautier Hattenberger dc30874a07 [pprlink] remove paparazzi message definition
- 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
2016-01-15 13:17:34 +01:00
Felix Ruess a9539981bd make sure pprzlink submodule is initialized before building 2016-01-12 22:30:11 +01:00
Gautier Hattenberger 85cf59e6a6 [pprzlink] generate intermcu messages from pprzlink 2016-01-08 22:42:49 +01:00
Gautier Hattenberger 3080a623bc [ground_segment] remove multimon (telemetry over audio) 2016-01-08 22:24:19 +01:00
Gautier Hattenberger fc10fee6c2 [pprzlink] update ocaml lib install 2016-01-03 15:28:04 +01:00
Gautier Hattenberger 1b21a2b20d [pprzlink] clean makefile 2015-12-30 23:36:05 +01:00
Gautier Hattenberger cfbbf0d435 [pprlink] start using pprzlink for airborne code
some stuff are compiling but not working (at least sim)
needs a lot of cleaning
needs a better way to init transport types
2015-12-26 23:48:17 +01:00
Felix Ruess f54dee7bb5 [ext] echo when generating mavlink headers 2015-12-07 13:02:15 +01:00
Freek van Tienen 4be0987a77 [intermcu] Rewrite communication 2015-11-20 16:34:46 +01:00
Felix Ruess f85b545ee3 [build] also remove paparazzi ocaml script on clean
so that on make the current OCAMLRUN path will be set in it again...
2015-11-09 21:59:26 +01:00
Christophe De Wagter 58576885be [mavlink] compile on make, hide warnings, make current code compatible 2015-11-06 16:02:52 +01:00
Felix Ruess 7f82b99471 [dox] generate page for Paparazzi messages 2015-10-27 15:27:36 +01:00
Felix Ruess 6c65170f79 [tests] fix test_all_confs
actually exit with 0 on success
2015-10-06 13:13:43 +02:00
Felix Ruess 5bf7d403bd [tests] fix test_all_confs 2015-09-27 02:09:03 +02:00
Felix Ruess 7a5d25f93b [tests] rename examples folder to aircrafts 2015-09-25 14:02:43 +02:00
Felix Ruess 26bf34a54e [build] fix test_all_confs 2015-09-21 11:48:14 +02:00
Felix Ruess 5c9a42bab4 [build] add a test_all_confs target
finds all conf files and compiles all aircrafts for each conf
2015-09-20 16:36:05 +02:00
Freek van Tienen 4f3a6ed0a5 [ground_segment] add sbp2ivy 2015-09-12 22:57:14 +02:00
Christophe De Wagter cdfa5a0bda [telemetry] Bluegiga: cleanup
- LED not hardcoded
- SPI LINK configurable form airframe file
- subsystem for shared and fixedwing
2015-08-21 11:25:21 +02:00
Christophe De Wagter e759a90463 [telemetry] Bluegiga dongle builds automatically 2015-08-17 16:49:35 +02:00
Felix Ruess 9216228f4b move init target to main makefile 2015-03-16 23:59:12 +01:00