Commit Graph

12230 Commits

Author SHA1 Message Date
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
Felix Ruess cd7768792a Merge pull request #1129 from paparazzi/gps_speech
GPS accuracy speech less verbose

Addresses #1046

GPS accuracy is considered ok if better than 10m, very bad if worse than 20m and simply low in between.
Now only if the accuracy falls into a different range than previously reported.
2015-03-04 16:48:24 +01:00
Felix Ruess d94c774811 [gcs] reword GPS accuracy speech and nothing if pacc > 999 2015-03-04 14:52:44 +01:00
Felix Ruess 2d3efdb6ee [arch/linu] udp_socket: possibility to use hostname 2015-03-04 12:10:53 +01:00
Felix Ruess b6c9619ec7 [arch/linux] sys_time: link against librt for glibc < 2.17 2015-03-03 21:52:05 +01:00
Felix Ruess b1493c416c [arch/linux] sys_time: get time from CLOCK_MONOTONIC
Instead of simply adding up the sys_time ticks, seconds, get curent time from CLOCK_MONOTONIC and directly set sys_time from that
(difference to clock monotonic time at startup).
2015-03-03 21:46:13 +01:00
Felix Ruess 2fedf8a46d [ardrone2] rearrange navdata functions, print info if mag freeze detected 2015-03-03 21:42:23 +01:00
Gautier Hattenberger 420420aafa [fix] temporary fix, we need propagate freq for ardrone2 2015-03-03 18:39:32 +01:00
Gautier Hattenberger 253eadfe12 [gcs] handle pacc properly for each A/C 2015-03-03 18:23:58 +01:00
Felix Ruess 31f555ea99 [arch/linux] udp: fix printf format warning 2015-03-03 18:23:56 +01:00
Felix Ruess ccc6f82160 [conf] add udp_socket for nps target 2015-03-03 18:23:56 +01:00
Felix Ruess f75b87f595 [arch/linux] more generic udp_socket 2015-03-03 18:23:56 +01:00
Felix Ruess 2478bd7bea [arch/linux] udp: only create one socket for sending and receiving 2015-03-03 18:23:55 +01:00
Felix Ruess 0fabdd4f44 Merge pull request #1094
linux_video_speedup_without_thread
2015-03-03 18:21:14 +01:00