- May 22, 2019
-
-
Matthias Grob authored
-
Matthias Grob authored
- start from a velocity setpoint pushing into the ground to ramp from idle thrust up. - start with a bit higher velocity setpoint threshold to make sure the vehicle has a chance to really get off the ground. - calculate ramp slope from initialization setpoint to the desired one instead from zero to the desired. this ramps up quicker when you demand a very small upwards velocity like the AutoLineSmoothVel and ManualPositionSmoothVel tasks do at the beginning. - don't stay in the takeoff ramp depending on the land detector, this is unnecessary.
-
Matthias Grob authored
The comments and variable names were partly misleading. I grouped all members, hopefully gave them more understandable names and adjusted the comments.
-
Matthias Grob authored
There were two rather confusing function calls one to check if smooth takeoff needs to be ran and one that updates it. I combined them and documented the interface correctly making the parameters non-reference const floats.
-
- May 20, 2019
-
-
Daniel Agar authored
-
Daniel Agar authored
-
Julian Oes authored
This tries to make the visibility.h header clearer and better structured. We don't actually need the ifdef for lockstep enabled or disabled because that's now handled elsewhere.
-
Julian Oes authored
-
Daniel Agar authored
-
- May 17, 2019
-
-
David Sidrane authored
-
bresch authored
-
Mathieu Bresciani authored
Co-Authored-By:
Matthias Grob <maetugr@gmail.com>
-
bresch authored
Add jerk parameter for auto mode MPC_JERK_AUTO. Specify when a parameter is only used in a certain manual or auto mode
-
Beat Küng authored
timeout is an int, so it wraps when the poll timeout is >2147ms. This happened in logger, resulting in poll never returning.
-
- May 16, 2019
-
-
Julian Oes authored
For now we need to ignore this warning which GCC 9 shows for the MAVLink headers.
-
Julian Oes authored
GCC 9 complained about stringop-truncation which is a cautionary message to prevent using strncpy with non-null terminated strings. We can fix this by copying one byte less than the destination size and then manually adding the null termination, as we already do.
-
- May 11, 2019
-
-
Oleg Kalachev authored
-
Bart Slinger authored
-
- May 09, 2019
-
-
Matthias Grob authored
-
Matthias Grob authored
-
Matthias Grob authored
visibility.h is included globally in PX4 via cmake compile flags. It contains poisoning the exit() command which is used by gtest to close the test application. Removing the flag for gtest compilation fixes the compile error: gtest.cc:4757:7: error: attempt to use poisoned "exit"
-
Matthias Grob authored
-
Matthias Grob authored
-
- May 08, 2019
-
-
Roman Bapst authored
* VTOL trans: changed that now in transition for both MC and FW the corresponding (correct) attitude controller is running * attitude setpoint for stabilized mode is generated by tailsitter.cpp * reset yaw setpoint during transition to avoid big yaw errors after transition back to hover * VT_TYPE parameter: added "reboot required" metadata
-
Daniel Agar authored
- ecl in PX4/Firmware (fa1fbed24633aef7985a128ebd4d19a7f6a4d108): https://github.com/PX4/ecl/commit/c4492b17c1d7bb9b74011efa9890452b091421e8 - ecl current upstream: https://github.com/PX4/ecl/commit/a27a43eafa8f4dd514e89984f5394260a36ea4f6 - Changes: https://github.com/PX4/ecl/compare/c4492b17c1d7bb9b74011efa9890452b091421e8...a27a43eafa8f4dd514e89984f5394260a36ea4f6 a27a43e 2019-05-01 Hamish Willee - Fix up link to EKF docs 3f69189 2019-04-04 Mohammed Kabir - EKF: control: stop vision yaw fusion on timeout
-
Beat Küng authored
Commander initially publishes a tune_control topic set to 0, which can interfere with the startup tone (as happening on the Pixhawk Cube).
-
Matthias Grob authored
To be able to still infer the direction of the thrust vector we limit it to a minimal length even if MPC_THR_MIN is set to zero. Note: This is a hotfix for certain specific applications. The direction of the thrust vector in this corner case is very likely to get into the tilt limit which is generally undesired.
-
斯东Stone authored
-
- May 07, 2019
-
-
bresch authored
-
bresch authored
A low gyro cutoff is needed for most medium/large size drones as the structural natural and blade-pass frequencies are low. A higher value is still desirable for small platforms surch as racers or well isolated autopilots and should be tuned by the user. Specific values for config files are untouched. The cutoff filter for the D term is disabled here as the required cutoff frequency for the default D term of the rate controller is higher than the gyro cutoff. In that case, enabling the D term cutoff would just add some undesired phase lag to the derivative.
-
- May 06, 2019
-
-
Daniel Agar authored
-
Julian Oes authored
It looks like the atomic builtins are not available using QuRT and the Hexagon toolchain, so our best bet is to use `volatile` for the atomics.
-
- May 05, 2019
-
-
Oleg Kalachev authored
-
- May 02, 2019
-
-
bresch authored
-
Beat Küng authored
This fixes a potential dead-lock when 'uorb status' was used via MAVLink shell. The dead-lock chain is: DeviceMaster::lock() -> printf -> output to a pipe, which blocks until a reader reads the data. In that case it's mavlink. If mavlink makes a call that requires DeviceMaster::lock() (such as orb_exists), it dead-locks. This patch moves all printf's out of the locked state.
-
- May 01, 2019
-
-
Matthias Grob authored
-
- Apr 30, 2019
-
-
Matthias Grob authored
-
Roman authored
- when either terrain data was temporarily not valid (flying at high distance to the ground) or the vehicle was not close to the ground (_param_ekf2_gnd_max_hgt) the ekf switched to using the land detector ground effect flag. Signed-off-by:
Roman <bapstroman@gmail.com>
-
Daniel Agar authored
-
Roman authored
- takeoff help is used for fixed wings, it increases the altitude setpoint after a launch. A vtol does not need this as it's already sufficiently high up in the air. Signed-off-by:
Roman <bapstroman@gmail.com>
-