794 Commits

Author SHA1 Message Date
Felix Ruess 0e529758c0 [python] rename math to pprz_math and add algebra module
to use it e.g. in ipython:
PYTHONPATH=$PPRZ_SRC/sw/lib/python iypthon
$ from pprz_math.geodetic import *
or
$ import pprz_math.algebra
2015-01-13 16:33:35 +01:00
Felix Ruess cebe398b56 [python][math] improve swig wrapping 2015-01-13 16:33:35 +01:00
Felix Ruess 3e6b116e3f [python] simplify pprz_geodetic swig wrapper 2015-01-08 19:08:15 +01:00
Felix Ruess d685c84c1f [python] wrap pprz_geodetic with swig 2015-01-07 22:10:46 +01:00
alonsoac f9f27caaed [editor] update WP georefs list, center zoom in/out
list is updated when
- WP is created or removed
- WP name is changed
- FP is opened or closed

zoom in/out using the spin button keep the map centered

close #1059
close #927
2015-01-05 11:26:00 +01:00
Gautier Hattenberger 2b0ea86e55 [server] don't fail if settings_modules is missing 2015-01-03 23:20:51 +01:00
Felix Ruess dea80645de [ocaml] turn off search in non editable xml tree views
should fix #995
2015-01-03 13:15:06 +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
Felix Ruess 884b1f68c1 [generators][modules] use module xml filename without path in dependencies 2014-12-08 10:59:05 +01:00
Felix Ruess b8dabc0063 [tmtc] fix formatted string parsing in messages
temporary fix...
2014-12-01 13:05:09 +01:00
Felix Ruess 321c583c5d [python] fix settings path 2014-11-27 14:41:03 +01:00
Gautier Hattenberger 855ac854c6 [ocaml] filter for 'field' tag when looking at messages 2014-11-27 13:10:38 +01:00
Gautier Hattenberger de200404ab [settings] fix multiple settings in modules
close #901
2014-11-14 15:04:20 +01:00
Felix Ruess 88e133bc4c [python] update messages tool to deal with whitespaces in arrays 2014-11-12 16:32:06 +01:00
Gautier Hattenberger 05e19229d6 [ocaml] backward compatibility on old array's delimiters 2014-11-12 16:32:05 +01:00
Gautier Hattenberger 408b2c8bd1 [ocaml][messages] use quotes for char arrays
- char[] are now treated as 'real' strings
- no more delimiters for other arrays (where space characters should not
  appear)
2014-11-12 16:32:05 +01:00
Felix Ruess cd388990ac [messages] add INFO_MSG and print it to GCS console
Uses a separate string_of_chars function for now to convert the
char array from ivy (e.g. |i,n,f,o, ,m,s,g|) to normal string to
nicely write to console and messages app.

Proper solution would be to write char arrays as normal "quoted string" to the ivy bus.
2014-11-12 12:12:05 +01:00
Felix Ruess 3fd4b18444 [ground_segment] put google maps dir in Google subdir in var/maps
should close #902
2014-11-10 15:57:01 +01:00
Gautier Hattenberger b692855c13 [telemetry] replace old downlink macros with functions
- update messages generator
- generic device with uart support
- initial support of pprz protocol (transparant)
- fix types in downlink variables
2014-11-04 13:28:35 +01:00
Gautier Hattenberger 855ac9d4fb [ocaml] dirty fix to avoid segfault of server and GCS 2014-10-21 13:58:37 +02:00
Gautier Hattenberger d616131156 [ocaml] support display of formatted string in messages
this should close #796
to display an integer (or array of integer) in HEX, just add format="%x" to the field in messages.xml
2014-10-20 23:41:34 +02:00
Gautier Hattenberger 8b7194a792 Merge pull request #834 from paparazzi/modules_settings
let's see what's happening then
2014-10-09 15:27:21 +02:00
Gautier Hattenberger c9f1d12be7 [ocaml] md5 sum target dependent due to unloaded settings 2014-10-09 01:02:23 +02:00
Gautier Hattenberger 5e9e6de411 [ocaml] remove leading white space when get tree values 2014-10-08 15:22:55 +02:00
Gautier Hattenberger 8c8fcb68d4 [gcs] select an aircraft directly with a click on the map 2014-10-07 13:54:21 +02:00
Gautier Hattenberger 7230aa4a92 [settings] add settings directly inside modules files 2014-09-30 13:57:17 +02:00
Gautier Hattenberger e39292c77b [settings] improve settings in pprzcenter
- check box for faster enable/disable
- loading from modules
2014-09-16 22:17:35 +02:00
Gautier Hattenberger 557c0112fc [ocaml] uint32 now fits into a Int64
close #831
2014-09-10 14:31:25 +02:00
dewagter 1ad7f901ca [ocaml][flightplan] No lexer when variable does not contain ocml functions
close #825
2014-09-09 16:18:41 +02:00
Gautier Hattenberger 1eb6585eb8 [tools] parse IndexOfBlock inside procedures
a procedure can only see its own blocks
2014-09-09 13:08:36 +02:00
Gautier Hattenberger 57e8b2e81b [flightplan] allow "for" instructions in procedures 2014-09-05 10:58:18 +02:00
Gautier Hattenberger f30047d852 [generator] allow multiple state machines for autopilot generator 2014-09-04 16:56:33 +02:00
Felix Ruess 97ea2b7ed4 [messages] rename class to msg_class
makes it possible to use the python parser using xmlobject since class is a reserved word.
2014-08-27 14:40:21 +02:00
Gautier Hattenberger 3f567d235a [papget] fix warning 2014-08-26 18:21:06 +02:00
Gautier Hattenberger 92a4042ce8 [ocaml] fix handling of uint32 in gcs 2014-08-26 18:13:37 +02:00
Gautier Hattenberger 582d8972c8 [waypoints] start fixing waypoint accuracy issue (#762)
- all transformation are done in double on ground
- 7 digits in degrees for Ivy messages and GCS display
2014-08-26 16:34:44 +02:00
Felix Ruess c95b2a23a8 [ocaml] fix uint32 parsing
Don't use int32 to represent uint32 so we don't get overflows...
When extracting an uint32 from a bytestream, copy it to a C uint32 first,
then convert that to an int64 for usage in OCaml (since it doesn't have unsigned ints)

This addresses #793 at least for unsigned 32bit values.
Only tested on 64bit system so far...
2014-08-25 19:27:03 +02:00
karlito139 3fb33e8f84 [ground_segment] different icons for the different applications of paparazzi.
This should prevent the clicking on every icon and parsing through all the windows when we are searching for the messages.
closes #787
2014-08-06 16:58:21 +02:00
Felix Ruess 4dea5050b2 [ocaml] cserial: open serial device with O_NOCTTY to be sure... 2014-08-06 14:30:26 +02:00
Gautier Hattenberger d9285c45b8 [papgets] add exponentiation operator to papgets 2014-07-24 14:39:00 +02:00
Gautier Hattenberger ddcc169f04 [srtm] improving information messages about SRTM data 2014-05-15 22:54:19 +02:00
Gautier Hattenberger e5e2b008d2 [agl] fix waypoint edit box display and sim ground detect 2014-05-14 22:13:38 +02:00
Gautier Hattenberger ce3c21c428 [agl] use ground_alt from autopilot if no SRTM data available 2014-05-11 00:00:05 +02:00
Gautier Hattenberger d97ef3a89a [gcs] adapt home icon to zoom level (#679)
not tested yet, I don't have a gps to test with gpsd2ivy
2014-04-14 10:46:30 +02:00
Felix Ruess 6752071841 [lib/ocaml] attempt to properly deal with leap seconds 2014-04-11 09:30:09 +02:00
Piotr Esden-Tempski e02b84234b [Ocaml] Fix compilation warnings.
While doing that I removed the dependency of editFP on geometry_2d as it
is not being used there.
2014-03-30 16:14:10 +02:00
Gautier Hattenberger 7d0a1a7724 [messages] replace brackets by pipe as array delimiter
brackets can be used in settings' name, missed that :(
2014-03-26 16:53:26 +01:00
Gautier Hattenberger 8faa23d074 [messages] add support for spaces in messages array
- add special delimiters ([]) for arrays (which are now forbidden
  characters)
- backward compatible with old format if no spaces in array
2014-03-26 15:35:58 +01:00
Felix Ruess ad7994c7ef fix path to gen_flight_plan.out after moving it to generators 2014-03-23 01:06:15 +01:00