21146 Commits

Author SHA1 Message Date
Dennis Mannhart
3fe45697bb Fix3dwinglandDetector.cpp: adjusted to astyle 2017-01-28 16:23:04 +01:00
Dennis Mannhart
2f164602b4 LandDetector:
- constructor initalization fix
- set trigger time for ground contact hysteresis
- updated ground_contact_state logic
MulticopterLandDetector:
- added hysteresis for ground_contact
VtolLandDetector:
- get_ground_contact_state function that return the one form MultcopterLandDetector
FixedWingLandDetector:
- get_ground_contact_state with a return false: requires implementation
2017-01-28 16:23:04 +01:00
Lorenz Meier
f961a12d9a MC position controller: Stop XY control once ground contact is established 2017-01-28 16:23:04 +01:00
Lorenz Meier
aab04141f0 Initialize raw GPS data 2017-01-28 16:23:04 +01:00
Lorenz Meier
9e9e0e23ad Land detector: Detect ground contact separately
This allows to detect ground contact before concluding the system is landed. This allows to disable some parts of the horizontal control system and only control the vertical position to avoid tipping over.
;
2017-01-28 16:23:04 +01:00
Lorenz Meier
36026fb631 Land detection topic: Add ground contact state 2017-01-28 16:23:04 +01:00
Lorenz Meier
264589b2cc Fix motor range 2017-01-28 15:25:00 +01:00
Matthias Grob
41ff46b557 tap_esc: fixed offset to really keep the range 1200-1900
even if the input to the driver is too low or too high.
This prevents motor stalling.
NaN or Inf still stop the motor.
2017-01-28 15:24:45 +01:00
Beat Küng
91416fc49a ver.c: fix hwcmp to match exact string
Previously for example 'ver hwcmp PX4FMU_V4PRO' matched on PX4FMU_V4
hardware too.
2017-01-28 15:18:35 +01:00
José Roberto de Souza
37f73bb0ed ROMFS: aerofc: Only start logger with MAVLink support
AeroFC don't have SDCard to store logs.
2017-01-28 11:03:07 +01:00
José Roberto de Souza
340be986a6 ROMFS: aerofc: Switch from sdlog2 to logger
Logger have adds support of ULog over MAVLink and it will be used in AeroFC.
2017-01-28 11:03:07 +01:00
David Sidrane
b3f5a0d51a Tools to ease nuttx config maintenance (#6452)
* Added tool to restore defconfig sections after make [old|menu]config

* Use tool to restore defconfig sections after make [old|menu]config

   invocation:
      make px4fmu-v2_default oldconfig_px4fmu-v2
      make px4fmu-v2_default menuconfig_px4fmu-v2
2017-01-27 14:14:48 -10:00
Larry Wang
72ea5c53db qurt px4_layer initialize shared memory (#6453) 2017-01-27 17:59:12 -05:00
David Sidrane
0f33ca1ecc tap-v1 Increased IRQ Stack Size 2017-01-27 15:01:52 +01:00
David Sidrane
8bb72d45dc px4-stm32f4discovery Increased IRQ Stack Size 2017-01-27 15:01:52 +01:00
David Sidrane
3d05fa7229 mindpx-v2 Increased IRQ Stack Size 2017-01-27 15:01:52 +01:00
David Sidrane
214fd04b3c crazyflie Increased IRQ Stack Size 2017-01-27 15:01:52 +01:00
David Sidrane
5a7b8e052e auav-x21 Increased IRQ Stack Size 2017-01-27 15:01:52 +01:00
David Sidrane
2fe0f76e27 aerofc-v1 Increased IRQ Stack Size 2017-01-27 15:01:52 +01:00
David Sidrane
57581ddaac aerocore Increased IRQ Stack Size 2017-01-27 15:01:52 +01:00
Daniel Agar
cdd472f722 Makefile update Firmware.zip px4 naming 2017-01-26 19:41:48 -05:00
Daniel Agar
3d804dd7ca cmake nuttx simple binary naming 2017-01-26 18:39:09 -05:00
Daniel Agar
bc72b8161f px4fmu-v2_default add logger 2017-01-26 18:39:09 -05:00
David Sidrane
f604b71838 tap-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
0088d17f4c px4nucleoF767ZI-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
59d95cd77b px4fmu-v5 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
3dc205f28a px4fmu-v4pro using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
cd1148f146 px4fmu-v4 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
d5059efdde px4fmu-v2 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
af4b8ee8ca px4fmu-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
f71d0eaf5a px4esc-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
d7fc536f06 px4cannode-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
bff54584fe px4-stm32f4discovery using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
5b2ceb7fda mindpx-v2 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
579f698e4c crazyflie using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
e484c3bab5 auav-x21 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
b955ef2876 aerofc-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
2cf8a1b432 aerocore using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane
af12816296 posix derived targets use BOARD_OVERRIDE_CPU_VERSION for mcu_version 2017-01-26 08:39:12 +01:00
David Sidrane
6ab32f1632 logger uses common board api for mcu_version 2017-01-26 08:39:12 +01:00
David Sidrane
4be19b26b0 ver uses common board api for mcu_version 2017-01-26 08:39:12 +01:00
David Sidrane
242f563d44 Adds a board common API for retriving the SoC' Silicon revision data/errata
This abstraction will support mcu's other than the stm32 family.
    It moves the systemlib/mcu_version.c functionality to
    common/stm32/board_mcu_version.c
2017-01-26 08:39:12 +01:00
Siddharth Bharat Purohit
975893a406 events: tempcal: get rid of commented code 2017-01-25 22:43:29 +01:00
Beat Küng
be512fdc4c temperature_calibration: use device id from published topic
uorb topic instance does not necessarily match the gyro device path instance,
so we need to use the id from the topic.
2017-01-25 22:43:29 +01:00
Beat Küng
00d2fc936a polyfit.hpp: fix code style (class member variables start with _) 2017-01-25 22:43:29 +01:00
Beat Küng
2fbb1aee84 temperature_calibration: fix poll (number of fds), remove usleep
useep() is not needed because we use the poll()
2017-01-25 22:43:29 +01:00
Beat Küng
54e9bda412 temperature_calibration: properly initialize gyro subscriptions & bounds checking 2017-01-25 22:43:29 +01:00
Beat Küng
e74e883c56 temperature_calibration: change some log levels to be more appropriate 2017-01-25 22:43:29 +01:00
Siddharth Bharat Purohit
5c7dbe0f24 events: tempcal: run cal for all available gyros 2017-01-25 22:43:29 +01:00
Siddharth Bharat Purohit
7e6daaf3d1 tempcal: remove separate temperature calibration module 2017-01-25 22:43:29 +01:00