romain
7be1cc389e
removed arguments from constructor
2019-04-12 09:25:07 +02:00
Beat Küng
744b50b478
send MAVLink GROUND_TRUTH at 25 Hz, only in SIH mode. And minor cleanup
2019-04-12 09:25:07 +02:00
romain
9adb4410bd
newline added at the end of files
2019-04-12 09:25:07 +02:00
romain
8b6480c1cf
sih.msg removed, serial port communication removed
2019-04-12 09:25:07 +02:00
romain
e8c5d85525
sih param names cleanup
2019-04-12 09:25:07 +02:00
romain
e1d9438f79
sih: remove SYS_SIH parameter and extend SYS_HITL
2019-04-12 09:25:07 +02:00
romain
a9660d9da0
white noise generator updated
2019-04-12 09:25:07 +02:00
romain
cdd7e95a92
added a call to px4_sem_destroy()
2019-04-12 09:25:07 +02:00
romain
6ff228c2ff
sih module implemented with hrt_call_every and semaphore_wait
2019-04-12 09:25:07 +02:00
Beat Küng
914a9b78b6
new airframe for sih, HIL_STATE_QUATERION sent through MAVLink
2019-04-12 09:25:07 +02:00
romain
c09e9ec97f
simulator in hardware, new module added that allows to run a simulator in the hardware autopilot, for more documentation visit https://github.com/romain-chiap/PX4_SIH_QuadX
2019-04-12 09:25:07 +02:00
mcsauder
9540869c20
Alphabetize a few methods and variable orders in mavlink_receiver.h.
2019-04-11 08:31:30 +02:00
Alessandro Simovic
4127adf73c
addressing comments from #11796
2019-04-10 09:38:53 +02:00
Alessandro Simovic
482a46ab36
Standardising mavlink message strings
2019-04-10 09:38:53 +02:00
Daniel Agar
0206375de6
logger reduce default topics
2019-04-09 10:14:49 -04:00
Julian Oes
95ab984f4c
commander: fix toggling datalink lost and regained
...
When using QGC and/or the Dronecode SDK it was possible to get in a
state where the two mavlink instances were both publishing their last
heartbeat_time and cause commander to consistently toggle between
data link lost and regained. With this fix, we only ever look at the
very last heartbeat time and therefore seem to avoid this issue.
2019-04-05 09:25:40 -04:00
Martina Rivizzigno
34b0f33098
move all obstacle avoidance interfaces to the ObstacleAvoidance library
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
8c24ba9255
move injection of avoidance setpoints to flight task library
2019-04-04 16:41:26 +02:00
Daniel Agar
6648937789
logger increase stack 3600 -> 3700 bytes
2019-04-03 14:32:45 -04:00
bresch
986c1a37d1
Parameter update - Rename variables in modules/ekf2
...
using parameter_update.py followed by a make format
2019-04-03 15:38:50 +02:00
bresch
da2deaa0b2
Parameter update - Rename variables in modules/mavlink
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
f3990c84fc
Parameter update - Rename variables in modules/navigator
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
e575f032e4
Parameter update - Rename variables in modules/mc_att_control
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
2197ac883d
Parameter update - Rename variables in modules/wind_estimator
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
6c823903bc
Parameter update - Rename variables in modules/simulator
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
f08c00f324
Parameter update - Rename variables in modules/fw_pos_control
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
ecacf4de46
Parameter update - Rename variables in modules/load_mon
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
10ba0801d2
Parameter update - Rename variables in modules/fw_pos_control
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
ece49247b6
Parameter update - Rename variables in modules/mc_pos_control
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
c6e7c0fa5d
Parameter update - Rename variables in modules/events
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
2ca8ddd8af
Parameter update - Rename variables in modules/commander
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
Nuno Marques
5da5795433
commander: PreflightCheck replace all differential_pressure sensor checks with airspeed checks ( #11722 )
2019-04-03 09:20:27 -04:00
Roman
d36c0e131d
added aux6 RC channel
...
Signed-off-by: Roman <bapstroman@gmail.com >
2019-04-03 08:20:47 -04:00
bresch
99fb88ce83
AltitudeSmoothVel - Create new altitude flight task that uses the
...
velocity smoothing library to create a jerk-limited trajectory along the
Z axis. This FlightTask is used when MPC_POS_MODE = 3.
2019-04-03 10:43:31 +02:00
Roman
6c1399b328
multicopter land detector: make threshold for _has_low_thrust
...
configurable
Signed-off-by: Roman <bapstroman@gmail.com >
2019-04-03 08:49:46 +02:00
Daniel Agar
ec3bc4ee5b
fw_pos_control_l1 reset internal takeoff and landing state when arming
2019-04-03 08:48:30 +02:00
Alessandro Simovic
39d1751bbe
rc loss alarm: stop on RC reconnect
2019-03-29 19:42:02 -07:00
CarlOlsson
9a2617ad33
vtol_att_control: remove unused subscription variable
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2019-03-28 09:03:53 +01:00
Beat Küng
fe0c2d1352
mavlink autopilot_version: add vendor version
2019-03-28 08:47:32 +01:00
Matthias Grob
463d5512d9
mc_att_control: only adapt yaw rate limit on control mode change
...
Put adaption into a method because it needs to be called when
the control mode or the parameter changes.
2019-03-27 12:06:39 +01:00
Matthias Grob
3375ae2c11
mc_att_control: parameter processing refactor
...
- Remove unnecessary in between rate limits member vectors.
- Only switch the yaw rate limit in auto modes,
other values stay the same anyways.
- Fill gain vectors with parameters in one line.
2019-03-27 12:06:39 +01:00
Matthias Grob
5ee1fcaebf
AttitudeControl: address @dagar's review comments
2019-03-27 12:06:39 +01:00
Matthias Grob
7e8cf87d0d
mc_att_control: move attitude control calculations into separate class
...
to modularize and simplify unit testing
2019-03-27 12:06:39 +01:00
Claudio Micheli
0eb4942f66
Commander: renamed print_msg_once variable into a more self-explanatory one.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
be6f753022
Fixed CI errors. changed _print_msg_once into private class member.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
e14e5b9d73
Commander: Changed COM_ONB_BOOT_T parameter to COM_OA_BOOT_T.
...
Since the time out is only Obstacle-Avoidance related, the new naming is more self explanatory.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
d937a5725b
Commander: reset print once variable if OA is lost.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
9966a3d2f8
Commander: changed logic for checking OA at boot time.
...
With this commit the use cases will be:
Success case:
- booting, no messages about OA, pre-arm check would fail if you try to arm and OA is not yet running
Fail case:
- if OA takes longer than timeout time defined in COM_ONB_BOOT_T, then an error message is triggered.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
3b5ef82193
Commander: Added COM_ONB_BOOT_T parameter.
...
Since onboard controllers bootup times are hardware dependent, it makes sense to have the possibility to adapt timeout time according to the specific HW.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
7a8002fdab
Commander: increased hardcoded timeout time for avoidance to start.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00