Commit Graph

12081 Commits

Author SHA1 Message Date
Gautier Hattenberger f6937434cb [flight_plan] add ; when using the 'call' statement without loop 2015-02-28 23:47:51 +01:00
Felix Ruess 8634b728ae [rotorcraft] fix attitude_set_rpy_setpoint
use quat_of_eulers instead of quat_from_rpy_cmd to match what users expect from attitude_set_rpy_setpoint
2015-02-27 15:00:37 +01:00
Gautier Hattenberger 3771f4985e [math] fix type in pprz_geodetic_int 2015-02-25 17:58:36 +01:00
Gautier Hattenberger 8271a82873 [lpc21] use single precision in some geodetic functions with lpc boards 2015-02-25 15:33:13 +01:00
Felix Ruess 1595a9ade8 [arch/linux] factor out udp_create_network 2015-02-24 16:13:14 +01:00
Freek van Tienen 611dc5c41f [udp] Add raw sending (without copying buffer) 2015-02-24 15:15:28 +01:00
Gautier Hattenberger d0850689a9 [nps] update nps_fdm_jsbsim to be compatible with latest jsbsim
not the best implementation, but should work with current
paparazzi-jsbsim package (from 2012) and latest jsbsim version
2015-02-23 22:50:09 +01:00
Felix Ruess ed2eea2a62 [arch/linux] use sigaction instead of signal
also print message if sys_time timer couldn't be set up
2015-02-23 14:41:06 +01:00
Felix Ruess b77c6a3ec1 [arch/linux] settings: print if coulnd't be properly read 2015-02-23 14:41:06 +01:00
Felix Ruess 9918d6d7e6 [arch/linux] use safe strncpy instead of strcpy 2015-02-23 14:22:54 +01:00
Felix Ruess 638acf4333 [arch/linux][uart] simplify uart_handler calls 2015-02-23 13:14:55 +01:00
Felix Ruess f530a2211e [conf][telemetry] send ALIVE in PPM mode
so that people don't wonder why the messages window doesn't populate if started while this mode is already active.
Could also start messages with the -force option, so it doesn't only listen for the ALIVE message.
2015-02-23 12:48:26 +01:00
Felix Ruess e98128d082 Merge pull request #1110 from paparazzi/linux_uart_fix
[arch/linux] fix uart driver

- make sure the output flags are properly reset for raw mode.
  Specifically OPOST, clear some others as well to be safe...
- put byte in queue if write was interrupted and only advance extract index if write was successful
  This solves the issue of some bytes not being written (at least on BBB with PREEMPT kernel)
2015-02-20 20:54:52 +01:00
Felix Ruess b59b1d6b21 [logalizer] fix csv export after allowing description tag in messages 2015-02-20 18:24:34 +01:00
Felix Ruess fdfe8fa97f [setup actuators] fix missing ) 2015-02-20 11:43:36 +01:00
Piotr Esden-Tempski 5af2f84f72 [Setup Actuators] Fix telemetry
The firmware was crashing because the transport was not being
initialized.
2015-02-20 11:31:33 +01:00
Felix Ruess 3e16db6ec1 [python] message: add missing fieldtypes property 2015-02-18 15:50:02 +01:00
Felix Ruess 240f5972d9 [python] messages: get field values directly by name
using __getattr__

closes #1114
2015-02-18 15:39:12 +01:00
Felix Ruess c24177f8ae [python] settings: get PAPARAZZI_SRC
still needs to be cleaned up and converted to proper modules..
2015-02-18 13:12:49 +01:00
Felix Ruess 6706fac752 [python] pprz_msg using properties 2015-02-18 12:54:26 +01:00
Felix Ruess a704d20ced [python] possibility to send pprz_msg via ivy 2015-02-18 11:57:13 +01:00
Felix Ruess f29b2b4c64 [conf][actuators] dual dual pwm
closes #1102
2015-02-16 23:47:27 +01:00
Felix Ruess f374efef17 [arch/linux][uart] put byte in queue if write was interrupted
and only advance extract index if write was successful
2015-02-16 23:43:38 +01:00
Felix Ruess 92d2b9b84e [arch/linux] fix uart driver
make sure the output flags are properly reset for raw mode.
Specifically OPOST, clear some others as well to be safe...

might also fix #743
2015-02-16 19:56:48 +01:00
Felix Ruess ad4b72e7ba [tests] some more uart test progs 2015-02-16 19:56:15 +01:00
Felix Ruess 6018c8d030 [arch/linux][boards] define UART devices in board files 2015-02-16 16:46:32 +01:00
Felix Ruess 271a02388e [boards] start adding support for bbb
led_hw.h currently has some ardrone specific led stuff... so check for ardrone2 board
should eventually be moved to board specific file...
2015-02-16 01:25:15 +01:00
Felix Ruess 1eea88f294 [test] more tests updates for linux arch 2015-02-16 01:24:47 +01:00
Felix Ruess 2c0d511825 Merge pull request #1109 from paparazzi/linux_persistent_settings
implement persistent settings for linux arch

Write persistent settings to a binary file (by default pprz_persistent_settings.binary in same directory).

On loading it also check the file size matches the PersistentSettings struct size to detect if persistent settings were added/removed). While this doesn't catch all errors (like replacing a setting of same size), it should be good enough for most cases...

Closes #969
2015-02-15 22:26:29 +01:00
Felix Ruess 168643364b [test] update test progs, downlink_init() 2015-02-15 19:13:47 +01:00
Felix Ruess 99ae466fcc [conf] cleanup linux makefiles 2015-02-15 19:13:42 +01:00
Felix Ruess cc95717679 [conf] arm-linux makfile refactor, hf for bbb 2015-02-15 19:13:38 +01:00
Felix Ruess 12de1d1586 [arch/linux][settings] check if file size matches
only try to load settings if binary file size matches requested struct size.
If it doesn't remove it...
2015-02-15 01:14:35 +01:00
Felix Ruess f56def36d2 [settings] void pointer to PersistentSettings struct instead of uint32_t 2015-02-15 01:03:14 +01:00
Felix Ruess 429ae81574 [arch/linux] implement persistent settings 2015-02-15 01:03:14 +01:00
Felix Ruess 8b1742fde8 [test_progs] usable with udp telemetry 2015-02-15 01:01:57 +01:00
Felix Ruess 05bcf2c1c5 [test_progs] update test_settings 2015-02-15 01:00:39 +01:00
Felix Ruess 2417345f73 [airborne] remove unused interrupt_hw.h headers 2015-02-15 00:45:27 +01:00
Felix Ruess edeba0909c [conf] fix ardrone2_opticflow airframe name 2015-02-13 23:07:09 +01:00
alonsoac 6616c2977d [modules] airspeed_ets: add 3rd party mode support
Add option to use the raw value. This is needed when the sensor is in third-party mode.

closes #1099
2015-02-13 18:33:17 +01:00
Felix Ruess 8eb1aebd7c [fixedwing] remove useless MEASURE_AIRSPEED flag 2015-02-12 13:12:29 +01:00
Felix Ruess 7118b437fb [fixedwing] minor code style fixes 2015-02-12 13:01:36 +01:00
Felix Ruess e129f30348 [fixedwing] configurable MIN_SPEED_FOR_TAKEOFF 2015-02-12 12:56:56 +01:00
Felix Ruess d25ebb2877 [boards] cleanup unused defines 2015-02-12 12:55:39 +01:00
Felix Ruess 94a36558ab Merge pull request #1097 from paparazzi/ad-hoc
Dynamic Ad-Hoc networking with OLSR on Ardrone2
Add an extra wifi mode with necessary tools to use OLSR (http://www.olsr.org/)
2015-02-11 18:05:39 +01:00
Gautier Hattenberger ab762bc17a [udp] update bebop board makefile 2015-02-11 17:41:58 +01:00
Felix Ruess 7fff7f43b4 [ext] improve makefile
the separate libopencm3.build and luftboot.build targets make it possible to build the current version without update the submodules first
2015-02-11 17:12:30 +01:00
Gautier Hattenberger 27dcb8e94c [udp] configuration of MODEM_HOST possible from airframe 2015-02-11 16:45:05 +01:00
Gautier Hattenberger 99d83b3dd6 [ardrone2] add support for olsr 2015-02-11 16:44:50 +01:00
Felix Ruess c5f38f59ea [ext] don't be quiet when updating submodules 2015-02-11 16:07:39 +01:00