Beat Küng
693e9ffd46
mc_att_control: remove unused include <systemlib/param/param.h>
7 years ago
Beat Küng
1e09139fcc
refactor mc_att_control: move private method declarations above private data members
7 years ago
Beat Küng
b04a3a969d
refactor mc_att_control: use ModuleParams & Param classes
7 years ago
Beat Küng
22e8204de8
refactor mc_att_control: move class initializer to member initializer
7 years ago
Beat Küng
d68d9b522b
fix mc_att_control: add missing orb_unsubscribe
7 years ago
Beat Küng
673fa75e58
mc_att_control: refactor to ModuleBase & add module documentation
7 years ago
Daniel Agar
25300a6b11
VtolLandDetector add airspeed finite check
7 years ago
Daniel Agar
fda2edb7c4
sensors only publish airspeed if finite
7 years ago
Alessandro Simovic
9d3dfb7864
libtunes: addressing comments of #9117
7 years ago
Alessandro Simovic
6e1c495268
libtunes: added TUNE_MAX_STRENGTH
7 years ago
Alessandro Simovic
80d80835a0
libtunes: fixed some type conversions and other minor changes
7 years ago
Alessandro Simovic
92b89368f1
libtunes: fixed playback of string melodies
7 years ago
Alessandro Simovic
7d9b09b5e5
libtunes: made logic in Tunes::set_control() more obvious
7 years ago
Alessandro Simovic
4e479b7f04
libtunes: renamed config_tone() to reset()
7 years ago
Alessandro Simovic
6ce839ea1e
libtunes: added tone strength as state and output to libtunes
...
Since the tune library also contains logic how tunes can be overriden,
a user of the tunes library cannot know the strength of the current tune
without replicating some logic. Easy solution is to add strength to the
output of Tunes::get_next_tune().
7 years ago
Alessandro Simovic
acdc81ea0a
libtunes: cleanup / docs
7 years ago
Alessandro Simovic
d455c1e7e1
libtunes: Repeating tunes can be interrupted without override
...
Otherwise the only way of interrupting a repeated tune would be with the override flag, which should only be used rarely.
Now repeating tunes have lowest priority, followed by one-shot tunes, followed by anything with an override flag.
7 years ago
Alessandro Simovic
34836a2b21
libtunes: allow custom tune (id 0) to be used to stop playback.
...
Override flag must still be set to true!
7 years ago
Alessandro Simovic
2cf93df918
libtunes: _repeat was uninitialized. Defaulting to false now.
...
Bugfix: This fixes a bug where libtunes might indicate that there are more tones to play even after the last note of a tune.
7 years ago
Alessandro Simovic
f47443f283
libtunes: (bugfix) sending a custom msg tune overrides everything
...
Custom msg tune can override any tune playing, regardless of the tune_override flag.
7 years ago
Matthias Grob
2acd431fcb
mc_att_control: revert to tested cutoff frequency
...
Revert the disabled d term filter which needs to be enabled
after reducing IMU filtering and was probably unintentionally
during a rebase.
7 years ago
Daniel Agar
19a4f0988c
gyrosim fix transfer hardcoded buffer index
...
- fixes coverity CID 196758
7 years ago
Daniel Agar
a48e3bf68d
sensors fix uninitialized diffferential_pressure message
...
- fixes coverity CID 260383
7 years ago
Daniel Agar
fc829b8519
pwm_out_sim PWM_SERVO_SET_MIN_PWM fix index check
...
- fixes coverity CID 264261
7 years ago
Daniel Agar
8c43408a92
pwm_out_sim PWM_SERVO_SET_MAX_PWM fix index check
...
- fixes coverity CID 264263
7 years ago
Daniel Agar
0ef5d892a1
navigator precland initialize all fields
...
- fixes coverity CID 264259
7 years ago
stmoon
ed261c76da
add timestamp for sensor_preflight
7 years ago
Alexandr Kondratev
be52dcf5e3
BMP280 improve external device flag parameter naming ( #8806 )
7 years ago
Daniel Agar
d2712dcb05
mc_pos_control move to matrix lib ( #9141 )
7 years ago
Roman
cc26c34691
airspeed driver: un-advertise differential pressure topic
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
bresch
81a80e0d56
Airmode - Minor rewording
7 years ago
bresch
c9d72c0d07
PWMSim : add MC_AIRMODE support
7 years ago
bresch
7ef3ae8828
Multicopter mixer - Recompute safe roll_pitch_scale if not in air-mode
...
If not in air-mode the mixer is not able to apply positive boosting
and roll_pitch_scale is recomputed to apply symmetric - reduced - thrust.
This has the consequence to cut completely the outputs when the thrust is
set to zero.
7 years ago
Beat Küng
56ea1a82aa
linux_pwm_out: add MC_AIRMODE support
7 years ago
Beat Küng
20c7387c87
snapdragon_pwm_out: add MC_AIRMODE support
7 years ago
Beat Küng
2b6ca2cf82
uavcan_main: use parameter_update to check for param updates
...
this avoids calling param_get() on every loop iteration.
7 years ago
Beat Küng
72d22c4297
cleanup uavcan_main: replace warnx with PX4_{INFO,ERR,DEBUG}
7 years ago
Beat Küng
f21ab05f48
mixer_multirotor: fix comment thrust_gain -> thrust_scale
...
Added in 262d9c790b
.
7 years ago
Beat Küng
0d9693347f
fmu + px4io: fixes for MC_AIRMODE parameter
...
- fmu: in case of _mot_t_max==0 _airmode was not set in the mixer
- px4io: param_val is a float
7 years ago
bresch
99ce9cc2a8
Airmode - Add support for UAVCAN
7 years ago
bresch
6976232a20
Airmode - Add airmode parameter for multicopter mixer
7 years ago
bresch
851c3657d1
Multicopter mixer - Use already computed value instead of recomputing it
7 years ago
bresch
803eb9ac32
Multicopter mixer - Simplify and correct mistakes of roll-pitch motor saturation handling
7 years ago
bresch
450e7c6774
Multicopter mixer - Remove arbitraty boost gain during saturation
7 years ago
bresch
096e2ec629
Multicopter mixer - Always unsaturate high-saturated motors when possible
7 years ago
bresch
df194b1de4
Multicopter mixer - Rewrite unnecessarily complicated conditions
7 years ago
bresch
5da2842dbc
Multicopter mixer - Always unsaturate low-saturated motors when possible
7 years ago
Martin Trgina
01f5f8862a
Support of HITL simulation for Intel Aero FC ( #9132 )
...
* Adding pwm_out_sim
* pwm_out_sim driver will be by default part of Aero FC PX4 Nuttx drivers
* tap_esc is off when SYS_HITL 1
7 years ago
Daniel Agar
dffb4f23b3
Jenkins add px4fmu bloaty comparison to last successful master build ( #9142 )
7 years ago
Daniel Agar
44e3bd6c1c
navigator follow_target move to matrix lib
7 years ago