Commit Graph

27943 Commits

Author SHA1 Message Date
Beat Küng 4fc1c5c4f5 LogWriterFile: split long header messages that exceed the buffer length
Some message formats are longer than the 300 bytes. We can split the writes
because we have to wait until they are written anyway.
2018-10-26 08:02:42 +02:00
Beat Küng 28ac7679e0 logger: change message id from uint16_t to uint8_t
256 subscriptions are enough for now.
Reduces RAM usage by 300 bytes.
2018-10-26 08:02:42 +02:00
Beat Küng d6e820fe67 logger: add mission file to LogWriterFile backend
Not used yet, it should not affect anything, except for slight RAM
increase.
2018-10-26 08:02:42 +02:00
Beat Küng b86c7d2e8f Logger: only write subscribed topic format definitions
Previously the formats of all known uorb messages were written.

- reduces header size by about 13KB
- reduce ulog_message_format_s size to reduce required stack size.
  Largest message format is about 1000 bytes.
2018-10-26 08:02:42 +02:00
Beat Küng 0745ba9052 refactor logger: move some code inside run() into separate methods 2018-10-26 08:02:42 +02:00
Beat Küng 5eafa1b34b refactor logger: move some independent methods into separate util file 2018-10-26 08:02:42 +02:00
Beat Küng b65871b433 fix reposition: set acceptance radius
Previously the acceptance radius was 0, so the FlightTaskAutoLine was
randomly changing yaw and sometimes going into a random direction.
There is still something else wrong in there, but avoids the reposition
problem.
2018-10-25 17:05:27 +02:00
David Sidrane 3e9e55150d px4nucleoF767ZI-v1: use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 0658d4e2e5 px4fmu-v4pro:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 161288ef71 px4fmu-v4:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 0cd2d8f4aa px4fmu-v2:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 9b4b831b22 px4-same70xplained-v1:Does not use hardfault_log 2018-10-25 07:52:37 +02:00
David Sidrane 4cda5513b9 omnibus-f4sd:use board_hardfault_init API and indicate on BLUE LED 2018-10-25 07:52:37 +02:00
David Sidrane e0431911f9 nxphlite-v3:No Support for BBSRAM nor hardfault 2018-10-25 07:52:37 +02:00
David Sidrane 4353476b01 mindpx-v2:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 365c5d3ea7 crazyflie:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 082aa81ee9 av-x-v1:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 1e35fe189a auav-x21:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 1856c4760d aerocore2:Make sure errors light LED 2018-10-25 07:52:37 +02:00
David Sidrane 68ce4cf11d aerofc-v1:Does not support bbsram no board_hardfault_init 2018-10-25 07:52:37 +02:00
David Sidrane 177251cc21 px4fmu-v5:use common board_hardfault_init 2018-10-25 07:52:37 +02:00
David Sidrane 74695f3cfb stm32:add stm32 and stm32f7 board_hardfault_init 2018-10-25 07:52:37 +02:00
David Sidrane 2f6a297f3d board_common:Add API for hardfault init 2018-10-25 07:52:37 +02:00
Beat Küng 294af5daad LowPassFilter2p: fix _cutoff_freq <= 0 (disabled filter)
If the filter was disabled, the apply() would always return 0.
2018-10-24 20:43:42 +02:00
Daniele Pettenuzzo d2e2b5e8ce add pmw3901 optical flow support for fmu-v5 (#10750) 2018-10-24 10:25:41 -04:00
David Sidrane 99294b2040 fmu:Add Range checking for PWM5 modes 2018-10-23 08:15:28 +02:00
Daniel Agar d832b4fe28 rc.mavlink AV-X reduce companion baudrate 2018-10-23 08:15:11 +02:00
CarlOlsson d0c69efff9 gpio_led: fixed typo 2018-10-22 09:26:06 -04:00
CarlOlsson 6499a4ffc7 board_config: fixed typo 2018-10-22 09:26:06 -04:00
CarlOlsson f15365fe97 process_sensor_data.py: update description 2018-10-22 09:26:06 -04:00
CarlOlsson db4d79358a commander: fix typo 2018-10-22 09:26:06 -04:00
CarlOlsson b85710b194 ekf2: fix typo 2018-10-22 09:26:06 -04:00
CarlOlsson 02a3528f24 commander: fix typo 2018-10-22 09:26:06 -04:00
CarlOlsson c826140c2b commander: update comment to make post takeoff ekf quality test logic more clear 2018-10-22 09:26:06 -04:00
CarlOlsson cd382d8874 voted_sensors_update: fix typo 2018-10-22 09:26:06 -04:00
CarlOlsson 7b0e0de43c ekf2: fix typo 2018-10-22 09:26:06 -04:00
CarlOlsson 6647471238 ekf2: increase maximum of EKF2_MAG_YAWLIM. This is needed on some fw platforms
in order to not constantly switch mag fusion mode in gusty winds.
2018-10-22 09:26:06 -04:00
CarlOlsson 82106cc4c1 fw_l1_control: add underscores to perf for consistency 2018-10-22 09:26:06 -04:00
CarlOlsson e6d378c9aa navigator: fix typo 2018-10-22 09:26:06 -04:00
Daniel Agar 526fa9e9dd uORB remove unnecessary priority from each subscriber 2018-10-20 19:57:08 +02:00
Daniel Agar 297c1b777b mathlib LowPassFilter2p sync with LowPassFilter2pVector3f 2018-10-20 10:34:02 -04:00
Daniel Agar efac6f2807 MC attitude control move to Vector3f LPF 2018-10-20 10:34:02 -04:00
Daniel Agar ac85230700 mathlib: add Vector3f low pass filter 2018-10-20 10:34:02 -04:00
Daniel Agar cc64661791
Update submodule nuttx to latest Sat Oct 20 00:44:04 UTC 2018
- nuttx in PX4/Firmware (31767b6b5aeb4293c2991dbfea6b810e34a34149): 999c4357a2
    - nuttx current upstream: 166d898c70
    - Changes: 999c4357a2...166d898c70

166d898 2018-10-18 Daniel Agar - [BACKPORT] Merged in dagar/nuttx/pr-stm32_dma_per_spi (pull request #736)
0a5b1cb 2018-10-17 David Sidrane - [BACKPORT] Lampoo-master-spi-flash (pull request #735)
2018-10-19 21:22:34 -04:00
dakejahl dce4d75f5a TealOne airframe config file (#10713) 2018-10-19 20:27:50 -04:00
David Sidrane 640d10044c NuttX update with i2c Backport 2018-10-19 20:08:01 -04:00
sanderux dea385b2d2 Added geotag_images_ulog.py for enhanced geo-referencing survey images 2018-10-18 16:55:53 -04:00
Daniel Agar 50c879c2d6 land_detector: rover return not landed if disarmed 2018-10-18 12:51:52 -04:00
PX4 Build Bot 7b2418289f Update submodule ecl to latest Thu Oct 18 12:37:31 UTC 2018
- ecl in PX4/Firmware (bd71d1cd9e1e1d29f89351c43f879e6c49b727bc): f240eaa5b0
    - ecl current upstream: 10a0fef7b7
    - Changes: f240eaa5b0...10a0fef7b7

    10a0fef 2018-10-18 jie.zhang - EKF/control: remove unnecessary yaw_align update
8bbaf89 2018-10-17 Daniel Agar - EKF add new simple setIMUData() interface (#512)
e6cd6ef 2018-09-03 Paul Riseborough - EKF: Fix bug preventing  use of flow sensors without gyros
2c3a064 2018-09-18 Daniel Agar - README.md update Jenkins build status icon and url
2018-10-18 11:16:36 -04:00
Hamish Willee cb8a2b533d Add Plane VTail to image group metadata 2018-10-18 09:56:36 -04:00