38 Commits

Author SHA1 Message Date
Gautier Hattenberger
8dafb7840a [ocaml] fix warnings in ubuntu 22.04 2023-02-14 10:07:45 +01:00
Fabien-B
437a1e46a9 [GCS] Add wrapper to launch GCS. (#2855) 2022-04-07 15:02:07 +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
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
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
Felix Ruess
532ee0c3ea [pprz_center] also use GCS program args for Simulation session (#1671)
and Replay session.
This allows to e.g. set the desired default options for the GCS (like layout, speech, etc..) in the programs section of the control_panel.xml file
and they will also be used for the Simulation and Replay sessions and not only when started from the tools menu.

closes #1668
should close #1668
2016-05-18 21:54:21 +02:00
Felix Ruess
4399c8c5d6 [tmtc] add -udp_broadcast option to link
and use it in NPS sim session.

Should fix #1404 with multiple vehicles:
When simulating multiple vehicles with NPS (which now uses UDP), link needs to send the messages via broadcast so that every sim agent gets the messages.
2015-11-18 15:42:24 +01:00
Felix Ruess
ce0f996997 [paparazzi center] start link with NPS simulator session
and remove the old jsbsim option
2015-11-16 15:19:24 +01:00
Felix Ruess
a224ba0aeb [pprz center] handle default prog args
so that when you start a program via the tools menu, it will add the specified args.
Also parses the @AIRCRAFT, @AC_ID

updated control_panel_example.xml for some progs to make use of that.
Removed the non working variables stuff...
2015-07-17 13:25:15 +02:00
Felix Ruess
6eb14dcf88 [pprz center] possibility to launch global commans from tools using $ prefix 2015-07-16 23:34:56 +02:00
Piotr Esden-Tempski
615f7f4c15 [PPRZ center] Added @AC_ID magic constant.
Refactored the placeholder magic constant code to make it bit prettier
and easier to expand.
2015-07-06 14:19:21 -07:00
Piotr Esden-Tempski
291693e096 [PPRZ Center] Add @AIRCRAFT placeholder constant.
When you use @AIRCRAFT as a constant parameter to a program in your
session, it will be automatically replaced by the name selected in the
A/C dropdown combo box of the Paparazzi Center. This makes it possible
to create generic sessions that start programs which need to know which
aircraft is of interest. For example settings.

This is a possible solution to the #1215 issue.
2015-07-06 14:18:35 -07:00
Felix Ruess
cae0756410 [paparazzi center] slightly less restrictive minimum size
by assigning a default? width to the combo boxes
improves #1167, but does not yet quite fix it
2015-05-02 21:01:12 +02:00
Felix Ruess
1a475f1699 [simulator] remove jsbsim target
as it is a subset of NPS (when using JSBSim as FDM)
2015-03-02 17:30:53 +01:00
Gautier Hattenberger
4eeddf5c53 [flash_mode] parse boards' name as regexp 2013-12-18 19:11:54 +01:00
Gautier Hattenberger
2f0060456b [flash modes] change some mode names and luftboot unused by default 2013-12-17 17:15:01 +01:00
Gautier Hattenberger
c2de941069 [supervision] add a 'flash mode' combo box
allow to select the flash mode from the paparazzi center or use board
defaults
new boards/modes have to be added to the control panel xml file (example
file reflect more or less the current state of the board makefiles)
2013-12-10 18:58:05 +01:00
Gautier Hattenberger
bc3955993f [supervision] sort AC and session in alphabetic order 2013-09-06 16:47:14 +02:00
Felix Ruess
cde37be0b1 [supervision] allow launching of external tools with absolute path 2013-04-13 13:41:11 +02:00
Felix Ruess
9fbac4faa7 [supervision] don't launch sitl if popup was canceled 2013-03-24 13:23:21 +01:00
Felix Ruess
e4e9d7e2dd [supervision] removed debug print when launching sim 2013-01-24 13:19:51 +01:00
Gautier Hattenberger
c3f63ca63b [sim] check targets and ask which simulator to use 2013-01-24 11:35:41 +01:00
Felix Ruess
419f68b0f2 [supervision] add a simple popup to choose the simtype and launch via the new ppzsim-launch python script 2013-01-23 19:00:48 +01:00
Felix Ruess
d5b53269ba cleanup: remove ident from source files. 2012-11-11 16:10:31 +01:00
Felix Ruess
f77fae3361 cleanup trailing whitespaces 2011-08-18 09:47:40 +02:00
Pascal Brisset
03a423185d combo utilities moved to Gtk_tools 2009-06-06 13:51:17 +00:00
Pascal Brisset
23e4ad7b95 run session from command line 2008-02-06 03:35:21 +00:00
Pascal Brisset
3b1b0fa206 Exceptions catch on XML errors 2007-12-18 08:48:09 +00:00
Pascal Brisset
09573a76fc Simulation session selected by default 2007-11-14 20:58:13 +00:00
Pascal Brisset
01d9bf9b55 Heavy rewriting:
- notebook removed
 - combo for sessions
 - handling of conf.xml saving and backup
 - preferences saved in conf/%gconf.xml (A/C, target, session)
 - make handled as a process
2007-10-05 12:13:52 +00:00
Pascal Brisset
237c523f62 misc string changes 2007-09-22 12:20:19 +00:00
Pascal Brisset
cf5924a1bf Jeremy's words 2007-07-27 14:03:25 +00:00
Pascal Brisset
563fb3a22f launchsitl -a option restored (for compatibility with supervision.pl) 2007-07-24 08:29:58 +00:00
Pascal Brisset
79cb28d9bc blocking console logging problem fixed 2007-07-13 20:20:20 +00:00
Pascal Brisset
738230acf3 -n option for server agent in sim and replay 2007-07-13 19:37:44 +00:00
Pascal Brisset
264f01c294 answers to Jeremy's requests 2007-07-13 12:56:43 +00:00
Pascal Brisset
c5aecfb3d9 Script in ML for sitl launch 2007-07-12 21:22:28 +00:00
Pascal Brisset
35285fffd9 paparazzicenter in progress 2007-07-09 09:54:57 +00:00