Commit Graph

12058 Commits

Author SHA1 Message Date
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
Felix Ruess 0f227e89ac Merge pull request #1096 from paparazzi/gcs_undo
[gcs] fix undo for list of values

fixes #1054
2015-02-11 15:00:34 +01:00
Piotr Esden-Tempski af4856f2b5 [stm32f4-spektrum] Fix secondary satellite.
Probably due to a copy and paste typo the secondary satellite UART was not
being enabled. The UART5 is on Alternate Function 8 not 7.
2015-02-10 18:57:48 -08:00
Gautier Hattenberger c484ae51eb [gcs] fix undo for list of values (#1054) 2015-02-10 23:58:08 +01:00
Felix Ruess 8e61099876 update changelog 2015-02-10 19:16:55 +01:00
Piotr Esden-Tempski 05b933f768 [stm32f4_spektrum] Fixes the additional glitch pulse.
If you set the alternate function before setting the pin to input AF.
The GPIO will pull down the line down very briefly. This will cause an
additional pulse to be detected by a spektrum satellite if it is being
reconfigured as a UART RX after sending bind mode pulses.

closes #1090 and fixes #780
2015-02-10 18:23:38 +01:00
Gautier Hattenberger 637da50053 [modules] update meteo_stick to use calibration eeprom 2015-02-10 17:56:43 +01:00
Gautier Hattenberger bcd241a0c7 [generators] allow conditions on modules' defines 2015-02-10 17:55:52 +01:00
Gautier Hattenberger c2576c37fe [spi] increase max size for spi buffer length (8bits to 16bits) 2015-02-10 17:54:30 +01:00
Felix Ruess 605527b1fd start.py: properly use Popen to start paparazzi subprocess
while here cleanup a bit according to pep8...
2015-02-09 19:18:30 +01:00
Richard A Burton c3abe89472 [GCS] add more AC icons 2015-02-08 00:11:09 +01:00
Richard A Burton 9d49af3962 [conf] add HooperFly airframes and JSBSim models 2015-02-07 22:52:06 +01:00
Richard A Burton 5016dbea8c [gcs] add some more aircraft icons
quadrotor, hexarotor and octorotor icons
2015-02-07 22:49:55 +01:00
Felix Ruess 30df14eb05 [abi] allow to pass variables by value
before the generated ABI callbacks always had a signature with `const type *var` where type was e.g float.
Now the generated signature is simply `type var`.
To pass const pointers again, set it accordingly in abi.xml, e.g. type="const float *" instead of type="float"
2015-02-07 16:07:09 +01:00
TU Delft developer 953b1a605d Sign of pitch roll axis changed and yaw fit 2015-02-06 10:06:34 +01:00
Felix Ruess 17b200a59e Merge pull request #1062 from paparazzi/opticflow
Add cv_opticflow.xml module.
Used to for hover stabilization on an ARDrone2.

Also adds AP_MODE_MODULE to make it easier to add extra "external" control loops.
2015-02-05 22:04:32 +01:00
Felix Ruess 5fd3808a39 [opticflow] dox 2015-02-05 21:59:46 +01:00
dewagter 11d94d76c2 [opticflow] working variables in a struct 2015-02-05 21:13:43 +01:00
TU Delft developer 9dd169c09c Added new RC USB type joystick from Hobbyking 2015-02-05 20:39:06 +01:00
dewagter 5589274733 Messages in module instead of thread 2015-02-05 18:21:34 +01:00
dewagter 143154882c fix thread communication 2015-02-05 17:30:02 +01:00
dewagter ec745f0264 convert to thread-communication 2015-02-05 17:28:50 +01:00
dewagter fc1d1093df [module] video_usb_logger
closes #1086
2015-02-05 13:46:07 +01:00
Felix Ruess dfa33e4824 [opticflow] example using unix domain sockets to return thread results 2015-02-02 22:53:29 +01:00