256 Commits

Author SHA1 Message Date
Fabien-B a2d680a158 [supervision] edit more reliable (#3654)
Doxygen / build (push) Has been cancelled
2026-05-08 18:09:59 +02:00
Fabien-B ea2f5e029e Remove old GCS and supervision. (#3587)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Docker update / build_docker_image (push) Has been cancelled
2026-02-08 10:58:53 +01:00
Fabien-B cde6ad8471 [supervision] improve start time (#3559)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
---------

Co-authored-by: Fabien-B <fabien.b@github.com>
2025-11-07 09:09:20 +01:00
Gautier Hattenberger 6370ff488b [calib] implement the calibration button for mag_viewer (#3472)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2025-06-17 17:21:27 +02:00
Fabien-B ab21964c1a Mag viewer (#3465)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* [supervision] Add raw mag viewer tool

* [supervision] mag viewer improvements

* [supervision] organize utilities with tabs

* [supervision] MagViewer: do not normalize data, and adjust view size automatically

* [supervision] MagViewer: prepare calibration

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-06-16 13:01:03 +02:00
Fabien-B 32074c9333 Python virtual environment (#3305)
* [python] setup venv and update pprzlink.
* [supervision] open terminal in the venv if it exists.
* clean setup.py
* guard venv boostrap
* [install] Use distro instead of lsb_release.

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-10-14 15:02:21 +02:00
Freek van Tienen 79dcf7bc4b [makefile] Fix compile for ARM (#3319) 2024-06-18 12:46:22 +02:00
Fabien-B e4142d1182 [supervision] fix executable mode (#3293)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-06-06 16:09:18 +02:00
Fabien-B b4af85dd71 [supervision] Use PyQtWebEngine for the doc webview. (#3291)
QtWebKit is deprecated.

Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-06-06 11:39:07 +02:00
Fabien-B b71d4793a6 [python] Fix shebangs to use the "right" interpreter. (#3292)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-06-06 11:38:47 +02:00
Gautier Hattenberger c158c856f3 [ocaml] use glib from gtk3 if gtk2 is not found (#3290)
Gtk3 doesn't support all features of gtk2 (or have a different interface), so if only gtk3 is found, GUI tools are not compiled, only CLI tools based only on glib.
If no gtk found, tools based on glib/gtk are not compiled.
Remove two old tools not used and not supported by gtk3.
2024-06-05 18:10:51 +02:00
Fabien-B c7c7f85bc4 [supervision] remove VT100 escape codes. (#3286)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-06-04 13:32:30 +02:00
Fabien-B 5e0f869eaa [supervision] remember last flash mode used. (#3287)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-06-04 11:07:00 +02:00
Fabien-B 9c1e21d0ce [supervision] Add log extractor. (#3186) 2023-11-27 08:52:30 +01:00
Fabien-B d00796924f [supervision] Fix sessions save. (#3183) 2023-11-23 11:11:18 +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
Gautier Hattenberger 00970157fc Features for the ground segment (#3110)
* [server] expand FP includes to have a correct replay

* [log] tools to extract a basic CSV from log file

This is specific tools used for IMAV2023, but it is still a good example
how to make a custom log extractor

* [pprzcenter] sort the session in alphabetical order
2023-09-27 14:32:15 +02:00
Fabien-B f2ed1adfec [supervision] Fix edit flight plan in GCS. 2023-09-14 12:00:49 +02:00
Fabien-B ee01f2720b [supervision] Set custom icons, and change shortcut for clean. (#3049)
* [supervision] Set custom icons, and change shortcut for clean.

* [supervision] Add control panel selector.

* [supervision] remember last target built.

* [supervision] refresh AC before build.
2023-08-25 13:21:07 +02:00
Fabien-B de8fb8b8fa [supervision] Add programs status. (#3014)
* [supervision] Add programs status.

* [supervision] turn program line red on error.
2023-03-23 21:18:38 +01:00
Fabien-B e42330c58d Supervision improvements (#3002)
* [supervision] disable build and clean buttons during build/clean.

* [supervision] Move AC color at the left.

* [supervision] Add shortcuts and rename "flash" to "upload".

* [supervision] Fix telemetry select base path.

* [supervision] return key terminate program.

* [supervision] Add option to keep "build" programs after they finished.
2023-02-28 18:49:42 +01:00
Fabien-B 3badcfa367 [supervision] Fix session save programs. (#2999)
Arguments like "-ac a b" was previously parsed as "-ac b".
2023-02-20 22:43:44 +01:00
Gautier Hattenberger 8dafb7840a [ocaml] fix warnings in ubuntu 22.04 2023-02-14 10:07:45 +01: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 4aedbf1590 Update targets only. (#2983) 2023-02-11 17:55:41 +01:00
Gautier Hattenberger 27b4571f5e [supervision] rename clean target to avoid removing files 2023-02-08 08:51:13 +01:00
Fabien-B de258cf6bd [supervision] Do not crash if qtwebkit is not installed. (#2982)
* [supervision] Do not crash if qtwebkit is not installed.

* Fix test

* fix return type.

* Better conf error propagation.
2023-02-07 17:47:22 +01:00
Fabien-B 8833bb4fc5 [supervision] Adds documentation tab. (#2972)
* [supervision] Adds documentation tab.

* [generator] add a target option to dump modules by target with load type

* [supervision] doc: handle modules type.

* [supervision] modules doc: add filter.

* [supervision] Use internet doc by default.

* [supervision] Move the header out of the configuration tab.

* [supervision] Add target label.

* [supervision] Gracefully handle Ctrl-C.

* [supervision] Add new session to combobox.

* Update sw/supervision/python/doc_panel.py

---------

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2023-02-07 15:51:55 +01:00
Fabien-B b9fb7f01fe [supervision] Add missing files. (#2961) 2023-01-09 13:43:36 +01:00
Fabien-B ce19885a1e [supervision] Add settings selector. (#2959) 2022-12-16 15:58:44 +01:00
Fabien-B 43e0eb1a15 [Supervision] Use PprzGCS. (#2870) 2022-04-22 14:02:22 +02:00
Fabien-B 7a9f1c9680 [supervision] Fix Makefile. (#2867) 2022-04-21 09:52:57 +02:00
Fabien-B e82db25305 New python supervision (#2863) 2022-04-20 14:27:26 +02:00
Fabien-B 437a1e46a9 [GCS] Add wrapper to launch GCS. (#2855) 2022-04-07 15:02:07 +02:00
Gautier Hattenberger 983dbe5929 [conf] change default conf, microjet.xml no longer exists (#2812) 2022-01-03 11:04:47 +01:00
Gautier Hattenberger 1e14fd5bde [modules] clean some remaining traces of subsystems 2021-11-13 00:48:14 +01:00
Gautier Hattenberger 83a74e412f Drop old compat (#2786)
* [ocaml] drop of compat for Ocaml < 4.05

this is linked to Ubuntu 16.04 that have reached end of life

* [pprzlink] update pprzlink for removed old compat
2021-10-08 13:01:28 +02:00
Fabien-B 71a7295a2a [python supervision] Remove deprecated function. (#2662)
* Remove deprecated function.
* remove unused module.
2021-02-17 18:38:25 +01:00
Gautier Hattenberger 09c0c8ccb9 Aircraft generator (#2545)
* [ocaml] massive update of the build process
convert individual code generator to a single process, parsing everything once and calling the required generators
- remove all subsystems makefiles
- fix module name
- example of radio file without ctl attribute

* [build] start with flight plan to make semaphore happy
* [ocaml] move the buffer outside the lazy block
for some reason, it seems to make problems with compilation server
Semaphore
it really makes no sense, but nevermind...
2020-07-05 21:38:09 +02:00
Gautier Hattenberger 4d920c118c [ocaml] fix and update for latest ocaml
fix usage of Bytes and String
drop support of ocaml < 4.02
we keep Compat for functions that need ocaml 4.03 until end of life of
Ubuntu Xenial 16.04, drop support of previous releases
enforce type safe_string option to prevent future errors
replace Pervasives by Stdlib (depreciated in latest ocaml vesions)
only use ocamlnet >= 4.0.4
2020-03-30 23:47:59 +02:00
Fabien-B 096209b787 python paparazzi center tools impovement (#2445)
* [Python supervision] Change tool Menu. #2093

* [Python supervision] Adds tool icons.

* [Python supervision] Separates tools from control panel.

* [Python supervision] Adds blacklist feature.

* [Python supervision] Clean test code.

* [Python supervision] Allows tools override.

* [Python supervision] Removes useless constants.

* [Tools] Adds script to convert old xml tools format to the new one.

* [Python supervision] Handles new tools definition.

* Reduce diff with master

* [tools] adds reference to icons in tools xmls.
2019-07-05 15:45:45 +02:00
Fabien-B a1b8de2535 Supervision tools (#2350)
The improvements:
- it is easier to add new tools that will be immediately visible for the users
- you can hide tools that you don't use
- you can set different default using the control_panel file
- it is backward compatible so you you don't change your current control_panel you keep every like before
2018-11-29 09:23:48 +01:00
Fabien-B 3ee335965a [python supervision] Fix paths (#2093). (#2236) 2018-03-12 11:24:30 +01:00
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
Fabien-B 2b71fdeba4 [python supervision] Allows the right panel to be hidden (#2093). 2018-01-09 18:25:52 +01:00
Fabien-B 751d9c7fcf Fix in python supervision (#2210)
Control panel configuration : only search for "conf/control_panel.xml".
2018-01-09 18:24:39 +01:00
Christophe De Wagter 62bb3cafaa [release] remove useless empty conf strings and prevent addgin them to non-released airframes. Solves #2177 (#2178) 2017-11-08 17:36:32 +01:00
Gautier Hattenberger b3b2b8f289 [pprzcenter] fix warnings 2017-11-06 21:45:12 +01:00
Christophe De Wagter fcf972fd44 [SHA] Store the SHA of a successful airframe test (#1921) 2017-10-30 17:17:28 +01:00
Felix Ruess 5399bd98c7 remove trailing whitespaces
via `make cleanspaces`
2017-01-06 16:14:42 +01:00