Daniel Agar
daee7a4e4e
commander preflight delete individual sensor selftest
2018-08-02 08:05:52 +02:00
Daniel Agar
92ff391c97
ekf2 fix GPS fix_type comparison
...
- fixes Coverity CID 306253
2018-08-02 07:46:43 +10:00
Lorenz Meier
18c46f562a
Update README.md
2018-08-01 20:08:55 +02:00
Lorenz Meier
ebb1ef623a
Update README.md
2018-08-01 20:08:37 +02:00
Daniel Agar
2750541bfb
appveyor limit branch builds ( #10112 )
2018-08-01 14:03:03 -04:00
Daniel Agar
b5092bd183
Update submodule micro-CDR to latest Tue Jul 31 20:26:41 CDT 2018 ( #10110 )
...
- micro-CDR in PX4/Firmware (8f2facbac528cf94b6ac86828e58801c8c572994): https://github.com/eProsima/micro-CDR/commit/df48e526feca3bd140b0adf12c3c847a6d78ed79
- micro-CDR current upstream: https://github.com/eProsima/micro-CDR/commit/92efe34b65622aef3d41315230cec0bce37a27e3
- Changes: https://github.com/eProsima/micro-CDR/compare/df48e526feca3bd140b0adf12c3c847a6d78ed79...92efe34b65622aef3d41315230cec0bce37a27e3
2018-08-01 14:02:24 -04:00
Roman Bapst
8b1381ead9
update ecl l1 and usage for new roll angle setpoint slew rate limit ( #10005 )
...
* added ability to slew rate limit the roll angle output of the l1 controller
* FixedWingPositionControl: this avoids the steps in roll angle setpoint which occur when the controller
switches to a new waypoint
* GroundRoverPositionControl: adapted to new l1 API
2018-08-01 14:01:41 -04:00
Daniel Agar
ac0988d519
travis-ci coverity properly run and submit scan
...
- the ignored warning (-Wno-missing-field-initializers) can be dropped in the future when GCC 4.8 is no longer supported
2018-08-01 13:50:42 -04:00
Daniel Agar
639a066cac
Update submodule mavlink v2.0 to latest Tue Jul 31 20:26:26 CDT 2018 ( #10070 )
...
- v2.0 in PX4/Firmware (6d662c5531 ): https://github.com/mavlink/c_library_v2/commit/fb2c4f819819e2348285bc9e03ab711ceb6c4cc1
- v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/7014d02d665d5e8fa33f084f7c5f4dbcfd61b4b0
- Changes: https://github.com/mavlink/c_library_v2/compare/fb2c4f819819e2348285bc9e03ab711ceb6c4cc1...7014d02d665d5e8fa33f084f7c5f4dbcfd61b4b0
2018-08-01 13:32:12 -04:00
Daniel Agar
daeb2d8417
travis-ci update coverity_scan build dependencies ( #10107 )
2018-08-01 10:18:26 -04:00
Daniel Agar
6d662c5531
AV-X configure i2c network switch at init
2018-07-31 21:44:38 +02:00
Beat Küng
4b42cfaa6c
simulator_mavlink: improve error output
2018-07-31 11:51:15 +02:00
Beat Küng
2c148f07bd
cdev: delete the prev_pollset in unlocked state
...
Because it uses a semaphore.
2018-07-31 11:49:45 +02:00
mcsauder
1fe526b8eb
Updated and added full stops to comments and did some comment/whitespace formatting in the startup scripts.
2018-07-31 09:06:03 +02:00
Beat Küng
13f2315314
CDev: add DEVICE_POLL_DEBUG macro that removes all poll debug output from the build by default
...
Reduces 'uorb_tests latency_test' by about 1us
2018-07-30 23:06:32 +02:00
Beat Küng
99fd1f7213
CDev::poll_notify_one: remove checking the semaphore counter
...
The check is unnecessary. In the worst case the semaphore gets unlocked
twice, but it's not an issue because the waiter is only interested in the
first sem_post(), and the semaphore is then not used anymore.
2018-07-30 23:06:32 +02:00
Beat Küng
72773b75c3
CDev::poll: disable IRQs instead of using an expensive semaphore
...
poll() is one of the heavily used methods and thus needs to be optimized
as much as possible.
Test on Pixracer: uorb_tests latency_test
Before:
uORB note: ---------------- LATENCY TEST ------------------
INFO [uorb_tests] mean: 40.4320 us
INFO [uorb_tests] std dev: 1.3466 us
INFO [uorb_tests] min: 39 us
INFO [uorb_tests] max: 57 us
INFO [uorb_tests] missed topic updates: 0
This Patch:
uORB note: ---------------- LATENCY TEST ------------------
INFO [uorb_tests] mean: 31.3480 us
INFO [uorb_tests] std dev: 1.4584 us
INFO [uorb_tests] min: 30 us
INFO [uorb_tests] max: 45 us
INFO [uorb_tests] missed topic updates: 0
2018-07-30 23:06:32 +02:00
Beat Küng
fbd553c528
uorb tests: improve & extend latency test output
...
- min/max
- std dev
- number of missed updates
2018-07-30 23:06:32 +02:00
Beat Küng
00ebffb0dd
uorb tests: run at max priority & increase stack size
...
- running at max priority significantly decreases jitter for the latency
test, providing more consistent results
- stack size increase is required for the latency test
2018-07-30 23:06:32 +02:00
Beat Küng
1514ec3a5a
top: use SCHED_PRIORITY_MAX instead of 255 to specify the priority
2018-07-30 23:06:32 +02:00
rolandash
12f96adbe2
delete member value initialization in constructor.
2018-07-30 22:54:20 +02:00
rolandash
506d761d58
use local brightness variable.
2018-07-30 22:54:20 +02:00
rolandash
c1830fd9ce
format spaces.
2018-07-30 22:54:20 +02:00
rolandash
7d68c52835
correct indent.
2018-07-30 22:54:20 +02:00
rolandash
82d5ac56a9
fixed rgb pwm led breathing.
2018-07-30 22:54:20 +02:00
TSC21
ca42483794
update msgs fields from camelCase to snake_case so rosidl_generate_interfaces() is able to generate code for ROS IDL files
2018-07-30 21:40:28 +02:00
Daniel Agar
553d68b80f
Makefile add doxygen helper
2018-07-30 21:36:35 +02:00
Dennis Mannhart
00e09524f7
SearchMin and BezierQuad: replace define with static constexpr ( #10050 )
2018-07-30 12:28:27 -04:00
Daniel Agar
6660418c31
rc_input make RC_SCAN_STRING static constexpr
2018-07-30 10:32:56 -04:00
Daniel Agar
0069141ffc
px4fmu increase actuator controls poll timeout
2018-07-30 10:32:56 -04:00
Daniel Agar
cdf828cbda
rc_input don't store cycle_timestamp
2018-07-30 10:32:56 -04:00
Daniel Agar
46254420be
rc_input add perf counters
2018-07-30 10:32:56 -04:00
Daniel Agar
658237f36a
px4fmu move RC input to new rc_input driver
2018-07-30 10:32:56 -04:00
Daniel Agar
4e05f26659
ms4525 driver extend to support ms4515
2018-07-30 10:24:40 +02:00
mcsauder
ac8f44268b
Added remaining two channels of PWM_AUX_DIS disarm parameter set commands, remove trailing whitespace from pwm_params_aux.c and pwm_params_main.c, gps/params.c and added block comment headers to separate sections instead of whitespace.
2018-07-30 09:36:44 +02:00
Daniel Agar
56a7c63789
version lib fix BUILD_URI properly
2018-07-30 09:30:23 +02:00
Daniel Agar
28610a2b62
AV-X lps22hb only start on SPI
2018-07-30 00:36:05 -04:00
Daniel Agar
4f0c9c501a
lps22hb cleanup startup options
2018-07-30 00:36:05 -04:00
Daniel Agar
a4a040aa45
ADIS16477 run onboard self test during init
2018-07-29 18:09:34 -04:00
Daniel Agar
cc1c37ffd1
ADIS16477 improve reset and probe logic
2018-07-29 18:09:34 -04:00
Daniel Agar
cc96e5ec5e
sensor messages remove unused fields and improve comments
2018-07-29 21:04:21 +02:00
Dennis Mannhart
fc8a05f636
estimataor reset counter: set Flighttaskcounter equal reset-counter during activation ( #10035 )
...
- fixes #10033
2018-07-28 10:08:58 -04:00
Daniel Agar
921e9f6e09
commander params fix COM_VEL_FS_EVH unit
...
- fixes #10028
2018-07-28 10:03:19 -04:00
Daniel Agar
5e6b35758a
commander params fix COM_OF_LOSS_T unit
2018-07-28 10:03:19 -04:00
Beat Küng
1fb5353a60
rc: add unit test for CRSF RC
...
Also cleanup other RC unit tests
2018-07-28 15:23:09 +02:00
Beat Küng
6e24bbbaaf
fmu: add CRSF RC and Telemetry support
...
- Telemetry is only enabled on omnibus, since on Pixhawk it seems we cannot
write to the RC UART due to how the board is wired
- For the Telemetry the UART needs to be opened RW
2018-07-28 15:23:09 +02:00
Beat Küng
04dbd40723
rc lib: add CRSF Crossfire protocol (RC and Telemetry)
2018-07-28 15:23:09 +02:00
Beat Küng
74e4619042
rc lib: cleanup, move structs out of common_rc.h
2018-07-28 15:23:09 +02:00
Beat Küng
388b963dd8
refactor fmu: fix naming convention for raw_rc_count & raw_rc_values
2018-07-28 15:23:09 +02:00
Beat Küng
3816145d59
fmu: fix init & use of _control_subs
...
0 is a valid file descriptor, init (all) to -1 instead
2018-07-28 15:23:09 +02:00