Commit Graph

12243 Commits

Author SHA1 Message Date
Felix Ruess 09f70c284d rename in_progress dir to misc 2015-03-19 12:56:57 +01:00
Felix Ruess 420be79478 Merge pull request #1138 from paparazzi/formatted_string
[ocaml] fix formatting of values in pprz ocaml lib

fix #1135
2015-03-18 22:39:55 +01:00
Felix Ruess 33de564e9e [ocaml] rename META.pprz.deb to META.pprz.linux 2015-03-18 15:43:29 +01:00
Gautier Hattenberger 72deb3577c [ocaml] fix formatting of values in pprz ocaml lib (#1135) 2015-03-18 13:35:33 +01:00
Piotr Esden-Tempski f21932a529 Removed GnoDruid code, replaced with simple printf.
Also added a comment for those who might be interested in an improved
implementation that uses GtkAssistant. GnoDruid is already considered
depricated and should be replaced anyways. Due to lack of GnoDruid on
OS X we decided to remove the dependency all together until a better
implementation is available.
2015-03-17 15:25:25 +01:00
Felix Ruess d0ec9d7bbf Merge pull request #1137 from paparazzi/camlp4_ifdef
[OCaml] use camlp4 to ifdef around netclient/lablgtk version differences
2015-03-17 15:24:13 +01:00
Felix Ruess a0bffe556f [gcs] use camlp4 to deal with native window id change in lablgtk 2.18 2015-03-17 14:53:14 +01:00
Felix Ruess 9216228f4b move init target to main makefile 2015-03-16 23:59:12 +01:00
Felix Ruess 039cbe5ae6 [ocaml] use camlp4 to check netclient version
See issue #1133

Since some ml source files can't be run through camlp4 without changes,
only run files in PP_SRC through preprocessor (currently http.ml)
2015-03-16 22:07:11 +01:00
Felix Ruess 82534f3233 update changelog 2015-03-16 16:37:56 +01:00
Felix Ruess e80f099e80 [ocaml] completely disable format strings for now
as it causes crashes/segfaults in GCS, server and messages with OCaml 4.02
2015-03-16 14:47:04 +01: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 0d5f6063e5 [tests] simplify test targets
no more moving and restoring of the conf.xml
Test targets available now:
- test_math: doesn't care about conf nor needs any other pprz code built
- test_examples: compiles all aircrafts in conf_tests.xml, doesn't care about conf.xml
- test_sim: needs a valid conf.xml with the appropriate aircrafts (Microjet for now)
- test: only calls test_math and test_examples for now (no X needed, conf.xml is not read)
2015-03-12 18:53:19 +01:00
Felix Ruess 7be1f5d652 [tests] fix verbose output if TEST_VERBOSE=1, add test_examples target 2015-03-12 18:03:35 +01:00
Felix Ruess 7c35b5e292 update travis config 2015-03-12 17:19:40 +01:00
Felix Ruess 81f562dc38 [build] possibilty to specify conf.xml file used for tests
If the CONF_XML environment variable is set, use that conf.xml file instead of the standard $PAPARAZZI_HOME/conf/conf.xml
Meaning you can run tests for a different conf without changing the conf.xml symlink, e.g.
```
CONF_XML=$PAPARAZZI_HOME/conf/conf_tests.xml prove tests/examples
```
2015-03-12 17:10:08 +01:00
Felix Ruess 6d2acf227d [generators] gen_aircraft: possibility to specify conf.xml file 2015-03-12 16:56:06 +01:00
Felix Ruess e6c99050ae [simulator] add easystar FlightGear model 2015-03-11 15:00:59 +01:00
Felix Ruess 59c13b5384 [modules] video_rtp_stream doc 2015-03-11 14:35:37 +01:00
Felix Ruess a2cc6cbb9d move STRINGIFY macro to std.h and use it a bit more 2015-03-11 14:26:50 +01:00
Felix Ruess a207d15c98 [modules] video_rtp_stream: valid xml for strings 2015-03-11 13:27:59 +01:00
Felix Ruess f283857471 make COPYING the symlink
since the github parser doesn't seem to follow symlinks..
2015-03-10 23:33:47 +01:00
Felix Ruess 3396b2e8f8 add LICENSE as symlink to COPYING
since github looks for a file named LICENSE to detect the kind of license
2015-03-10 23:28:54 +01:00
Felix Ruess 3c547fae7c [conf] jsbsim: update description for easystar model 2015-03-10 16:50:11 +01:00
Gautier Hattenberger 6520776cd5 [jsbsim] use aileron and not only rudder with easystar 2015-03-10 15:04:52 +01:00
Gautier Hattenberger 6c84b45e63 use easystar in jp airframe 2015-03-10 15:04:52 +01:00
Felix Ruess 478f95bc10 [nps] update crrcsim and cleanup accel 2015-03-10 14:47:13 +01:00
Felix Ruess d56a4a5381 [nps] use angular velocity wrt inertial frame for gyro sim 2015-03-10 14:47:13 +01:00
Felix Ruess 16f9c93b89 [nps] fdm_jsbsim cleanup 2015-03-10 14:47:13 +01:00
Gautier Hattenberger 6dcf26e73d [invariant] fix debug message 2015-03-10 14:30:15 +01:00
Gautier Hattenberger c96019cb8f [nps] update airframe and add a jsbsim model for NPS 2015-03-10 14:29:37 +01:00
Felix Ruess 8177db2e97 [nps] fdm_jsbsim: use GetAccelBody for accelerometer simulation 2015-03-10 13:52:19 +01:00
Felix Ruess 06b9456ad2 [nps] add easystar JSBSim model
Model from James Goppert's https://github.com/arktools/arkhangar

Use it for Microjet_LisaM, as it is at least a closer match than Malolo
2015-03-09 19:09:17 +01:00
Felix Ruess 73af245e1e [nps] fixedwings: no need for NPS_ACTUATOR_NAMES
If NPS_ACTUATOR_NAMES is not specified, use the standard throttle,roll,pitch and if used in airframe yaw commands
for throttle, aileron, elevator and rudder in JSBSim model.
2015-03-09 16:15:19 +01:00
Felix Ruess 9797c2998d [nps] imu sensors: take sign into account 2015-03-09 16:15:12 +01:00
Felix Ruess ca87b38983 [nps] fix JSBSim for fixedwings
actually run fdm (even when not launched yet) to get proper readings
2015-03-09 15:48:55 +01:00
Felix Ruess 59ae883f5b [nps] add sw/simulator to include dirs so that nps settings file works 2015-03-08 00:24:28 +01:00
Felix Ruess 4ee4d948c3 [modules] digital_cam: doc for DC_SHUTTER_DELAY and DC_POWER_OFF_DELAY 2015-03-07 14:39:08 +01:00
Felix Ruess 0b245c04db [modules] minor ctrl_module_demo cosmetics 2015-03-07 13:53:27 +01:00
Felix Ruess 9d0992220a [conf] bebop: comment file_logger module which has invalid xml 2015-03-06 22:03:42 +01:00
Felix Ruess 8cb19eba41 [bebop] telnet timeout and some pep8 cleanup 2015-03-06 21:49:18 +01:00
Felix Ruess 0f23e39f80 [bebop] ignore some unused result warnings and add to conf_tests 2015-03-06 20:43:11 +01:00
Felix Ruess 0f014a2562 [mcu] move mcu peripheral event functions to common mcu_event 2015-03-05 17:01:34 +01:00
Gautier Hattenberger 9d89856145 [ahrs] add missing is_aligned flag to float_dcm ahrs 2015-03-05 16:59:26 +01:00
Felix Ruess 61d4c7f29e Merge pull request #1128 from paparazzi/linux_sys_time_clock_monotonic
[arch/linux] sys_time: get time from CLOCK_MONOTONIC

Instead of simply adding up the sys_time ticks, seconds, get current time from CLOCK_MONOTONIC and directly set sys_time from that (difference to clock monotonic time at startup).
2015-03-05 16:15:30 +01:00
Felix Ruess 2bc2ae4372 Merge pull request #1122 from paparazzi/single_udp_socket
Single udp socket

Only create one socket for sending and receiving, instead of two where you use one only to send and the other only to receive.
There should be no reason/need to create two separate ones...

Also add udp_socket.[ch] to make it easier to use only the UDP sockets without the UART like mcu_periph/udp interface around it.
Provides the functions:

- udp_socket_create
- udp_socket_send
- udp_socket_recv
- udp_socket_recv_dontwait
2015-03-05 16:12:35 +01:00
Felix Ruess 41fc194695 [GCS] set bat level to UNK/0 at startup
closes #885
2015-03-05 15:04:38 +01:00
Felix Ruess 6581181cc9 create_module: enforce lowercase file and dir and function names
closes #914
2015-03-05 14:41:18 +01:00
Felix Ruess cddd494522 prevent globbing in fix_code_style.sh
so you can easily call it with the recursive option, e.g.
./fix_code_style.sh -r "sw/airborne/subsystems/*.c"
2015-03-05 14:01:07 +01:00
Felix Ruess be6289440e [arch/linux] rename UdpNetwork to UdpSocket 2015-03-04 17:22:27 +01:00