Lorenz Meier
d809faec63
Fixes for Gazebo
9 years ago
Julian Oes
21bc5d1716
land_detector: remove leftover printf ( #5178 )
9 years ago
Lorenz Meier
4e81263d3a
Updated Tools/sitl_gazebo
9 years ago
Lorenz Meier
11f1a11934
Lock yaw integral if we hit a yaw limit
9 years ago
Lorenz Meier
a1c8585342
EKF2: Report zero as position until local pos is valid
9 years ago
Lorenz Meier
c835fb36a6
5611: Bump sampling frequency back up to 40 Hz from 25 Hz to help with altitude estimation
9 years ago
Julian Oes
0d80a77e46
unit_tests: move hysteresis test to new framework
9 years ago
Julian Oes
8f1d350d3c
unit_test: add ut_assert_true and ut_assert_false
9 years ago
Julian Oes
6bf4bd5f35
land_detector: remove unused variable
9 years ago
Julian Oes
50cac88e5b
land_detector: big refactor, share update function
...
This is a big refactor and general cleanup of the land detector. The
main functional change is to share the hysteresis lib across all land
detectors.
9 years ago
Julian Oes
9f928308c4
land_detector: astyle
9 years ago
Julian Oes
3d0fa410a8
hysteresis: astyle
9 years ago
Julian Oes
fd6ad6565c
commander: use hysteresis lib for auto_disarm
...
Since the auto disarm hysteresis was implemented wrongly, it's now
replaced with the hysteresis library call.
9 years ago
Julian Oes
f7ad8c03b4
hysteresis: use 64bit for everything in us
9 years ago
Julian Oes
93acff8641
MulticopterLandDetector: remove always true call
...
The result from `!get_freefall_state()` was always true because
`get_freefall_state()` is already called before `get_landed_state()` is
called. Only if we're not in a freefall, we check if we are landed.
9 years ago
Julian Oes
740bfc0b32
MulticopterLandDetector: use hysteresis lib
...
The hysteresis was not properly implemented in the land detector and is
therefore replaced by the library call, both for the freefall detector
and the land detector.
9 years ago
Julian Oes
ee1669e174
hysteresis: add to systemlib CMakeLists.txt
9 years ago
Julian Oes
f365832c0b
hysteresis: we needed different hysteresis
...
Sometimes, we only need a histeresis in one direction.
9 years ago
Julian Oes
401d807261
systemlib: added library for hysteresis
...
There have been two cases where a hysteresis function wasn't working
correctly. It is therefore a good idea to abstract the hysteresis
functionality into a library.
9 years ago
Julian Oes
36299c59b4
unittests: whitespace
9 years ago
sander
788f04ea58
Remove debug info
9 years ago
sander
94fc8bda02
Fix indenting
9 years ago
sander
2bca19fc5e
Remove acceptance radius from takeoff altitude for MC
9 years ago
sander
e4f20f98cd
Implement altitude acceptance radius
9 years ago
Lorenz Meier
b5ef5cabb5
Updated src/drivers/gps/devices
9 years ago
James Goppert
5f16c97662
Added mb12xx sensor enable. ( #5164 )
9 years ago
Daniel Agar
390a7165dd
make tests ( #5163 )
...
* make tests use px4 instead of mainapp
* commander_tests ALTCTL - not rotary requires altitude
9 years ago
Julian Oes
5a262ec6bc
uorb: came across a wrong comment
9 years ago
Julian Oes
a18eabead4
navigator: whitespace
9 years ago
Daniel Agar
2de66b1a9d
FW navigation in high winds ( #5097 )
9 years ago
Beat Küng
ad2a13dcc8
cmake TAP config: add topic_listener
9 years ago
Beat Küng
0fa3bd4691
ms5611: use px4_getopt instead of getopt
...
- px4_getopt is threadsafe
- getopt does not do argument reordering (ms5611 start -T 5607 did not work)
9 years ago
David Sidrane
1b0f41e36e
Added support to MS5611 Driver for MS5607
9 years ago
Lorenz Meier
fa421a91e2
Add missing teest targets for MindPX
9 years ago
Lorenz Meier
6ab9dc0acf
Testing cleanup from Daniel Agar
9 years ago
Daniel Agar
99aa5f49fc
FW ALTCTL requires altitude
9 years ago
Daniel Agar
6aa935fed6
FW don't allow ACRO or RATTITUDE
9 years ago
Lorenz Meier
e70223c2be
Allow transition commands also in manual if no switch is used
9 years ago
Roman
1f1839d978
sensors: fixed code style
...
Signed-off-by: Roman <bapstroman@gmail.com>
9 years ago
Roman
9ece090dbe
vtol_att_control: use transition switch instead of aux1
...
Signed-off-by: Roman <bapstroman@gmail.com>
9 years ago
Roman
499d362b8b
added transition switch
9 years ago
Beat Küng
302719527a
nuttx defconfig: increase nr of file descriptors, due to mavlink shell
9 years ago
Beat Küng
e8d44da2c0
Tools: add mavlink_shell.py script to start a shell over mavlink
9 years ago
Beat Küng
2241ab9cac
mavlink: add a shell using SERIAL_CONTROL MAVLink message
9 years ago
Julian Oes
78a9472b25
px4iofirmware: astyle
9 years ago
Julian Oes
dcb7c0e4c2
px4iofirmware: correct newline
9 years ago
Julian Oes
79a1b84b09
px4iofirmware: clean up override decision
...
The override checking was scattered across two places and is now unified
in controls_tick(). The part in mixer_tick only decides which mixer (or
none) to use give the override flag.
9 years ago
Julian Oes
de76c398ca
px4io: whitespace fixes
9 years ago
Julian Oes
ec035b7268
px4iofirmware: no override in multirotor mode
...
This fixes a bug where multirotors got into override mode when the FMU
is dead/not responding.
The main bug was that the check was for FMU_OK || MANUAL_OVERRIDE_OK
in order to get further in the override checks.
Also a mixer_tick was called inside the controls_tick even though these
are called in px4io.c after each other anyway.
9 years ago
Julian Oes
57b3bbf657
px4iofirmware: don't set FMU_OK flags immediately
...
The FMU_OK flags are later checked anyway based on
system_state.fmu_data_received_time.
9 years ago