Martina
2ec5ea48a3
tunes: for custom tunes set silence from tune control message and set
...
silence to 0 when the end of the string is reached
2018-01-29 09:45:59 -05:00
Martina
9611641bb7
tune_control: add silence to tune_control message
2018-01-29 09:45:59 -05:00
Martina
d5b2ba276b
tunes: change tune update interval to 100000 us
2018-01-29 09:45:59 -05:00
Martina
d10372c6b5
tunes: change config_tone definition and add pointer to the beginning
...
of the tune to repeat it
2018-01-29 09:45:59 -05:00
Martina
1988141c6d
tunes: add pointer to the beginning of a tune to allow tune replay
2018-01-29 09:45:59 -05:00
Simone Guscetti
a4659b1228
mkblctrl: Repalce old tune interface with the new one
...
untested on real hardware
2018-01-29 09:45:59 -05:00
Simone Guscetti
08490b0182
commander_helper: Modify to use the tunes library
2018-01-29 09:45:59 -05:00
Simone Guscetti
26d2e69ecf
libtunes: Add maximum update interval
2018-01-29 09:45:59 -05:00
Simone Guscetti
8054bbb985
tone_alarm: Adapt tone_alarm driver to use libtunes
2018-01-29 09:45:59 -05:00
Simone Guscetti
f63be6b055
libtunes: If default tune does not exist
...
return -EINVAL
2018-01-29 09:45:59 -05:00
Simone Guscetti
915f728145
libtunes: Separate the default tunes from tunes.cpp
2018-01-29 09:45:59 -05:00
Simone Guscetti
6e712876a4
tune_control: Add checks for the strength
2018-01-29 09:45:59 -05:00
Simone Guscetti
591f9a8a38
libtunes: Handle notification tunes as high priority
2018-01-29 09:45:59 -05:00
Simone Guscetti
3f123acd7e
libtunes: handle tune override
2018-01-29 09:45:59 -05:00
Simone Guscetti
6c8b16391e
libtunes: complete API doc, minor changes
2018-01-29 09:45:59 -05:00
Simone Guscetti
61b3827962
tune_control: Modify tune_control to use new lib functions
2018-01-29 09:45:59 -05:00
Simone Guscetti
b84a97c6d5
libtunes: Changed to a set_control/string and a get_next_tune functions
...
Now it is possible to set a string and a control.
The get_next_tune function use the same return values as the erliaer
implemented parse_cmd and parse_string functions.
2018-01-29 09:45:59 -05:00
Simone Guscetti
5214642bc3
tunes lib: Minor changes
2018-01-29 09:45:59 -05:00
Simone Guscetti
546a92af1e
tune_control: add usage and strength option
2018-01-29 09:45:59 -05:00
Simone Guscetti
9c2480e534
tune_control: clean up
2018-01-29 09:45:59 -05:00
Simone Guscetti
e9ea7ab698
lib tunes: clean up
2018-01-29 09:45:59 -05:00
Simone Guscetti
dcfd2f1579
tune_control: add max iteration count for the string and lib test calls
2018-01-29 09:45:59 -05:00
Simone Guscetti
f7aad844a3
tune control: added the possibility to set tunes with a string
...
minor changes
2018-01-29 09:45:59 -05:00
Simone Guscetti
1714deeb94
system cmd: add first iteration of the new CLI interface for tune control
2018-01-29 09:45:59 -05:00
Simone Guscetti
79ae413982
lib tunes: Add string input method
2018-01-29 09:45:59 -05:00
Simone Guscetti
8ce57bedb7
libtunes: create a new library for tunes
...
cmake configs: Modify to include new library
2018-01-29 09:45:59 -05:00
bresch
aca30fc612
VTOL standard - Remove pitch trim
2018-01-29 09:32:51 -05:00
bresch
920cb7a1a1
VTOL standard - Group multicopter weights in update_vtol_state()
2018-01-29 09:32:51 -05:00
bresch
d34767b871
VTOL standatd - Simplify multicopter weight in update_transition_state()
2018-01-29 09:32:51 -05:00
Daniel Agar
2bea09a997
rate controller status include rates
...
- the actual corrected rates currently used by mc_att_control are not
logged
2018-01-29 09:10:56 -05:00
Andreas Antener
98441ac100
Log rate controller integrators (FW + MC)
2018-01-29 09:10:56 -05:00
Daniel Agar
8b0ba3c34c
commander log full status flags
2018-01-28 19:28:32 +01:00
Daniel Agar
dc2d6e8aab
commander fix ignored parameters (COM_POS_FS_DELAY/COM_POS_FS_PROB) and refactor position velocity validity check ( #8765 )
2018-01-28 11:22:51 -05:00
SungTae Moon
f8f95078e8
commander status reuse arming_state_names in state_machine_helper ( #8667 )
2018-01-27 10:22:29 -05:00
ChristophTobler
92dbb16d29
tfmini: use px4_open/read and default range finder device path
...
this is more consistant and should enable it on qurt/linux
2018-01-27 14:13:28 +01:00
ChristophTobler
7bf3425b7e
tfmini: move part from constructor to init()
...
This makes sure the driver fails if the device path is invalid (::open fails)
2018-01-27 14:13:28 +01:00
ChristophTobler
d6f137e10d
tfmini: fixes for other boards than FMUv3
...
mainly the default device path doesn't work
2018-01-27 14:13:28 +01:00
Beat Küng
738f1ccdb6
module template: need to check if it's running for custom commands
2018-01-27 00:43:04 +01:00
Beat Küng
5bd8574e47
examples/px4_daemon_app: remove this app
...
superseded by src/templates/module
2018-01-27 00:43:04 +01:00
Beat Küng
25483faf88
modules: add a new module that serves as template for background tasks
2018-01-27 00:43:04 +01:00
Julian Oes
757f0e7334
mavlink_mission: straightaway send item again
...
Instead of using a timeout to resend a mission item, we should directly
send the mission request again. This is needed because we removed the
automatic resending which lead to troubles.
2018-01-25 15:31:40 +01:00
Julian Oes
d5219c8bc0
mavlink_mission: answer with mission NACKs
...
if anything doesn't go according to protocol we should not just throw
warnings but actually tell the ground station with a mission nack.
2018-01-25 15:31:40 +01:00
Julian Oes
e43cc9a9c1
mavlink_mission: send request again if unsupported
...
When we receive a MAV_MISSION_UNSUPPORTED, we should try to send a
mission request again with or without int mode.
2018-01-25 15:31:40 +01:00
Julian Oes
ffc7f37f12
mavlink_mission: don't retransmit automatically
...
This is an attempt to fix mission upload and download with QGC on a
lossy link. The way it should work according to the protocol on
https://mavlink.io/en/protocol/mission.html is that in general
the ground station should be concerned about timeouts and
retransmission. This means the autopilot does not need to retransmit by
itself but just answer requests.
This seems like it would make the transfer less robust, however, it
actually resolves an edge case where QGC fails to make requests because
it gets spammed by the autopilot and keeps resetting the timeout.
2018-01-25 15:31:40 +01:00
Nicolas de Palezieux
bc3577bd60
mission_block: do relative alt correction for correct nav_cmd
2018-01-25 15:27:55 +01:00
Nicolas de Palezieux
0266ca9845
commander: fix indentation
2018-01-25 15:27:55 +01:00
DonLakeFlyer
342509b3ab
New ROI commands implementation
2018-01-25 15:27:55 +01:00
Nicolas de Palezieux
ae52f74e78
landing target estimator: initialize landing target velocity with negative of vehicle velocity
2018-01-24 19:39:30 +01:00
Nicolas de Palezieux
b7dff95782
landing target estimator: check validity of the correct data before computing acceleration
2018-01-24 19:39:30 +01:00
Daniel Agar
c0615c9e70
logger add safety
2018-01-24 17:36:53 +01:00