- Jul 30, 2015
-
-
Felix Ruess authored
-
Felix Ruess authored
[settings] add optional target attribute to settings f not target attribute is given, the settings are added for all targets like before. This makes it easier to add settings files to the conf that are only valid for some targets like nps or some that you don't want when using the test progs. Beware of: if you compile a target that unloads some settings or modules (e.g. the sim) after you uploaded to the ap, the var/aircrafts/<ac>/settings.xml file that has all usable settings combined will change. Now the calculation of the MD5sum is taking unloaded settings into account, meaning it will change and warn the user if the last compiled target has different settings.
-
Felix Ruess authored
-
Felix Ruess authored
-
Felix Ruess authored
-
Open UAS authored
closes #1270
-
Felix Ruess authored
-
- Jul 29, 2015
-
-
Use <define name="ASPIRIN_2_DISABLE_MAG value="TRUE"/> to disable the mag.
-
Felix Ruess authored
and disable periodic IMU_MAG_RAW report by default
-
Gautier HATTENBERGER authored
settings are still unloaded by gen_aircraft
-
Felix Ruess authored
as this delays the mcu_event (and hence e.g. the uart polling) We need to find a proper solution for this, like running it in a lower prio thread...
-
guidoAI authored
Adds a simple algorithm to determine optical flow divergence to the optical flow code in Paparazzi. It takes the optical flow vectors and evaluates how the distances between corners change over time. This allows to determine the divergence, which is 0 in hover, negative when going up and positive when going down. The divergence can be used, e.g., for constant divergence landings, which permit safe landing on surfaces which are not at 0 altitude (roof top for instance). Main change is the addition of size_divergence.c / h for the calculation of the divergence. The other modifications call the algorithm or pass its values on to the Paparazzi ground station. closes #1262
-
- Jul 28, 2015
-
-
-
Felix Ruess authored
[I2C] cleanup error counters and reports - remove unused i2c error vars and actually count entry of i2c_error irq on STM32 - I2C: add watchdog reset counter to i2c_errors - on STM32 increment wd_reset_cnt when the watchdog resets the bus - send this counter in I2C_ERRORS - arch/linux: inc error counters if read/write failed (better use some existing ones with not quite matching names than no reports)
-
Felix Ruess authored
the names of the used counters don't quite match the usage, but better than nothing...
-
Felix Ruess authored
- on STM32 increment wd_reset_cnt when the watchdog resets the bus - send this counter in I2C_ERRORS
-
Felix Ruess authored
and actually count entry of i2c_error irq on STM32
-
softsr authored
closes #1264
-
- Jul 27, 2015
-
-
Felix Ruess authored
Add some utilities and a serial link interface to decode/encode PPRZ messages over a serial link in Python merges #1261
-
Felix Ruess authored
- unpack always returns a tuple, so take first value - use bytearray instead of list for buffer - preallocate bytearray with length of payload for speed
-
Felix Ruess authored
- send some datalink messages - "fix" handling of CTRL-C - and remove unused arg - fix debug msg
-
Felix Ruess authored
-
Felix Ruess authored
-
Felix Ruess authored
-
Felix Ruess authored
- enum is available since python3.4 or as backport (enum34 package) - otherwise just use normal member vars as fallback - cleanup some formatting/naming according to pep8 - SerialMessagesInterface should not depend on the messages_xml_map, as a workaround for now, only call parse_messages in main
-
Gautier HATTENBERGER authored
-
Gautier HATTENBERGER authored
-
Felix Ruess authored
-
Gautier HATTENBERGER authored
this should prevent mismatch when settings are unloaded due to unsupported targets
-
Felix Ruess authored
-
Freek van Tienen authored
-
Freek van Tienen authored
-
Freek van Tienen authored
-
Tobias Muench authored
-
Gautier HATTENBERGER authored
-
- Jul 25, 2015
-
-
Felix Ruess authored
-
Felix Ruess authored
-
Gautier HATTENBERGER authored
I wanted to make the line unsensitive, but it doesn't seems to be possible. Either all the lines or nothing. As a fallback, the settings is unselected. It is not perfect (some stuff might be missed, you can check it back, ...) and the settings are removed at generation time anyway. Not sure it can be done better unless someone finds the way to control the list element sensitivity one by one.
-
Gautier HATTENBERGER authored
-
Felix Ruess authored
-