Timothy Scott
21760a5856
Changed constant name to UNMANNED_GROUND_VEHICLE
2019-06-13 10:04:26 +02:00
Timothy Scott
714c90b9db
Updated code style to fix confusing if conditions
2019-06-13 10:04:26 +02:00
Timothy Scott
a134da6e12
Removed is_rotor_wing, replaced with vehicle_type
2019-06-13 10:04:26 +02:00
Timothy Scott
2ca40bfc65
Changed navigator to properly separate xy and z distance to waypoint
2019-06-13 10:04:26 +02:00
Daniel Agar
6816f2a4ce
commander force offboard control update when first entering mode
...
- fixes #12241
2019-06-12 20:25:05 -04:00
Matthias Grob
048cca7bc4
vtol_att_control: apply multicopter takeoff hotfix also for vtol ( #12250 )
...
Please see reference:
https://github.com/PX4/Firmware/issues/12171
2019-06-12 13:59:29 -04:00
Mark Sauder
ae6fed4f29
Migrate remaining variable initializations from constructor list to declarations in mavlink_main.cpp/h.
2019-06-12 12:53:09 -04:00
Daniel Agar
79d4c09d59
uORB::Publication simplify and cleanup
...
- base class is now template
- drop linked list
- virtualization no longer required
2019-06-12 08:48:19 -04:00
Bharat Tak
1ebf5d04d9
logger: add Ulog sync bytes at 1Hz and tagged log message definition ( #12144 )
2019-06-11 11:00:54 +02:00
Daniel Agar
c223de8a50
vmount move usage() to bottom of file and format
2019-06-08 03:23:50 -07:00
Daniel Agar
933dd1357e
navigator move print_usage() to bottom of file
2019-06-08 03:23:50 -07:00
Daniel Agar
d9c5fb0500
mc_att_control move print_usage() to bottom of file and format
2019-06-08 03:23:50 -07:00
Daniel Agar
97c2dba2fa
logger move print_usage() to bottom of file and format
2019-06-08 03:23:50 -07:00
Daniel Agar
63d582464e
mc_pos_control move print_usage() to bottom of file and format
2019-06-08 03:23:50 -07:00
Julian Oes
d2c824c534
gpssim: don't advertize uninitialized data
...
According to valgrind uninitialized bytes were being advertized.
2019-06-07 17:10:35 -04:00
Daniel Agar
5669df4ca4
mc_pos_control move orb subscriptions to new uORB::Subscription
2019-06-07 09:22:35 -04:00
Daniel Agar
be02ad3514
fw_att_control move orb subscriptions to uORB::Subscription
2019-06-06 20:02:02 -04:00
Daniel Agar
4bef573497
fw_pos_control_l1 move to new uORB::Subscription
2019-06-06 20:00:02 -04:00
Daniel Agar
528d2f61a0
sensors partially move to new uORB::Subscription
2019-06-06 19:07:17 -04:00
Daniel Agar
3796dda209
ekf2 move most orb subscriptions to uORB::Subscription
2019-06-06 08:22:15 +02:00
Daniel Agar
cecd009ddc
mc_att_control: fix vehicle_rates_setpoint_poll() error due to merge timing
2019-06-05 21:18:02 -04:00
Daniel Agar
4c42cac380
mc_att_control move most orb subscriptions to uORB::Subscription
2019-06-05 20:37:47 -04:00
Daniel Agar
c0e735c88a
vtol_att_control move to new uORB::Subscription
2019-06-05 20:33:20 -04:00
Daniel Agar
71d58c9278
wind_estimator move to new WQ (lp_default) and uORB::Subscription
2019-06-05 20:31:16 -04:00
Daniel Agar
e4ad994763
navigator move to new uORB::Subscription
2019-06-05 20:28:44 -04:00
bresch
ac4458460d
FailureDetector - update hysteresis to comply with new interface
2019-06-05 16:53:08 +02:00
bresch
c75f71abc2
IO failsafe - apply failsafe values to outputs when in failsafe.
...
This is required because otherwise, IO would output disarmed values if
FMU goes into a disarmed state.
2019-06-05 16:53:08 +02:00
bresch
96da46d1aa
Failsafe - cosmetic changes
2019-06-05 16:53:08 +02:00
bresch
776b1a28de
IO mixer - cleanup FMU timeout check (comments and indentation)
2019-06-05 16:53:08 +02:00
bresch
c576c57d7b
protocol.h - comment style update
2019-06-05 16:53:08 +02:00
bresch
4b8febf558
Flight termination IO - reword flight termination flag description
2019-06-05 16:53:08 +02:00
bresch
158463d0a0
Flight termination - Rename "flightterm" variables and defines to "flighttermination".
2019-06-05 16:53:08 +02:00
bresch
5becc24a1f
Failure detector - in failure detector preflight check, get
...
vehicle_status as const type. Also use FAILURE_NONE enum to check for a
failure
2019-06-05 16:53:08 +02:00
bresch
33a94c8191
Failure detector - change snake_case function names to camelCase
2019-06-05 16:53:08 +02:00
bresch
03ad4ffd47
FailureDetector - Add is_failure() function to simplify the interface; the user does not need to check the bitmask
2019-06-05 16:53:08 +02:00
bresch
d3c9436f84
flight termination - rename in_flight_termination to flight_termination_triggered
2019-06-05 16:53:08 +02:00
bresch
4eaf6e77be
Flight termination - Always send flag to IO without checking the circuit breaker. The circuit breaker is used inside IO to decide if it has to go into failsafe if FMU dies and also controls is the FailureDetector sets the force_failsafe flag. The other sources of flight termination (rc loss, geo fence, ...) are not disabled by the circuit breaker
2019-06-05 16:53:08 +02:00
bresch
59265f6663
Failure detector - Add flight termination comments, make format
2019-06-05 16:53:08 +02:00
bresch
0655f7603b
FailureDetector - Increase min value of FD_FAIL_P/R to 60 degrees
2019-06-05 16:53:08 +02:00
bresch
d19614a94f
MC Lnd detector - Remove double include
2019-06-05 16:53:08 +02:00
bresch
38345be41a
FailureDetector - Add roll and pitch failures hysteresis
2019-06-05 16:53:08 +02:00
bresch
a72de95c94
Failure detector - Disable flight termination by default. Modify FD_FAIL parameters description
2019-06-05 16:53:08 +02:00
bresch
81bb7888de
Failure Detector - Add Failure Detector check to preflight checks
2019-06-05 16:53:08 +02:00
bresch
7b531bcaef
Failure Detector - Play TONE_PARACHUTE_RELEASE_TUNE when force failsafe is set
2019-06-05 16:53:08 +02:00
bresch
d655c33faa
IO mixer - Change default mixer to DISARMED and allow to set outputs to failsafe if FMU does not respond and if flight termination circuit breaker is not set
2019-06-05 16:53:08 +02:00
bresch
6fb1b4886c
IO - Send flight termination circuit breaker state to IO through PX4IO_P_SETUP_ENABLE_FLIGHTTERM
2019-06-05 16:53:08 +02:00
bresch
19bf080313
PX4ioFirmware - Clean should_arm, should_arm_nothrottle and should_always_enable_pwm indentation for better understanding
2019-06-05 16:53:08 +02:00
bresch
ba93f9b983
FailureDetector - Update failure detector logic in commander.
2019-06-05 16:53:08 +02:00
Thomas Gubler
cf15cef066
Param "User Flight Profile" : improve documentation
2019-06-05 06:45:43 -07:00
Thomas Gubler
d8a4d70fce
Add Param "User Flight Profile"
...
This param has no effect within the Firmware.
The param can be used for example:
* in log post processing to have context about the flight
* in ground stations to adapt the UI automatically
2019-06-05 06:45:43 -07:00