Commit Graph

22151 Commits

Author SHA1 Message Date
Mohammed Kabir
57aa41df2c sensors : decouple maximum sensor count and allow flexible maximums 2017-04-24 12:24:11 +02:00
Mohammed Kabir
f0accd39f0 sensors : add support for 4th magnetometer 2017-04-24 12:24:11 +02:00
Mohammed Kabir
74f4f72a4c commander : add support for calibrating 4 magnetometers 2017-04-24 12:24:11 +02:00
Mohammed Kabir
c8dad56300 mathlib : switch min/max to constexpr to match std::min/max 2017-04-24 12:24:11 +02:00
Mohammed Kabir
9909a373b0 commander : warn if more than 4 mags are connected 2017-04-24 12:24:11 +02:00
Lorenz Meier
6d21aac4a9 BMM150 driver: Be less strict on C++ options 2017-04-24 10:38:39 +02:00
Lorenz Meier
e054d1fff7 FMUv5: Start BMI055 in correct rotation 2017-04-24 10:38:39 +02:00
Lorenz Meier
145513ff28 BMI055: Correct boot instructions, better default to 16g 2017-04-24 10:38:39 +02:00
Lorenz Meier
3affe67c96 Enable BMI055 for FMUv5 and improve console handling 2017-04-24 10:38:39 +02:00
Lorenz Meier
53bb6c6822 ROMFS: Start ICM on all boards 2017-04-24 10:38:39 +02:00
Sergej Scheiermann
641a03510c changes on drivers according to comments from DavidS 2017-04-24 10:38:39 +02:00
Sergej Scheiermann
da31e6e0b5 bmm150 max datarate changed 2017-04-24 10:38:39 +02:00
Sergej Scheiermann
5923e66cf3 bmp285 support added 2017-04-24 10:38:39 +02:00
Sergej Scheiermann
c3711efd27 initial commit of bmm150 2017-04-24 10:38:39 +02:00
Sergej Scheiermann
c5e841256a changes added for SPI CS defines as requested for BMI055 driver integration (e.g. GPIO_SPI1_CS_PORTE_PIN15 for bmi055 gyro) to avoid double declaration of same chip select pin 2017-04-24 10:38:39 +02:00
Sergej Scheiermann
dad5224206 bmi055 added to start-up script 2017-04-24 10:38:39 +02:00
Sergej Scheiermann
7dcdc57412 Update px4fmu_spi.c 2017-04-24 10:38:39 +02:00
Sergej Scheiermann
e55516c4b7 Update bmi055_main.cpp
format check
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
cfed8ee2dd bmi055 initial integration 2017-04-24 10:38:39 +02:00
Beat Küng
061bff14c8 rpi startup configs: set logger buffer size to 200
Avoid dropouts, we have enough RAM there.
2017-04-24 10:12:23 +02:00
Daniel Agar
ea2a611f0b posix-configs replace sdlog2 with logger 2017-04-24 10:12:23 +02:00
Lorenz Meier
de7fef8dd6 Crazyflie: Switch to logger 2017-04-24 10:12:23 +02:00
Lorenz Meier
17c022b73e Aerocore 2: Switch to logger 2017-04-24 10:12:23 +02:00
Lorenz Meier
4d8b5e60c3 System: Set new logger system as the default
This will upgrade systems to the new .ulog format used by http://logs.px4.io and supported by Flight Plot
2017-04-24 10:12:23 +02:00
Mohamed Abdelkader Zahana
da8724accb removing pwm_start block; not needed in i2c 2017-04-23 23:29:10 +02:00
Mohamed Abdelkader Zahana
60e0ca9321 add both options (pwm/i2c) for lidar lite 2017-04-23 23:29:10 +02:00
Mohamed Abdelkader Zahana
9911a55393 use i2c for lidar lite 2017-04-23 23:29:10 +02:00
Lorenz Meier
c60ad883a4 Update SITL 2017-04-23 19:24:40 +02:00
Lorenz Meier
21f409366a MAVLink app: Warn sender if a command has been rejected 2017-04-23 19:23:09 +02:00
Lorenz Meier
1766f65f02 Update Gazebo SITL 2017-04-23 15:24:41 +02:00
Lorenz Meier
f7469581b9 VMount: Fix interface spec with respect to MAVLink / vehicle command interface 2017-04-23 15:19:41 +02:00
Lorenz Meier
3d65fcc875 Mount mixer: Fix channel output order 2017-04-23 15:19:08 +02:00
Andreas Antener
00efbffea9 UAVCAN: disable ESCs when in VTOL fixed-wing 2017-04-23 14:59:24 +02:00
Daniel Agar
1fd343b5cc navigator remove FW and MC cruise parameters 2017-04-23 14:50:21 +02:00
Sander Smeets
0106840b87 Allow inflight updates of cruise throttle during missions 2017-04-23 14:50:21 +02:00
Michael Schaeuble
21de5bbc39 Acknowledge vehicle commands in UAVCAN server 2017-04-23 14:49:24 +02:00
Daniel Agar
293eca7d16 Makefile add px4_metadata for airframes and parameters 2017-04-22 21:31:05 -04:00
Daniel Agar
93d4f487ef travis-ci update to latest docker 2017-04-22 21:31:05 -04:00
Daniel Agar
f8e291dab1 mavlink VFR_HUD throttle use first 2 groups (#7106)
- fixes #6974
2017-04-22 16:08:27 -04:00
Julian Oes
e9aef2eb95 px_uploader.py: properly loop through all baudrates
In case when the baudrate change failed, we should still try that
baudrate again in the next iteration.
2017-04-22 08:00:51 +02:00
Julian Oes
2467297acf px_uploader.py: fix exception on baudrate change
This prevents an exception happening inside the serial stack.
2017-04-22 08:00:51 +02:00
David Sidrane
0754e8f8bc Bugfix:hrt is used before it is initalized.
sched_note_{suspend|resume} were calling hrt_absolute_time before
   it hrt_init is called. This can lead to register access before
   clocking is enabled. The result is a hardfault.
2017-04-22 07:57:37 +02:00
Sander Smeets
6c6cfd4f65 DeltaQuad updated params 2017-04-21 18:13:35 +02:00
Phillip Khandeliants
5012dffeae Potentially infinite and deleted loops found by PVS-Studio (#7100)
- Fixed V712
 - The compiler can optimize this code by creating an infinite loop, or simply deleting it.
 - There is need to add a volatile qualifier to the '_ExitFlag' and 'sim_delay' variables.
2017-04-21 11:13:06 -04:00
Sander Smeets
545458a687 Consider FW PSP in pitch limits (#7098)
The FW_PSP_OFF parameter no longer breaches the pitch min/max limits
2017-04-21 13:34:43 +02:00
Paul Riseborough
1843061376 Tools/ecl_ekf: Improvements to ecl log analysis scripts
Fix error in scaling of population high frequency vibration metrics
Add histograms for delta angle and velocity bias data
Fix variable descriptions
2017-04-21 08:34:19 +02:00
Paul Riseborough
2a34bde0e9 Tools/ecl_ekf: Update EKF log analysis
Add assessment of IMU bias and mag field estimation
Reduce warning false positives by adjusting thresholds and eliminating use of peak value plots for output observer monitoring
Clear each figure after saving to reduce memory usage
2017-04-21 08:34:19 +02:00
Paul Riseborough
ed9a9b772e ekf2: minimum change required to use updated ecl library 2017-04-21 08:34:19 +02:00
Paul Riseborough
dad2419b21 ecl: Update EKF version
Miscellaneous bug fixes and improvements including:

More conservative reporting of velocity and position accuracy when aiding is lost
Separate reporting of accuracy for local and global position
Detection and recovery from badly conditioned accel bias states and covariance values
Logic to prevent high manoeuvre levels causing bad acceleration bias learning
Reduce sensitivity of covariance prediction to timing jitter
Continue reporting of GPS quality until the later of airborne or checks pass
Add ability to perform wind estimation for multi-rotors using a specific force drag model
2017-04-21 08:34:19 +02:00
David Sidrane
2a8eaa66ca Revist:Back out fix for secondary issue
Ultimate we want this changes that is being backed out herein.
 But it is breaking things because it returns the EINVAL
 when there is a rate overlap. So the rest of the pwm ioctl
 calls then fail and do not set the pulse widths on arming.

 As a secondary issue. We sould call up_pwm_servo_init() to
 establish the PWM channel allocation early. This then allows
 FMU::set_pwm_rate to properly check for improper rate request
 not isolate to one group (timer).
2017-04-21 08:32:33 +02:00