Commit Graph

51 Commits

Author SHA1 Message Date
Gautier Hattenberger 8dafb7840a [ocaml] fix warnings in ubuntu 22.04 2023-02-14 10:07:45 +01: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
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
Gautier Hattenberger 1c7d9541dc [plotter] disable usused std and average computation to prevent glib warning (fix #1936) 2016-11-08 21:59:51 +01:00
Felix Ruess 9a5f465603 [plotter] remove average and stddev from curve menu
See #1445
updates were disabled already due to #1446 and not displayed on recent systems #1445
2016-07-07 12:59:44 +02:00
Gautier Hattenberger 0cf0595501 [pprzlink] convert all ocaml programs to pprzlink 2016-01-08 00:14:09 +01:00
Gautier Hattenberger 3a50277747 [plotter] remove warning for unused variable 2015-12-01 19:12:04 +01:00
Felix Ruess 0c485da8e7 [logalizer] plotter: disable update of average and stdev in menu
first of all the image/label with the current value is not displayed anymore (at least on Ubuntu 14.04).
And probably more importantly, these constant updates of the menu result in high cpu-load and memory usage of hud-service,
rendering the computer unusable if left running for a long time (until hud-service is killed and restarted).

Workaround for #1446 by simply disabling the update of these labels/menu entries
2015-11-30 12:50:50 +01:00
Piotr Esden-Tempski 7408ffb7d0 [plotter] Added support for adding constant curves through the command line parameters. 2015-07-07 14:32:55 -07:00
Felix Ruess a157808cbe [ocaml] use Array.make instaed of Array.create
using create has been deprecated for a long time, and make is available at least since ocaml 3.12
2015-03-15 22:02:41 +01:00
Felix Ruess d0b9c3acd3 [ground_segment] fix green->darkgreen change
Since tcl8.6 "green" refers to same color as "darkgreen" (to the one used in web) and the former "green" is now "lime"...
But "lime" is not available in older versions, so hardcode the color to #00ff00
2014-12-21 00:00:26 +01:00
Gautier Hattenberger 3c8ee22880 [ground_segment] improve readability of icons and add a few more 2014-12-10 22:20:11 +01:00
Gautier Hattenberger f0306374a7 [plotter] add a range of curves to plotter if value is an array 2014-12-09 14:12:24 +01:00
Gautier Hattenberger 9613239e81 [types] add support for new telemetry types
Comming from the old 'messages' branch:
- support for char and 64 bytes
- support for fixed length arrays
2013-11-14 17:38:25 +01:00
Gautier Hattenberger 0d7f4f5724 [plotter] open new plotter with parent settings 2013-11-13 15:57:53 +01:00
Felix Ruess d5b53269ba cleanup: remove ident from source files. 2012-11-11 16:10:31 +01:00
Gautier Hattenberger 00f6cd6fed delete curves before closing a window (suppress warning); replace tab by spaces 2012-03-01 11:06:09 +01:00
Felix Ruess f77fae3361 cleanup trailing whitespaces 2011-08-18 09:47:40 +02:00
lamestllama d445143f9f updated default ivy bus mechanism for consistency 2011-01-26 04:37:22 +10:30
lamestllama 743c885532 All agents now use default_ivy_bus to determine the default ivy bus address and port to use. If IVY_BUS env is set then this value is used otherwise if the operating system is OSX then 224.255.255.255:2010 is the default. For Linux and all other OS 127.255.255.255:2010 is used. This is still overriden by the use of the -b command line option. 2011-01-24 04:30:23 +10:30
lamestllama 49ea0c218f updated ocaml ground segement applications to use IVY_BUS env if available 2011-01-20 10:17:23 +10:30
Pascal Brisset c777899f62 fix bug in average and stdev display 2010-01-26 18:25:55 +00:00
Pascal Brisset 4e548d649a remove unsupported ~deletable argument (was tested only on Karmic) 2009-11-02 14:59:55 +00:00
Pascal Brisset a45f7abdf7 add Close menu entry (^W) to plotters 2009-11-01 19:24:33 +00:00
Pascal Brisset 641bb61012 add right button to reset y scale 2009-09-05 10:16:35 +00:00
Pascal Brisset b8b0d30029 fix bug (min_float <> -max_float) 2009-08-31 16:22:14 +00:00
Pascal Brisset e7e9a5cc04 add ~type_hint:`DIALOG 2009-08-22 07:58:21 +00:00
Pascal Brisset fb462876ee Values in arrays now dragable and plotable with real-time plotter 2009-08-09 21:08:28 +00:00
Pascal Brisset 327d4951e4 - Added handling of array values in real time plotter 2009-08-09 20:30:40 +00:00
Pascal Brisset a0d3af729c using pixmap_in_drawing_area 2009-04-27 15:59:46 +00:00
Pascal Brisset d0fd0b81ba Reusing pixmaps (better X memory managing) 2009-04-20 19:31:38 +00:00
Pascal Brisset fbfbf0a585 bug fixed in curve title 2008-11-27 10:10:03 +00:00
Pascal Brisset d3a7fd89ae Offset added in scaling 2008-11-27 09:34:47 +00:00
Pascal Brisset 7a82cb3a51 Bug fixed: max must be initialized to -max_float 2008-08-14 08:58:07 +00:00
Pascal Brisset b31e80eb33 Discrete values display 2008-07-21 17:11:36 +00:00
Antoine Drouin b9db695999 fixed incorrect ivy app name 2008-06-18 09:38:11 +00:00
Pascal Brisset 0a8617cada stdev and avg in cruve menu 2008-02-11 22:06:19 +00:00
Pascal Brisset f653f98615 labels added 2008-02-07 01:34:21 +00:00
Pascal Brisset 3b8b3213d9 -g (geometry) option added 2007-11-06 14:46:10 +00:00
Pascal Brisset eecc7ab7dd -t option to specify a title for a window 2007-11-06 06:54:33 +00:00
Antoine Drouin b2df937cb1 *** empty log message *** 2007-11-02 02:26:19 +00:00
Pascal Brisset 7c52b03213 logo attached to windows 2007-07-10 05:06:34 +00:00
Pascal Brisset b1e0923db3 change scale behavior 2007-06-20 08:19:16 +00:00
Pascal Brisset 263bd591f3 inactive min&max, Y graduations adjusted 2007-06-14 20:48:47 +00:00
Pascal Brisset cc03035fe3 allow_shrink added 2007-06-05 15:09:43 +00:00
Pascal Brisset 4f38ce8e15 bigger default values 2007-06-03 12:59:16 +00:00
Pascal Brisset 288f06a776 manual min & max 2007-03-27 21:52:22 +00:00
Pascal Brisset 6f07414afd -n, -m and -u options 2007-03-25 09:14:52 +00:00
Pascal Brisset 08ae0ec4ac * accepted for sender, suspend and stop, -c option 2007-03-25 08:21:46 +00:00
Pascal Brisset b3880e644c graduations, scale, constant ... 2007-03-16 06:22:31 +00:00