Lorenz Meier
b42c1123a2
ROMFS: Add flaps and gear mixers to all standard planes
...
It makes sense to have this for all standard planes and our default PWM outputs for MAIN are always 6 wide, so this should scale to all known HW platforms.
2017-07-08 11:50:48 +02:00
David Sidrane
6eff7deb7e
Extend the delay ensure post reset pulse delayed.
...
Given the original poster's comment that "It happens very consistently for us." I suspect the motor spin observed in https://github.com/PX4/Firmware/issues/7457 is not caused by the original issue of slow decay on the PWM pins at reset, but the post reset pulse of 3.1 Ms arriving in a window that the ESC considers it valid.
The results from testing, indicated that the if the PWM pins were clamped low for > 300 Ms, prior to reset the motors did not spin. This would delay the the post reset pulse of 3.1 Ms out by > 300 Ms.
This change delays the reset and therefore the pulse by at least 400 Ms.
2017-07-08 10:51:43 +02:00
David Sidrane
65d8b5c9cd
px4fmu-v4:Insure the discharge of the pins PWM pins on rest.
...
On resets invoked from system (not boot) insure we establish a low
output state (discharge the pins) on PWM pins before they become
inputs.
2017-07-08 10:51:43 +02:00
Jan Liphardt
38fa6dcad5
Clipping of the battery current due to Int*Float
...
Note that Type buf_adc[i].am_data = int32_t, but everything else are floats. Suggest (float)(buf_adc[i].am_data), precisely as was done a few lines later for the voltage.
2017-07-08 10:23:36 +02:00
Matthias Grob
60c760280e
mc_pos_control: fix comment typo "hight"
2017-07-07 18:25:35 +02:00
Matthias Grob
b511ccd9fe
mc_pos_control: integrate complete order and limits of velocity setpoint calculation
...
- one warn_rate_limited was missing
- vel_sp_slewrate was in the wrong order for smooth slowdown/speedup on takeoff and landing
- slow_land_gradual_velocity_limit was replaced by calls to math::gradual
- smooth takeoff speed got controllable by user input
- comments were corrected
- an additional check for the sanity of velocity setpoints was added
2017-07-07 18:25:35 +02:00
Matthias Grob
1d7f760a96
mathlib, mc_pos_control: rename functions file and add gradual linear function
2017-07-07 18:25:35 +02:00
Dennis Mannhart
1c2d54397f
mc_pos_control: move constraints to the end
2017-07-07 18:25:35 +02:00
Dennis Mannhart
2758a4a6fa
mc_pos_control: add warn_rate limit function
2017-07-07 18:25:35 +02:00
Beat Küng
c8b9f8afa8
F7 nuttx configs: increase CONFIG_STM32F7_BBSRAM_FILES to 5
2017-07-07 17:06:48 +02:00
Beat Küng
9141bf8386
replay: handle INFO_MULTIPLE & FLAG_BITS ULog messages
2017-07-07 17:06:48 +02:00
Beat Küng
c775b07b43
logger: use INFO_MULTIPLE for top & perf output
2017-07-07 17:06:48 +02:00
Beat Küng
209f220288
hardfault_log: move hardfault_store_ulog_filename to logger module
2017-07-07 17:06:48 +02:00
Beat Küng
eac657f4b3
hardfault_log: append crash log to last ULog file upon commit
...
This keeps the separate .txt around, since it's possible that the ULog file
gets corrupt during the crash.
2017-07-07 17:06:48 +02:00
Beat Küng
b515873bee
ULog: add INFO_MULTIPLE & FLAG_BITS messages
...
This requires support in the parsers, and thus the ULog file version is
increased.
As long as no data is appended, both, existing pyulog & FlightPlot, can
still read the new logs (they will output a warning).
The replay module will print an error, but still continue.
2017-07-07 17:06:48 +02:00
Beat Küng
1be089cf0c
BBSRAM: add another partition and store the last ulog path
2017-07-07 17:06:48 +02:00
Beat Küng
18ea5ec1f8
logger: add git branch name to the log
2017-07-07 17:06:48 +02:00
Lorenz Meier
91144f502f
EKF2 build fix
2017-07-07 08:29:10 +02:00
Hamish Willee
5af62c8e49
Fix up so image links work properly
2017-07-06 22:21:46 +02:00
Hamish Willee
02b1048752
Make default output file name airframes_reference.md, which is expected by our gitbooks
2017-07-06 22:21:46 +02:00
Hamish Willee
8edc70d150
Add anchors for every vehicle in airframes reference
2017-07-06 22:21:46 +02:00
Hamish Willee
7775953289
Fix up airframe URLS to point to the PX4 user guide airframe build info
2017-07-06 22:21:46 +02:00
Paul Riseborough
63cbce6bd3
ekf2: Increase RAM to remove stack space warnings
2017-07-06 22:20:48 +02:00
Paul Riseborough
ee75f0eb0e
ekf2: Use updated quaternion type def
2017-07-06 22:20:48 +02:00
Paul Riseborough
b7a5fd3147
ecl: update to latest master with bug fixes
2017-07-06 22:20:48 +02:00
Lorenz Meier
f7ba70a032
MPU6K driver: Ensure that default range is always 16g by default
2017-07-06 22:15:53 +02:00
Daniel Agar
1c7833e3b1
airspeed calibration simplify logic
2017-07-06 10:05:07 -04:00
Daniel Agar
eb067291bf
airspeed sensors apply offset separately
2017-07-06 10:05:07 -04:00
Daniel Agar
c45d369004
ms5525 use int64 for calculation
2017-07-06 10:05:07 -04:00
Daniel Agar
b66b734a74
rcS move additional sensors to rc.sensors
2017-07-06 10:05:07 -04:00
Daniel Agar
95eaac6876
bmp280 properly cleanup if failed
2017-07-06 10:05:07 -04:00
Daniel Agar
936f92fd0b
airspeed verify using filtered differential pressure
2017-07-06 10:05:07 -04:00
Daniel Agar
72969f00d7
airspeed calibration error_count is uint64_t
2017-07-06 10:05:07 -04:00
Daniel Agar
32068dcd17
px4io increase stack
2017-07-06 10:05:07 -04:00
Daniel Agar
85d7c7d165
add sdp3x_airspeed to px4fmu configs
2017-07-06 10:05:07 -04:00
Daniel Agar
73d9358b1d
meas_airspeed rename to ms4525_airspeed
2017-07-06 10:05:07 -04:00
Daniel Agar
7029be87c0
MS5525 differential pressure driver
2017-07-06 10:05:07 -04:00
James Goppert
66a890d428
Remove mode enum since not used and declare enum type.
2017-07-06 09:02:13 +02:00
James Goppert
9f20730d7e
Remove unused sdlog mode handle.
2017-07-06 09:02:13 +02:00
James Goppert
57e0051c42
Fix enum.
2017-07-06 09:02:13 +02:00
James Goppert
ac8ef5f338
Formatting.
2017-07-06 09:02:13 +02:00
James Goppert
16f46c15d3
Switch to class enum and cleanup log profiles.
2017-07-06 09:02:13 +02:00
James Goppert
034c0c702a
Remove estimator replay log profile.
2017-07-06 09:02:13 +02:00
James Goppert
82d7332f1a
Remove log profile set to thermal calibration for PX4FMU_V5.
2017-07-06 09:02:13 +02:00
Beat Küng
784cec1cae
logger: check if topic already added & if so only update the interval
2017-07-06 09:02:13 +02:00
James Goppert
15ae3a9eb7
Add estimator replay topics to default.
2017-07-06 09:02:13 +02:00
James Goppert
d10a491243
Add logging profiles to logger module.
2017-07-06 09:02:13 +02:00
Nicolae Rosia
2092770361
Integrator: fix comparison
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-07-06 08:48:44 +02:00
Lorenz Meier
9bb3ab4a71
Update SITL module
2017-07-06 07:42:17 +02:00
Lorenz Meier
72e452ba32
Add missing Iris config
2017-07-06 07:42:06 +02:00