Commit Graph

4497 Commits

Author SHA1 Message Date
Lorenz Meier c3522f8592 Publish telemetry status on telemetry update and on heartbeat update events to avoid inducing heartbeat update latencies resulting in spurious telemetry link dropped detections. Makes overall state handling simpler 2014-08-17 10:58:28 +02:00
Thomas Gubler a2cab83391 Merge remote-tracking branch 'upstream/qnh' into obcfailsafe 2014-08-17 10:46:31 +02:00
Thomas Gubler ca44efab7c Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-17 10:46:11 +02:00
Thomas Gubler 1913ae19f1 add param for qnh 2014-08-17 10:45:30 +02:00
Lorenz Meier 5a5e1a976e Merge branch 'master' of github.com:PX4/Firmware 2014-08-17 10:32:10 +02:00
Lorenz Meier dd0916bd7d code style fix for mavlink app 2014-08-17 10:31:56 +02:00
Holger Steinhaus 5b1e4db396 px4io driver: fix actuator output format 2014-08-16 21:44:52 +02:00
Thomas Gubler ab9b234893 commander: mavlink output on flight termination 2014-08-16 18:07:21 +02:00
Thomas Gubler f480c10282 state machine helper: use stay in failsafe flag 2014-08-16 14:37:46 +02:00
Thomas Gubler 14189816f7 dlloss: better output 2014-08-16 14:28:39 +02:00
Thomas Gubler 94765f1fe0 datalinkloss: use vstatus from navigator
For some reason the own subscription did not work (the task launch
pattern used for the navigator may be the reason again)
2014-08-16 13:17:26 +02:00
Thomas Gubler 72beef90c9 set correct nav state for data link loss 2014-08-16 13:09:10 +02:00
Thomas Gubler a972a28571 fix param name 2014-08-16 11:41:31 +02:00
Thomas Gubler 35daef948b fix datalink loss detection logic 2014-08-16 10:52:01 +02:00
Thomas Gubler 2791a70976 remove warnx 2014-08-15 20:57:21 +02:00
Thomas Gubler 5406ba78a8 make navigator mode a child of navigator 2014-08-15 20:53:03 +02:00
Thomas Gubler da0e3169f2 fw att control: change control surface deflection scaling 2014-08-15 18:32:51 +02:00
Thomas Gubler 8dbe6a6dc0 px4io driver: use flighttermination circuit breaker 2014-08-15 14:35:45 +02:00
Thomas Gubler 331de9b6ad Merge remote-tracking branch 'origin/obcfailsafe' into obcfailsafe 2014-08-15 14:16:01 +02:00
Thomas Gubler eee39f3de7 Merge remote-tracking branch 'origin/master' into obcfailsafe 2014-08-15 14:15:38 +02:00
Thomas Gubler b71778d7e1 datalinkloss: change default param value 2014-08-15 01:41:48 +02:00
Thomas Gubler 8bc7d7f43d navigator: correctly use all navigator modes 2014-08-15 01:26:43 +02:00
Thomas Gubler 85d8781bc3 datalinkloss: improve logic 2014-08-15 01:26:04 +02:00
Thomas Gubler 6fe0482b27 failsafe: make warnx more clear 2014-08-15 00:07:38 +02:00
Thomas Gubler 0f2b66fa8b failsafe: enable support for commands 2014-08-14 22:38:48 +02:00
Thomas Gubler 9ee6ab366d add flighttermination circuit breaker 2014-08-14 17:30:05 +02:00
sjwilks e9b0ee7501 Merge pull request #1273 from PX4/rc_fix
Fixed copy & paste error on RC output
2014-08-14 12:38:08 +02:00
Lorenz Meier e03c4d4b65 Fixed copy & paste error on RC output 2014-08-14 12:34:47 +02:00
Anton Babushkin 73b4c6eba1 mavlink: stream names updated in configuration 2014-08-13 20:09:57 +02:00
Anton Babushkin 54a6e66ada mavlink: in HIL_CONTROLS send 0 for disabled channels 2014-08-13 19:46:35 +02:00
Lorenz Meier 54fc6aa678 Hotfix: Optimize shell commands for size - we do not need massive performance there 2014-08-13 10:33:46 +02:00
Lorenz Meier 38a14edefa Merge pull request #893 from PX4/geo
GEO lib projection changes / updates
2014-08-13 09:24:31 +02:00
Lorenz Meier 2cc5c6e84f INAV: Add braces to ensure statements are evaluated correctly 2014-08-13 09:14:43 +02:00
Lorenz Meier 3f63b67eb6 Merged master into vision_estimate 2014-08-13 09:08:16 +02:00
Don Gagne c8ecf59ab7 List command bug fix, easier debugging
- List command was generating bad data size because it was adding
directory entry char to buffer before testing buffer overflow.
- Added MAVLINK_FTP_DEBUG define to easily turn on/off noisier
debugging output
2014-08-12 14:23:26 -07:00
Thomas Gubler 017f82e2b8 Merge remote-tracking branch 'origin/master' into obcfailsafe 2014-08-12 12:30:20 +02:00
Lorenz Meier 0c0c8e943a Fixed missing return value after last change set 2014-08-12 07:30:01 +02:00
Lorenz Meier 7d1cd7b994 Fix NO RC handling (fixes #1263) 2014-08-11 19:28:14 +02:00
Thomas Gubler 5baf9cea0d geo: fix some warnings 2014-08-11 15:29:59 +02:00
Thomas Gubler 89986cf3e5 epv/eph threshold variable names changed 2014-08-11 13:46:13 +02:00
Thomas Gubler af1ad04c23 Merge remote-tracking branch 'origin/master' into geo 2014-08-11 13:37:08 +02:00
Lorenz Meier 5abdacc907 Merge pull request #1265 from PX4/FTP
More FTP support
2014-08-10 23:46:14 +02:00
Don Gagne 1d3edfa629 More FTP support
Added:
- sequence numbers
- directory list returns file sizes
- open command returns file size in data
2014-08-10 12:02:10 -07:00
Lorenz Meier 9ecec7fada Add default initializers and timestamp in local position 2014-08-10 01:30:25 +02:00
Lorenz Meier 5225d87854 Updated MAVLink to latest revision 2014-08-10 01:24:04 +02:00
Lorenz Meier f3969abac4 Merge pull request #886 from PX4/smooth_pos_hold
Smooth transitions to stabilized modes
2014-08-09 19:01:16 +02:00
Anton Babushkin 03f839a27a mc_pos_control: more accurate position setpoint reset, keep attitude setpoint continuous 2014-08-08 00:24:18 +02:00
Anton Babushkin faaeaeb113 mc_pos_control: manual and offboard control reorganization and cleanup 2014-08-08 00:22:57 +02:00
Anton Babushkin a9d3e9854f Merge branch 'master' into smooth_pos_hold 2014-08-07 23:08:54 +02:00
Lorenz Meier 20c3a329c7 Introduce similar checks fo all other health checks in the filter 2014-08-07 07:36:59 +02:00
Lorenz Meier 13b9cd0cec Do not fuse height after innovation consistency check fail 2014-08-07 07:25:20 +02:00
Lorenz Meier 95fc701376 Merge pull request #1254 from PX4/tecs_logging
TECS logging
2014-08-06 17:41:15 +02:00
Lorenz Meier 5c5fc93ce6 Merge pull request #1258 from PX4/uavcan_fix
uavcan: fix actuator groups subcriptions and poll()
2014-08-06 17:39:59 +02:00
Pavel Kirienko 33762ce861 UAVCAN ESC mixer: removed the failsafe placeholder, it's no use here 2014-08-06 12:40:07 +04:00
Don Gagne cfe5c45e04 Fix broken arming unit test
Also, update arming_state_transition calls to add new fRunPreArmChecks
flag.
2014-08-04 09:42:16 -07:00
Don Gagne 014fd5f47b Add fRunPreArmChecks flag
This is to allow unit tests to be written which do not perform pre-arm
checks
2014-08-04 09:41:29 -07:00
Don Gagne 6fbeaeaace Update arming_state_transition calls
Add new fRunPreArmChecks flag
2014-08-04 09:40:38 -07:00
Lorenz Meier ff760d07b4 Add TECS logging 2014-08-03 13:19:10 +02:00
Lorenz Meier 43ef622725 Reinstate TECS logging 2014-08-03 13:18:22 +02:00
Lorenz Meier 020ac409be Remove airspeed and altitude raw data from TECS log, as we have these quantities already in the system log 2014-08-03 13:17:18 +02:00
Anton Babushkin f7582b4d00 Merge branch 'master' into smooth_pos_hold 2014-08-02 22:11:57 +02:00
Anton Babushkin 5824607c76 uavcan: fix actuator groups subcriptions and poll() 2014-08-02 13:01:42 +02:00
Pavel Kirienko d3d5aa9bdc Merge branch 'uavcan_node_info' 2014-08-02 03:40:22 +04:00
Pavel Kirienko 9725a16352 UAVCAN: Fixed short git hash computation 2014-08-02 03:34:57 +04:00
Lorenz Meier 4d03202c4c Warn on far waypoints 2014-08-01 23:42:26 +02:00
Lorenz Meier 3856ab8d2a Merge branch 'master' of github.com:PX4/Firmware 2014-08-01 23:18:58 +02:00
Lorenz Meier c3666a5504 Widen default first WP radius 2014-08-01 23:18:43 +02:00
Lorenz Meier 29c70651de Merge branch 'master' of github.com:PX4/Firmware into throttle_tuning 2014-08-01 14:44:27 +02:00
Lorenz Meier 5b9010113f Merge pull request #1244 from PX4/asfilter_more
airspeed: Filter slightly more, just a touch to not induce phase delay
2014-08-01 14:44:11 +02:00
Lorenz Meier 491c6c29ac Init values 2014-08-01 14:43:56 +02:00
Lorenz Meier 32e32d92bd Add throttle slew rate param 2014-08-01 14:39:24 +02:00
Lorenz Meier 2e4dff3fea removed debug statement from mTECS 2014-08-01 13:21:30 +02:00
Lorenz Meier 3b1c92e42f Make throttle time constant tunable separately, group TECS params correctly, make climbout alt configurable 2014-08-01 13:10:07 +02:00
Lorenz Meier 8e33278c4c Move the last throttle demand setting to a better position 2014-08-01 13:04:28 +02:00
Thomas Gubler f78ea38d98 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-01 12:09:16 +02:00
Lorenz Meier 1300c9a975 Merge branch 'master' of github.com:philipoe/Firmware into throttle_tuning 2014-08-01 12:02:14 +02:00
Randy Mackay 2d4dd0d5c0 Tone alarm sound for barometer check fail 2014-08-01 09:24:07 +02:00
Pavel Kirienko b606674fc7 Removed misleading comment from the UAVCAN module makefile 2014-08-01 01:04:24 +04:00
Pavel Kirienko 87273abc9a UAVCAN node version info 2014-08-01 00:56:44 +04:00
Anton Babushkin 7f293be7d7 mavlink, rc.usb: increase HIL_CONTROLS rate and datarate on USB to allow HIL simulation @ 200Hz 2014-07-31 17:30:00 +02:00
philipoe fc2e0fad47 TECS: Added separate gain / time constant for the throttle loop to allow independent tuning 2014-07-31 15:23:30 +02:00
Lorenz Meier 7f4a93d80d Merge branch 'stable' 2014-07-31 12:16:35 +02:00
Lorenz Meier 3969967002 Default to TECS 2014-07-31 12:16:11 +02:00
Lorenz Meier ee42d5f53d Comment fix 2014-07-31 12:15:33 +02:00
Lorenz Meier 93a822fee4 Merged master 2014-07-31 11:37:32 +02:00
Lorenz Meier 75dfb0d84d Merge pull request #1236 from PX4/real_life_timeouts
Increase GPS position timeout to real-life timeouts. More work needed.
2014-07-31 11:33:10 +02:00
Lorenz Meier 68415137b9 Merge pull request #1217 from PX4/mavlinkrates2
Mavlink: don't use mavlink helpers
2014-07-31 11:29:10 +02:00
Lorenz Meier 2b71067618 Code style fixes 2014-07-31 11:28:17 +02:00
Lorenz Meier 9d7e3feffc airspeed: Filter slightly more, just a touch to not induce phase delay 2014-07-31 11:18:59 +02:00
Lorenz Meier fbbfe61d74 Add missing lock 2014-07-31 10:49:28 +02:00
Lorenz Meier 3a32ffa90b Merge pull request #1222 from PX4/asfilter
Airspeed filtering, reinstate TECS for testing
2014-07-31 10:25:02 +02:00
Lorenz Meier edccc826a1 Improved comment of bridge header 2014-07-30 21:16:29 +02:00
Lorenz Meier cec472ecea Merge branch 'master' into mavlinkrates3 2014-07-30 19:54:49 +02:00
Lorenz Meier 391a5c82cb Print avionics voltage 2014-07-30 19:54:40 +02:00
Lorenz Meier 5bad95c92d make GCC happy 2014-07-30 19:52:02 +02:00
Lorenz Meier 05e253b357 Proper locking for message send calls 2014-07-30 19:49:01 +02:00
Lorenz Meier 39aa9112ba Fix threading in FW pos controller 2014-07-30 17:56:17 +02:00
Lorenz Meier 1dc23d0c49 Disable mTECS until runtime error is better understood 2014-07-30 17:41:45 +02:00
Lorenz Meier fa2e3bc902 Merge branch 'master' of github.com:PX4/Firmware into asfilter 2014-07-30 17:19:07 +02:00
Lorenz Meier e3da7f564f NaN check and better init in lowpass 2014-07-29 21:36:55 +02:00