Roman
5d87eed41c
esc_calibration: use hrt_elapsed_time instead of manually calculating the diff
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-03 07:05:38 +00:00
Roman
73577df994
esc_calibration: use batter status connected flag instead of checking voltage
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-03 07:05:38 +00:00
Roman
beb8c3e152
esc_calibration: use predefined literals
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-03 07:05:38 +00:00
Roman
8b629454de
esc_calibration: increase safety and initialise all data
...
- do not do calibration if not very sure that battery is not connected
- initialise all structs and variables
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-03 07:05:38 +00:00
Roman
e1117d175b
ROMFS: updated deltaquad autoconfig params
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-03 08:53:30 +02:00
Hamish Willee
4a45d79f52
Delete STM32F4Discovery support/link
2018-07-03 07:21:46 +02:00
Lorenz Meier
c8ce120c92
PX4 Flow: modernize output and replace warnx() with PX4_INFO/WARN
2018-07-02 21:44:29 +00:00
Hamish Willee
7402d8223b
Fix up references to pixhawk.org
2018-07-02 13:11:15 +02:00
Roman
863cd52714
ROMFS: fixed some naming inconsistencies for the HITL VTOL model
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-02 13:09:35 +02:00
Roman
220068acb6
ROMFS: use more appropriate autostart ID for standard vtol hitl
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-02 13:09:35 +02:00
Roman
d70e90f174
ROMFS: remove unnecessary params from hitl vtol config
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-02 13:09:35 +02:00
Roman
b37ff23708
ROMFS: indicate that the hitl vtol config is for the gazebo standard vtol model
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-02 13:09:35 +02:00
Roman
1dea998be5
ROMFS: clean up quad x tailsitter mixer files
...
- use mixer for the simulation to the sitl mixer dir
- do not use virtual elevator in the mixer for the real vehicle
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-02 13:09:35 +02:00
Roman
484a939779
added MAV_TYPE to standard vtol hitl config
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-02 13:09:35 +02:00
Roman
9546daadea
ROMFS: added autostart and mixer file for standard vtol in hitl
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-02 13:09:35 +02:00
Daniel Agar
fb3e3b1cad
uORB::DeviceNode initialize _publisher
2018-07-01 16:30:31 -04:00
Daniel Agar
8599495082
uORB add ORB_COMMUNICATOR define to enable remote uORB
2018-07-01 16:03:03 +00:00
Philipp Oettershagen
6579b7254a
Change TECS max sink rate minimum value, because very fragile aircraft might not be able to sustain higher max sink rates
2018-07-01 10:42:27 -04:00
Philipp Oettershagen
a76c4c55d4
Decrease default flare altitude. The previous value was way too high for any small aircraft. It was also unsafe because after the flar, pitch is currently controlled open-loop, which means that stall can potentially happen during the flare
2018-07-01 10:42:27 -04:00
Philipp Oettershagen
8f09a20478
Update TECS integrator gain parameter description to represent the changes in https://github.com/PX4/ecl/commit/ccfba4997147658d8340f7efa351c19299120704
2018-07-01 10:42:27 -04:00
Daniel Agar
9ce83f2208
fix all sign-compare warnings
2018-07-01 09:36:55 +00:00
Daniel Agar
cf74166801
double promotion warning fix or ignore per module
2018-07-01 09:36:55 +00:00
Daniel Agar
11d348ec4f
microbench split into hrt, math, matrix, uorb
2018-07-01 09:25:22 +00:00
Daniel Agar
ea0a80d4d1
microbench add uorb and matrix test
2018-07-01 09:25:22 +00:00
Daniel Agar
3ba97297d5
tests simple timing microbenchmark
2018-07-01 09:25:22 +00:00
Daniel Agar
02d4405a62
c++11 default destructors
2018-06-30 19:55:08 -04:00
Daniel Agar
c39ac93ca8
device integrator cleanup initialization
2018-06-30 19:55:08 -04:00
Daniel Agar
33a71c929d
Update submodule mavlink v2.0 to latest Fri Jun 29 21:33:36 EDT 2018 ( #9814 )
...
- mavlink v2.0 in PX4/Firmware (16d67ed179 ): https://github.com/mavlink/c_library_v2/commit/f5c0ba684659fbc6c6c5f8777bd30e0b3c32fdef
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/e550f4124bc331848aad3d691b27ec941a94c1e5
- Changes: https://github.com/mavlink/c_library_v2/compare/f5c0ba684659fbc6c6c5f8777bd30e0b3c32fdef...e550f4124bc331848aad3d691b27ec941a94c1e5
e550f41 2018-06-29 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/9e9398d5d1d8d1eab689086b73b1258b595969bb
4fae56b 2018-06-27 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/174fc3aad7ce26be66979051261bfd1e5e2dde1e
2018-06-30 19:47:00 -04:00
Daniel Agar
aaaf67f9c3
cmake don't automatically enable ccache if already enabled
2018-06-30 19:59:00 +00:00
Daniel Agar
73f825e4b3
cmake toolchain enable double fpu for cortex-m7
2018-06-30 19:57:51 +00:00
Giovanni Carbone
16d67ed179
frsky_telemetry improved com port init ( fix #9783 ), minor refactor ( #9798 )
...
* frsky_telemetry added support for hw flow control com port and minor improvements
* DTYPE tested OK. Return 0 for unix compatibility, whitespace removed. Full test start - status- stop - start -status OK
2018-06-29 21:41:53 +00:00
acfloria
17df184953
Fix sending first High Latency message
2018-06-29 16:49:30 +00:00
acfloria
ca1f7a4a19
Reenable the MissionManager for the Iridium mavlink instance
...
The MissionManager handles the MAVLINK_MSG_ID_MISSION_SET_CURRENT command which should also be supported for SatCom.
2018-06-29 16:49:30 +00:00
acfloria
8825bbed29
Increase the stack size for the IridiumSBD driver
2018-06-29 16:49:30 +00:00
Paul Riseborough
a04468ba9f
ekf2: Fix EKF preflight check fail false positives
...
Uses a relaxed yaw innovation check threshold for fixed wing vehicle that can recover from larger yaw errors after takeoff.
Replaces the peak hold with decay filtering applied to the magnetic yaw innovations with a conventional lowpass filter. This prevents mag heading innovation transients caused by preflight handling from failing the check, but catches persistent errors. Sign swapping of innovations due to angle wrapping is not a problem due to the way that innovations are calculated inside the EKF, so a simple LPF sufficient.
2018-06-29 16:36:38 +00:00
Julian Oes
6ff9fd2209
calibration: remove warning message
...
The calibration warning was only used in the ESC calibration and in all
cases it actually meant that the calibration failed. In order to keep
the API as small as possible, I've deprecated the warning string and
converted the warning messages to failed messages.
2018-06-29 16:07:32 +00:00
Florian Achermann
02116c0a80
mavlink: Indicate if the instance did not start correctly ( #9744 )
2018-06-29 10:11:27 -04:00
Thomas Stastny
8551d2eb9d
mission feasibility: add small tolerance to fw landing slope alt
2018-06-29 12:10:53 +00:00
Julian Oes
193993c54f
px_uploader: fix typo and Python 3 issue
2018-06-29 08:46:45 +00:00
Julian Oes
b0ec64efe8
px_uploader: fixed a couple small PEP8 warnings
2018-06-29 08:46:45 +00:00
Julian Oes
48edf9b65e
px_uploader: remove commented out line
2018-06-29 08:46:45 +00:00
Mark Sauder
d3c169b1e0
Fix whitespaces in PreflightCheck.cpp, tilt_quad.aux.mix, and tilt_quad.main.mix
2018-06-28 20:20:32 -04:00
Julian Oes
4e43cc3518
px_uploader.py fix flashing issue ( #9792 )
...
This fixes a problem where the pyserial write call gets stuck.
It happens on a specific Fedora 28 system with internal USB ports as
well as USB hubs.
It is not clear why the problem is resolved but it is clearly
reproducible that with a timeout of 0, the write can get stuck and with
a timeout > 0 it works every time.
The exception added as part of this commit makes sense but has never
been triggered in my testing.
2018-06-28 20:18:22 -04:00
Daniel Agar
96f47d4772
EKF2 add perf counters ( #9795 )
2018-06-28 17:28:03 -04:00
Daniel Agar
7efdec1469
cmake nuttx skip upload helper without cdcacm
2018-06-28 19:35:36 +00:00
Daniel Agar
ed95dced0f
cmake nuttx upload use vendor and product string
2018-06-28 19:35:36 +00:00
Daniel Agar
e78b9a063f
px_uploader cleanup status messages and print used percentage
2018-06-28 19:35:36 +00:00
MaEtUgR
6a06417096
rpi_rc_in: replace chinese comments with english ones
2018-06-28 15:33:24 +02:00
PX4 Jenkins
dee5635f79
Update submodule sitl_gazebo to latest Wed Jun 27 21:26:29 EDT 2018
...
- sitl_gazebo in PX4/Firmware (18abeb1118 ): https://github.com/PX4/sitl_gazebo/commit/3c7d18d0a52657106a3a7190c54006ed6b442071
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/fcee53fc4c6ef734204fd74eeed2db5b767027ad
- Changes: https://github.com/PX4/sitl_gazebo/compare/3c7d18d0a52657106a3a7190c54006ed6b442071...fcee53fc4c6ef734204fd74eeed2db5b767027ad
fcee53f 2018-06-22 TSC21 - vision: by default, do not send ODOMETRY Mavlink msgs
2018-06-28 07:11:10 +00:00
PX4 Jenkins
18abeb1118
PX4-NuttX/nuttx branch test: px4_firmware_nuttx-7.22+
...
NuttX:
- https://github.com/PX4-NuttX/nuttx/tree/px4_firmware_nuttx-7.22+
- https://github.com/PX4-NuttX/nuttx/commit/d5c12b24fa5349791220ce44a46b96f345ec77c1
Changes from PX4-NuttX/nuttx (https://github.com/PX4-NuttX/nuttx/commit/f57752b6f16f54bd50188024475657c6a7a1604c ) in current PX4/master (bb8e653469 )
https://github.com/PX4-NuttX/nuttx/compare/f57752b6f16f54bd50188024475657c6a7a1604c...d5c12b24fa5349791220ce44a46b96f345ec77c1
d5c12b2 (HEAD, origin/px4_firmware_nuttx-7.22+, origin/HEAD, px4_firmware_nuttx-7.22+) [BACKPORT] stm32f7:I2C reset Configure I2C pins as GPIO output
Apps:
- https://github.com/PX4-NuttX/apps/tree/px4_firmware_nuttx-7.22+
- https://github.com/PX4-NuttX/apps/commit/36806ba3d84c0fa07ed86857d4c92a997b7cd194
Changes from PX4-NuttX/apps (https://github.com/PX4-NuttX/apps/commit/36806ba3d84c0fa07ed86857d4c92a997b7cd194 ) in current PX4/master (bb8e653469 )
https://github.com/PX4-NuttX/apps/compare/36806ba3d84c0fa07ed86857d4c92a997b7cd194...36806ba3d84c0fa07ed86857d4c92a997b7cd194
2018-06-27 20:21:02 -04:00