Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RC Failsafe Trigger Update #12595

Closed
wants to merge 262 commits into from
Closed
Changes from all commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
7f4ca93
logger move non-logged subscriptions to uORB::Subscription
dagar Aug 6, 2019
53e8af1
logger use uORB::PublicationQueued for ulog_stream
dagar Aug 6, 2019
cfb6e53
bloaty fix master comparison
dagar Aug 6, 2019
76972b0
sensors: create vehicle_angular_velocity module (#12596)
dagar Aug 6, 2019
5482304
uORB fix vehicle_angular_velocity RTPS id
dagar Aug 6, 2019
4b90042
vehicle_angular_velocity: sensor_selection callback
dagar Aug 6, 2019
5f5c3d7
simple circleci.com px4_fmu-v5 build & archive example
dagar Aug 6, 2019
36b950d
NuttX increase HPWORK and LPWORK stack by 256 bytes
dagar Aug 7, 2019
42160e5
InvenSense ICM20948 move to PX4Accelerometer, PX4Gyroscope, PX4Magnet…
dagar Jun 1, 2019
a76f235
Revert "CollisionPrevention only process distance_sensor updates"
mrivi Aug 7, 2019
fc6b7af
Yaw mode 3 - Add check for minimum distance to target in MPC_YAW_MODE…
bresch Aug 5, 2019
109dd62
sensors: create vehicle_acceleration module (#12597)
dagar Aug 7, 2019
088bc68
no slinding in collision prevention (roll jerk fix)
baumanta Jul 25, 2019
7d90b22
change size of reaction angle
baumanta Jul 29, 2019
ca8fb2e
add parameter for detection angle
baumanta Jul 29, 2019
b045b04
add unit for coll prev angle
baumanta Jul 30, 2019
a96af88
change angle parmeter to degrees
baumanta Aug 7, 2019
3a65764
logger move to uORB::SubscriptionInterval (#12123)
dagar Aug 7, 2019
9de4220
Improve magnetometer inconsistency check
MaEtUgR Jun 26, 2019
904a888
voted_sensors_update: refactor out matrix:: because of using namespace
MaEtUgR Jun 26, 2019
9dd66aa
PreflightCheck: improve output in case of mag inconsistency
MaEtUgR Jun 26, 2019
416b4ab
voted_sensors_update: refactor to camelCase function names
MaEtUgR Jun 27, 2019
7b1cb58
fw_pos_control_l1 add new simple min groundspeed
dagar Jan 3, 2019
0a26fe5
NuttX boards reduce CONFIG_NFILE_DESCRIPTORS 54 -> 20
dagar Aug 8, 2019
a5e5f29
fw_att_control: move to WQ with uORB callback scheduling
dagar Aug 8, 2019
041be37
fw_pos_control_l1: move to WQ with uORB callback scheduling
dagar Aug 8, 2019
63bb1e8
sensors angular velocity and acceleration publishers fix auto usage
dagar Aug 8, 2019
e7a638d
Delete whitespace to quiet githooks.
mcsauder Aug 8, 2019
78db1bb
px4_fmu-v5x: add networking
davids5 Aug 9, 2019
2e7f33a
mavlink receiver move to uORB::Publication
dagar Jun 29, 2019
577d805
create uORB::PublicationMulti for multi publications
dagar Aug 4, 2019
4e5a59b
Update submodule ecl to latest Fri Aug 9 02:59:11 UTC 2019
PX4BuildBot Aug 9, 2019
069a048
Update submodule mavlink v2.0 to latest Fri Aug 9 02:59:05 UTC 2019 …
dagar Aug 9, 2019
775fd18
containers/List add nullptr check
dagar Aug 8, 2019
3bebdb7
MultiCopterLandDetector: Implement ModuleParams inheritance (#12356)
mcsauder Aug 9, 2019
3a2eb41
Added topics to esc_status and vehicle_status_flags.
cmic0 May 31, 2019
36dfe4f
uavcan esc: added timeout checks to escs.
cmic0 May 31, 2019
fdfb16a
Commander: added esc_status prearm checks
cmic0 May 31, 2019
380e0c0
uavcan escs: Modified esc_status reporting to have _rotor_count publi…
cmic0 Jul 5, 2019
33479ad
uavcan_main: replaced printf messages with PX4_INFO
cmic0 Jul 26, 2019
c23353e
Improved code comment for condition_escs_error topic.
cmic0 Aug 7, 2019
3298f3b
Simplified esc_status healthiness logic.
cmic0 Aug 7, 2019
a2b2268
mixer_group: improved get_multirotor_count () code readbility.
cmic0 Aug 7, 2019
dda4009
Commander: move esc_status as local variable.
cmic0 Aug 8, 2019
bf666f4
uavcan esc: use time literals for timeout checks.
cmic0 Aug 8, 2019
9704a09
Airspeed Selector: changes in airspeed library to account for new EAS…
sfuhrer Aug 7, 2019
6dbea2b
Airspeed Selector: added airspeed validator class
sfuhrer Aug 7, 2019
d8222be
Increased stack of lp work queue as with new airspeed modudle it was …
sfuhrer Aug 7, 2019
406221d
Airspeed Selector: repurpose wind estimator into an airspeed (selecti…
sfuhrer Aug 7, 2019
88378de
AirspeedSelector: added RTPS ID for airspeed_validated message
sfuhrer Aug 8, 2019
c04e870
Omnibus: take out local_position_estimator from build as was out of f…
sfuhrer Aug 9, 2019
e3936bc
Airspeed Selector: resolve conflics for wind estimate topic publishin…
sfuhrer Aug 9, 2019
9c08ae8
AutoSmoothVel - Compute desired speed at target based on angle betwee…
bresch Jul 16, 2019
f4d8efd
FlightTaskAutoLine/SmoothVel: stop at waypoint if altitude is has not…
Jul 18, 2019
a1eac7d
MC auto - Modify yaw_sp_aligned to take mis_yaw_error tolerance.
bresch Jul 19, 2019
d2a36fc
AutoSmoothVel - scale down acc_hor using traj_p parameter in the comp…
bresch Jul 19, 2019
da7bbd0
Create TrajMath library and move waypoint speed calculations in it
bresch Jul 30, 2019
0e06c12
GTest functional tests that include parameters and uORB messaging (#1…
Aug 9, 2019
4de48a0
mc_pos_control_main: Fixed missing semicolon
jiejiezhang Aug 9, 2019
5d51263
vtol_att_control move to WQ with uORB callback scheduling (#12229)
dagar Aug 9, 2019
cc023f3
uORB::PublicationQueued don't unadvertise on destruction (#12674)
dagar Aug 9, 2019
b7ada9f
sensors: uniform initialization and whitespace formatting in voted_se…
mcsauder Aug 10, 2019
2be245c
logger: unconditionally call _writer.notify()
bkueng Aug 10, 2019
6adddbd
Mavlink: Fix forwarding of messages with target system/component id (…
maowen Aug 13, 2019
f716aef
splitting preflight and land disarm times into 2 parameters
catch-twenty-two Aug 2, 2019
c357cd5
updating pre-takeoff and landding values to defaults
catch-twenty-two Aug 5, 2019
7a685e9
Update commander_params.c
catch-twenty-two Aug 8, 2019
ace0705
Implement ModuleParams inheritance in the VtolLandDetector class. Req…
mcsauder Jul 1, 2019
62a38b5
px_mkfw: add git commit hash to .px4 file
bkueng Aug 14, 2019
40f8a45
mRo Control Zero F7 initial board support
dagar Aug 14, 2019
fe1e472
commander: fix arming auth param translation
julianoes Aug 14, 2019
cf7004a
mavlink: match commands aimed at any sysid/compid
julianoes Aug 14, 2019
c11fd5f
mavlink_main: stream OBSTACLE_DISTANCE to GCS
mrivi Aug 13, 2019
9d83df9
Rename _accel_horz_lp -> _xy_accel_filtered to standardize naming, us…
mcsauder Aug 14, 2019
b81ae74
motor_ramp: set fmu in test mode and cleanup (#11249)
Aug 15, 2019
b9bc88f
Orbit failsafe: switch internal_state to Posctrl such that Manual-Pos…
Aug 15, 2019
551d6aa
Fix typo
bresch Aug 15, 2019
1da2298
uavcan: add optical flow support (Here Flow)
Aug 15, 2019
a4c14a8
introduce sensor_gyro_control message for vehicle_angular_velocity (#…
dagar Aug 16, 2019
7611528
Update submodule mavlink v2.0 to latest Fri Aug 16 12:37:56 UTC 2019 …
dagar Aug 16, 2019
f3768d5
rpi_rc_in: fix typo that was causing build to fail rpi
fghanei Aug 16, 2019
df5d1d9
px4_fmu-v5: add irqmonitor build (#12723)
dagar Aug 16, 2019
f2d186d
stm32/adc move to new WQ
dagar Aug 6, 2019
0cbd349
kinetis/adc move to new WQ
dagar Aug 6, 2019
80434b1
Jenkins hardware run adc test
dagar Aug 16, 2019
80b9a5a
px4_fmu-v5: add critical section monitor build (#12724)
dagar Aug 17, 2019
1d9d6fb
Jenkins hardware target general px4_fmu-v5
dagar Aug 17, 2019
56787fa
Jenkins hardware default airframe 4001 -> 13000 (run all controllers)
dagar Aug 17, 2019
6f37331
Jenkins hardware select airframe 4001 on fmu-v4
dagar Aug 17, 2019
c62c56b
Jenkins hardware print AUX pwm info
dagar Aug 17, 2019
d04e805
Jenkins hardware run logger and attempt to stop modules
dagar Aug 17, 2019
bbdd06b
vscode recommended extensions update docker and ros
dagar Aug 17, 2019
22fbbbc
vscode make astyle default formatter
dagar Aug 18, 2019
97810db
vscode files watcher exclude build folder
dagar Aug 18, 2019
1399aad
vscode settings sort git ignoreLimitWarning
dagar Aug 18, 2019
c5a63ec
vscode disable telemetry and experiments
dagar Aug 18, 2019
35c76d8
vscode github pull request default merge method squash
dagar Aug 18, 2019
2c2d879
vscode disable selection drag and drop
dagar Aug 18, 2019
14b06d3
add .gitattributes to force all line endings to LF
dagar Aug 18, 2019
3c1f374
commander arming_state_transition: do not call prearm_check if !fRunP…
bkueng Aug 15, 2019
1a63e74
commander: add 'commander arm -f' command to force arming
bkueng Aug 16, 2019
4ce4ae1
commander unit tests: enable preflight checks
bkueng Aug 16, 2019
f0abe3d
commander: refactor module usage output
bkueng Aug 16, 2019
c864873
drivers/boards/common: now checks if board has "px4-io" in its name i…
garfieldG Aug 19, 2019
22ba0b5
TRIG_PINS: clarify TRIG_PINS on FMU (#12714)
hamishwillee Aug 19, 2019
eeb3725
added logic to encode NAN as INT16_MAX to transfer to IO from FMU
dlwalter Aug 19, 2019
8b787ad
px4io fix code style
dagar Aug 19, 2019
a536c5f
av_x-v1 fix timer_config clock bit
dagar Aug 19, 2019
a6ee232
uORB::Subscription fix initialization but not yet published case
dagar Aug 20, 2019
9363344
Collision Prevention: don't allow moving outside sensor FOV (#12741)
baumanta Aug 20, 2019
449ef61
VTOL: only run on actuator publications corresponding to VTOL mode
dagar Aug 20, 2019
ee79d0e
led drivers and controller move to uORB::Subscription
dagar Aug 20, 2019
f7a389f
tone_alarm move to uORB::Subscription
dagar Aug 20, 2019
cde193a
px4fmu: move to WQ with uORB callback scheduling (#12224)
dagar Aug 21, 2019
1fefd97
PX4 SPI default to thread locking mode
dagar Jun 10, 2019
e5f75e0
update babyshark VTOl config
sfuhrer Aug 20, 2019
fb8b788
check vel_setpoint instead of stick input for position lock
baumanta Aug 20, 2019
8e6a5c2
check velocity_setpoint instead of sticks in altitude mode
baumanta Aug 20, 2019
8869e1a
Navigator: VTOL: disable weather vane during yaw aligning before fron…
sfuhrer Aug 15, 2019
152b7e2
Navigator: VTOL: fix mission yawing timeout (MIS_YAW_TMT)
sfuhrer Aug 15, 2019
ab17716
Navigator: VTOL: set heading of transition of a VTOL_TAKEOFF to the V…
sfuhrer Aug 15, 2019
120607f
VTOL: set RTL_TYPE default for VTOL to 1 (return to home via mission …
sfuhrer Aug 20, 2019
2712a01
Enable offboard local position setpoints for fixed wing position control
Jaeyoung-Lim Aug 11, 2019
ba7d86b
Do a single setup of uORB/Parameters instead of once every test
jkflying Aug 21, 2019
2284773
Don't run each functional test in a different process
jkflying Aug 21, 2019
6a6bfdf
Reset parameters in test setup, not teardown
jkflying Aug 21, 2019
2f2c919
logger: fix multiple format definitions for multi-instance topics
bkueng Aug 21, 2019
b69e9f8
Re-enable implicit-fallthrough warning
jlecoeur Aug 15, 2019
78992ee
fmu: fix implicit fallthrough
jlecoeur Aug 15, 2019
cfa7b9d
Commander: cleanup COM_POSCTL_NAVL parameter
jlecoeur Aug 15, 2019
e84db51
Offboard failsafe actions: add DISABLED, LOCKDOWN and TERMINATE options
jlecoeur Aug 15, 2019
d1c618a
Offboard failsafe actions: cleanup and move to dedicated functions
jlecoeur Aug 15, 2019
26411af
Document the behaviour of TERMINATE and LOCKDOWN in comments
jlecoeur Aug 19, 2019
202721d
WQ decrease att_pos_ctrl stack
dagar Aug 21, 2019
3502fcd
Rover: Enable Offboard support for Rover position control
Jaeyoung-Lim Aug 21, 2019
9cac8c3
FW: set default RTL_TYPE = 1 for fixed wing
Antiheavy Aug 22, 2019
e9310c2
platforms: match usb-Hex_ProfiCNC device (#12772)
julianoes Aug 22, 2019
d8f2f76
SmoothVel - Fix altitude lock logic.
bresch Aug 22, 2019
30c63a7
px_update_git_header.py: allow -beta/-rc in tag
julianoes Aug 22, 2019
06179f3
Jenkins add linux (raspberry pi) build and test
dagar Aug 22, 2019
8ebece7
snapdragon fix sanity test and add to Jenkins hardware
dagar Aug 22, 2019
4f3a709
Jenkins hardware linux add CCACHE_BASEDIR for rpi build
dagar Aug 22, 2019
de4b0df
Jenkins hardware snapdragon build with CCACHE_BASEDIR and dump logs
dagar Aug 22, 2019
6245407
jMAVSim: disable GUI using HEADLESS=1
julianoes Aug 22, 2019
b30f651
version: add beta tag
julianoes Aug 23, 2019
309b08b
version: more tests to check tags with - prefix
julianoes Aug 23, 2019
fff4479
Fix wrong initialization of PWM_AUX_RATE.
cmic0 Aug 23, 2019
9e215a5
UAVCAN esc: relax threshold for detecting offline escs.
cmic0 Aug 23, 2019
1de88af
UVify Core board support and airframes (Draco, Draco-R, IFO) (#12337)
limhyon Aug 23, 2019
b3c2d65
GPS: Prevent injection from choking the driver (#12710)
potaito Aug 23, 2019
8becddf
px4fmu split safety button into new driver
dagar Aug 24, 2019
22f7dcd
px4io: force io firmware build
jlecoeur Aug 25, 2019
6957a5c
airspeed_validated: move it out of the alias space
TSC21 Aug 25, 2019
42f3f1c
uorb_rtps_classifier: improve way to check base type of alias
TSC21 Aug 25, 2019
40698f8
uorb_rtps_message_ids: enlarge id space for base type msgs
TSC21 Aug 25, 2019
a985e39
RTPS: add check for ID space
TSC21 Aug 25, 2019
0ae3020
listener print all instances by default
dagar Aug 24, 2019
e329429
gitignore remove core
dagar Aug 27, 2019
3ef093e
replay: close replay log file after replay is finished, then exit (#1…
roangel Aug 28, 2019
0483bc8
gitattributes *.bin, *.pdf, and *.png are binary
dagar Aug 28, 2019
7033977
Jenkins add bloaty SITL and disable ccache
dagar Aug 28, 2019
edbee43
Update submodule mavlink v2.0 to latest Wed Aug 28 15:06:44 UTC 2019
dagar Aug 28, 2019
f9f5dcf
mc_pos_control: takeoff fix implicit switch fallthrough
dagar Aug 28, 2019
afb8c4d
safety_button set STACK_MAIN
dagar Aug 27, 2019
3c4c704
drivers/gps: increase task stack
dagar Aug 29, 2019
3801a97
Update submodule matrix to latest Thu Aug 29 00:42:01 UTC 2019
PX4BuildBot Aug 29, 2019
b422fe0
Jenkins snapdragon always pass sanity check for now
dagar Aug 29, 2019
e5d71b0
cmake nuttx ignore linking target warning
dagar Aug 29, 2019
e7d52fb
fxas21002c fix perf counter typo and add interval
dagar Aug 29, 2019
95f8bf0
[FlightTasks] Added class enum for FlightTasks errors (#12822)
roangel Aug 29, 2019
77d5db2
VelocitySmothing - Add gtest script
bresch May 16, 2019
c6b27b1
VelocitySmoothing - add zero setpoint test
bresch Aug 22, 2019
b824c3b
TestVelocitySmoothing - add check for time synchronization and final …
bresch Aug 22, 2019
9796326
TestVelocitySmoothing - Remove useless function override, use ceil in…
bresch Aug 28, 2019
674a908
TestVelocitySmoothing - Split time synchronization and final state ch…
bresch Aug 28, 2019
e1d6e04
BabyShark VTOL: update config file
sfuhrer Aug 29, 2019
7e8e5bd
Jenkins hardware add Modal AI v5m/v5x
dagar Aug 30, 2019
b4e03dd
platform: restructure (NuttX) architecture-specific code
bkueng Aug 23, 2019
b82c890
adc: refactor into arch-specific directories
bkueng Aug 26, 2019
fe507dd
NuttX hrt: move into arch-specific directory
bkueng Aug 26, 2019
4348b31
drv_led_pwm: move to arch-specific directory
bkueng Aug 26, 2019
a1bc30b
src/drivers/{kinetis,stm32}: move to arch-specific directories
bkueng Aug 28, 2019
a6810b2
ToneAlarmInterface: move to drivers/drv_tone_alarm
bkueng Aug 27, 2019
c829055
src/platforms/qurt: move to src/drivers
bkueng Aug 27, 2019
bfbb769
platforms/posix/src: move to platforms/posix/src/px4/common
bkueng Aug 27, 2019
07f5d49
src/platforms/posix: move to platforms/posix/src/px4/common and src/d…
bkueng Aug 27, 2019
f917aa4
src/platforms/common: move to platforms/common
bkueng Aug 27, 2019
c5f2806
src/platforms: move remaining source files to platforms/common
bkueng Aug 27, 2019
a110a79
px4_middleware: remove that header and move px4::init to px4_init.h
bkueng Aug 27, 2019
24c65cd
Fixing and simplifying mavlink odometry handling (#12793)
kamilritz Aug 30, 2019
a4793aa
STACK_MAIN increase default 1024 -> 2048
dagar Aug 30, 2019
5f90759
StraightLine: rewrite old implementation
MaEtUgR Aug 8, 2019
e8bb699
FlightTaskOrbit: use StraightLine library to approach circle
MaEtUgR Aug 8, 2019
0ed8340
FlightTaskOrbit: only reapproach circle if center changed
MaEtUgR Aug 12, 2019
48065f5
FlightTaskOrbit: don't apply yaw feed forward in circle approach
MaEtUgR Aug 12, 2019
fce34c7
fmu: fix comments & documentation
bkueng Aug 22, 2019
4533cec
fmu: remove unused write() interface
bkueng Aug 22, 2019
294f82a
fmu: remove unused _num_failsafe_set
bkueng Aug 22, 2019
92df289
mixer_module: create MixingOutput library and use in fmu
bkueng Aug 22, 2019
2bf158f
MixingOutput: make mixer loading thread-safe
bkueng Aug 22, 2019
c79cf8c
MC_AIRMODE: move parameter definition to mixer_module
bkueng Aug 23, 2019
dec2582
pwm_limit: rename to output_limit
bkueng Aug 27, 2019
a19a2a3
MixingOutput: make scheduling configurable
bkueng Aug 27, 2019
a02bf29
fxos8701cq split out header and main
dagar Aug 29, 2019
c1b560e
fxos8701cq cleanup and move to PX4Accelerometer/PX4Magnetomer
dagar Aug 29, 2019
f3b329d
rc.sensors: moved common ms5611 start to rc.board_sensors per board
BazookaJoe1900 Sep 1, 2019
d44c31a
VTOL airframes update legacy VT_MOT_COUNT parameter
dagar Sep 1, 2019
4b5ebcb
EKF and AirspeedSelector: publish multiple wind estimate topic instan…
sfuhrer Aug 29, 2019
3025cad
pmw3901 cleanup and updates
dagar Aug 14, 2019
774ee5d
pmw3901 split out header and main
dagar Aug 17, 2019
bf54735
PMW3901 add register write delay (TIME_us_TSWW)
dagar Aug 17, 2019
a949501
commander increase cpu overload threshold
dagar Sep 1, 2019
353f26a
deltaquad: remove deprecated parameter MAN_R_MAX
MaEtUgR Aug 30, 2019
80d4597
Add generic vtol tailsitter airframe/mixer and incorporate modificati…
mcsauder Jul 17, 2019
bed7cd3
boards/px4/fmu-v5x remove alternate configs until default is complete
dagar Sep 1, 2019
d593f8c
ubuntu.py: update to dual install to Python2
hamishwillee Aug 15, 2019
ba3cd17
Change java to openjdk like docker
hamishwillee Aug 23, 2019
446c567
Add docker gazebo dependencies
hamishwillee Aug 24, 2019
66238c5
delete accidental systemlib/param/param_new.c
dagar Sep 2, 2019
f857ba8
land_detector: Add and max_altitude and timestamp validity checks to …
mcsauder Sep 2, 2019
5ccc962
Add collision prevention velocity limitations also based on max accel…
jkflying Aug 28, 2019
4181872
Add test for jerk reduction
jkflying Aug 28, 2019
25ee3c0
Add parameter COM_PREARM_MODE
jlecoeur Aug 21, 2019
5844dad
IO: respect actuator_armed.prearmed flag
jlecoeur Aug 25, 2019
738bfd5
Clarify comment
jlecoeur Aug 26, 2019
8b49381
add new parameter SENS_EN_PMW3901 to start pmw3901 optical flow
BazookaJoe1900 Sep 2, 2019
3f4eccc
Update submodule mavlink v2.0 to latest Mon Sep 2 12:38:04 UTC 2019 …
dagar Sep 2, 2019
164febe
px4_fmu-v2 variants disable mpu9250
dagar Sep 2, 2019
e4c4529
SENS_BARO_QNH set reboot_required
dagar Sep 2, 2019
121cc7f
vtol_att_control: limit state updates to input availability and alway…
dagar Sep 2, 2019
5724cd9
uavcan: limit actuator controls poll interval
dagar Sep 2, 2019
72777b4
CollisionPrevention: update orb_publish to uORB::Publication<>
dagar Sep 2, 2019
65a54b4
fw_att_control: update orb_publish to uORB::Publication<>
dagar Sep 2, 2019
47dd1f9
fw_pos_control_l1: update orb_publish to uORB::Publication<>
dagar Sep 2, 2019
fca34c5
add new parameter LIGHT_EN_BLINKM to start blinkm lights
BazookaJoe1900 Sep 2, 2019
f5cf0d7
add IMU_GYRO_RATEMAX to optionally limit gyro control publication rate
dagar Sep 3, 2019
5f8e289
load_mon: update orb_publish to uORB::Publication<>
dagar Sep 3, 2019
c488e75
sensors: update orb_publish to uORB::Publication<>
dagar Sep 3, 2019
b0088e9
mavlink: update orb_publish to uORB::Publication<>
dagar Sep 3, 2019
fead498
IMU_GYRO_RATEMAX add common options
dagar Sep 3, 2019
ab03391
Enable support for global position setpoints with SET_POSITION_TARGET…
Jaeyoung-Lim Sep 3, 2019
58432f1
fmu-v5: add baro again in startup
sfuhrer Sep 3, 2019
752387a
uavcan: fix limit actuator poll interval.
cmic0 Sep 3, 2019
36c3066
px4_fmu-v5_stackcheck disable roboclaw and pca9685 to reduce flash
dagar Sep 3, 2019
d15deb1
platforms: fix main function signature
julianoes Sep 3, 2019
7801f97
controllib: fix for undefined sanitizer
julianoes Sep 3, 2019
1934e63
Merge branch 'master' into RC_Failsafe-Update
bozkurthan Sep 4, 2019
17bdc1a
Merge branch 'master' of https://github.com/PX4/Firmware
bozkurthan Sep 4, 2019
31f01cc
Merge branch 'master' of https://github.com/PX4/Firmware
bozkurthan Sep 5, 2019
4d31660
Merge remote-tracking branch 'origin/master' into RC_Failsafe-Update
bozkurthan Sep 5, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/modules/sensors/rc_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,21 @@ RCUpdate::rc_poll(const ParameterHandles &parameter_handles)
/* signal is lost or no enough channels */
signal_lost = true;

//This problem occurs at RC controllers which are use PPM signal on RFD 868+/900 Modems (Maybe it can be also related another types)
} else if (rc_input.channel_count == 16) { // check failsafe by channel values to detect RC loss (This statement is specific for only RF modules that still sending valid PPM signal when RC loss from ground RF)
for (unsigned int i = 0; i < 16; i++) {
if (i < 12 && rc_input.values[i] > 999 && rc_input.values[i] < 1005) {
signal_lost = true;

} else if (rc_input.values[i] == 0) {
signal_lost = true;

} else {
signal_lost = false;
break;
}
}

} else {
/* signal looks good */
signal_lost = false;
Expand Down