Commit Graph

30895 Commits

Author SHA1 Message Date
Beat Küng e003b1ce79 mavlink: remove unused get_uart_fd(unsigned index) method 2019-12-06 01:00:06 -05:00
Timothy Scott 993fa5bd37 Refactored to work with new battery_status module 2019-12-05 16:38:04 +01:00
Timothy Scott d7bb5d46bb Created new AnalogBattery class 2019-12-05 16:38:04 +01:00
Timothy Scott bff1df7080 Refactored battery library for multiple instances 2019-12-05 16:38:04 +01:00
kamilritz d7b95870b9 Update to merged ECL commit 2019-12-05 11:29:29 +01:00
kamilritz 24efc1b79c Set not yet supported estimator_innovations fields to zero 2019-12-05 11:29:29 +01:00
kamilritz 5d0965e83a Log height innovation sensor specific 2019-12-05 11:29:29 +01:00
kamilritz 61b569245b Reorder innovations in LPE 2019-12-05 11:29:29 +01:00
kamilritz b73c80428e ECL: Clean velPos logging, deprecate ekf2_innovations msg 2019-12-05 11:29:29 +01:00
Daniel Agar 22e4e85eeb collision_prevention: don't unadvertise mavlink_log in destructor 2019-12-05 07:04:50 +01:00
mcsauder bd98a4eebb Add camera_capture module build to raspberry pi cross.cmake. 2019-12-04 00:48:52 -05:00
Daniel Agar 5af8286739 Jenkins hardware board cleanup/reset at end of test 2019-12-04 00:43:44 -05:00
Daniel Agar 709961ec8c InvenSense ICM20602 and ICM20608-G: new standalone optimized drivers
- uses the FIFO and SPI DMA to transfer full raw data (8 kHz gyro, 4 kHz accel)
 - new sensor messages for better visibility
   - sensor_{accel, gyro}_fifo: full raw data for optional logging and analysis
   - sensor_{accel, gyro}_status: metadata, clipping, etc
 - currently not enabled by default
2019-12-03 23:21:32 -05:00
David Sidrane 2badea316f systemcmds/serial_test: linux-serial-test ported to run on nuttx (#13662) 2019-12-03 20:51:17 -05:00
Daniel Agar 4a75840b33 Jenkins temporarily disable fmu-v5x (obsolete prototype on test rack) 2019-12-03 17:43:55 -05:00
David Sidrane feaa657172 px4_fmu-v5x:SE050 Assert Reset on board_init, and release in appinit 2019-12-03 16:16:49 -05:00
David Sidrane 949ab563ef px4_fmu-v5x:Drop netinit task priority below LP work 2019-12-03 16:16:49 -05:00
David Sidrane c9cb59fdd8 px4_fmu-v5x:Init Network in background (no monitor CONFIG_NETINIT_MONITOR is not set) 2019-12-03 16:16:49 -05:00
dino 34f53c14bf Fixed sensor orientation 2019-12-03 16:16:49 -05:00
dino 0dbd6d70d5 Fixed gyro com errors. Error check was triggering if board was not moved 2019-12-03 16:16:49 -05:00
David Sidrane 213174fc74 px4_fmu-v5x:Set IP 192.168.0.123 GW:192.168.0.254 2019-12-03 16:16:49 -05:00
David Sidrane ea69fde02a px4_fmu-v5x:Add SPI6_nRESET_EXTERNAL1 2019-12-03 16:16:49 -05:00
David Sidrane 3b88142744 px4_fmu-v5x:rc.board_sensors Add Second BMP388 2019-12-03 16:16:49 -05:00
David Sidrane 996ee49868 fmu-v5x:SPI4 is not used BMM150 moved to I2C4 2019-12-03 16:16:49 -05:00
David Sidrane 0399d689ce px4_fmu-v5x:Start MS5611 on Base I2C3 2019-12-03 16:16:49 -05:00
David Sidrane cada41f027 WorkQueueManager:Fix low stack warning introduced by stism330 2019-12-03 16:16:49 -05:00
David Sidrane 31456419e9 px4_fmu-v5x:Add 4096 for ism330dlc to BOARD_DMA_ALLOC_POOL_SIZE
ISM330DLC uses 4096 of memory allocated from DMA pool.
   This depleted the pool to the point the next allocation
   for FAT would fail. Unfortuanly this is the logger
   on a later open.
2019-12-03 16:16:49 -05:00
Daniel Agar 1a395fb6d9 ST ISM330DLC IMU driver 2019-12-03 16:16:49 -05:00
David Sidrane eb560e8a0f fmu-v5x:Properly reset SPI 2019-12-03 16:16:49 -05:00
David Sidrane 14b592d0c6 px4fmuv5x:Add Sync pin to board config 2019-12-03 16:16:49 -05:00
Beat Küng e2a2654628 level calibration: speedup & check for motion
- instead of resetting existing calibration on start and having to wait
  until the estimator converges, keep existing calibration applied and
  subtract it.
- reduce calibration time from 5s to 500ms, and check for motion during
  that time.
- repeat if there was motion
- fix an uorb resource leak
2019-12-03 13:58:38 -05:00
Beat Küng b4eaa6696e refactor accelerometer_calibration: using namespace matrix 2019-12-03 13:58:38 -05:00
RomanBapst 634e8d206a tiltrotor SITL config: increase transition time from 1.5 to 5 seconds
- avoids tilting the motors forward too fast

Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-12-03 13:57:58 +03:00
SalimTerryLi 2ec1c53679 Add upload command support for Raspberry Pi build. 2019-12-03 08:03:27 +01:00
Daniel Agar 9b66cbd2d9 Infineon DPS310 Barometer
- used as the primary barometer on the mRo Control Zero F7
2019-12-02 00:51:01 -05:00
Daniel Agar fd72e5e795 mRo ctrl zero updates
- add ICM20602 and ICM20648 data ready interrupts
 - enable Bosch BMI088 IMU
 - move HRT_TIMER to TIM3 (same timer as PPM channel)
2019-12-01 17:43:15 -05:00
Daniel Agar a859a6b57c VSCode SITL debug improvements
- added gazebo VTOL tailsitter debug target
 - improved jmavsim debug target and helper tasks to work properly (build and launch directly instead of through the jmavsim_run.sh script)
 - improved output console handling for helper tasks (eg gazebo and jmavsim build and run, followed by cleanup after debug)
 - added miniterm.py as a task
2019-12-01 15:47:29 -05:00
Daniel Agar 4e7dedede7 bloaty show full demangle, increase number of lines, and combine segments + sections 2019-11-30 23:24:26 -05:00
Daniel Agar 6d8d9ea513 navio_sysfs_rc_in minor initialization cleanup 2019-11-30 22:55:53 -05:00
Daniel Agar 97c6a28a70 replace unnecessary perf_alloc_once usage 2019-11-30 21:17:15 -05:00
Daniel Agar cceec434f2 Revert "linux_pwm_out update orb usage"
This reverts commit 25acd40ef0.
2019-11-30 21:16:49 -05:00
PX4 BuildBot 5e95820e14 Update submodule nuttx to latest Sun Dec 1 00:38:57 UTC 2019
- nuttx in PX4/Firmware (22a005c9f4): https://github.com/PX4/NuttX/commit/2d7920055f96f5734d5166e2c58daa16c6dff2f5
    - nuttx current upstream: https://github.com/PX4/NuttX/commit/398a59aaa4df2b32af2fdc1e3dd566f88d7eea38
    - Changes: https://github.com/PX4/NuttX/compare/2d7920055f96f5734d5166e2c58daa16c6dff2f5...398a59aaa4df2b32af2fdc1e3dd566f88d7eea38

    398a59aaa4 2019-11-29 David Sidrane - [BACKPORT] stm32f7:ethernet: Add some delays so that ifup() does not hog the CPU.
2019-11-30 21:16:33 -05:00
Daniel Agar dc06e644d8 simulator: fix distance_sensor ORB_ID() 2019-11-30 20:17:17 -05:00
Daniel Agar 22a005c9f4 delete module's redundant print_status()
- we can already get the running status from ModuleBase and the other misc information is already available through perf or uORB
2019-11-30 18:22:19 -05:00
PX4 BuildBot db904839c3 Update submodule matrix to latest Sat Nov 30 21:21:29 UTC 2019
- matrix in PX4/Firmware (572fb4751b6e01512ec358b00aa795b234179d85): https://github.com/PX4/Matrix/commit/dba84236cb55cf30a8730f77c71a000babf6d204
    - matrix current upstream: https://github.com/PX4/Matrix/commit/a8009a36a3668da0cbab0cb028b6997cd8179dc1
    - Changes: https://github.com/PX4/Matrix/compare/dba84236cb55cf30a8730f77c71a000babf6d204...a8009a36a3668da0cbab0cb028b6997cd8179dc1

    a8009a3 2019-11-26 Daniel Agar - Quaternion multiply inline return
2019-11-30 17:58:08 -05:00
Daniel Agar 903b6881ac Update submodule mavlink v2.0 to latest Sat Nov 30 21:21:24 UTC 2019
- mavlink v2.0 in PX4/Firmware (faae5feecc): https://github.com/mavlink/c_library_v2/commit/1d680ab4ef56ded58a3f4e4a4433faa71e822873
    - mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/75ab59ddc1660c136fdec5553f622a603558b8cd
    - Changes: https://github.com/mavlink/c_library_v2/compare/1d680ab4ef56ded58a3f4e4a4433faa71e822873...75ab59ddc1660c136fdec5553f622a603558b8cd
2019-11-30 17:55:44 -05:00
Daniel Agar faae5feecc vmount update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar c04713f4a8 simulator update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar b418f937a3 sih update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar c1c9895462 rpi_rc_in update orb usage 2019-11-30 15:52:53 -05:00