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
Beat Küng
49fe19c20f
uavcan_main: fix init & use of _control_subs
...
0 is a valid file descriptor
2018-07-28 15:23:09 +02:00
Beat Küng
442d4410ca
pwm_out_sim: cleanup, avoid unnecessary & incorrect init of _control_subs
...
These need to be set to -1.
2018-07-28 15:23:09 +02:00
Daniel Agar
be3af59c76
lsm303agr flip z axis and properly set scaling and range
2018-07-28 15:22:20 +02:00
Daniel Agar
14cf92d8b2
lsm303agr split main
2018-07-28 15:22:20 +02:00
Daniel Agar
3d3855e87b
AV-X configure default serial on UART5 (J116)
2018-07-28 03:21:01 -07:00
Roman
37f59ad4f5
mavlink: fixed nullptr dereferencing in case unknown mavlink message is
...
forwarded
Signed-off-by: Roman <bapstroman@gmail.com >
2018-07-27 18:41:51 +02:00
Julian Oes
462cf131d5
mavlink: add sysid to UUID
...
To avoid that multiple SITL instances have the same UUID we add the
mavlink system ID to the UUID which is sent via mavlink.
This should resolve the case where multiple vehicles show up with the
same UUID in simulation.
Note that the UUID show in `ver` will still be the same for all
instances.
2018-07-27 11:49:28 +02:00
Matthias Grob
83c0888d80
Appveyor: finally found all install, build and path bugs, commented
2018-07-26 23:10:06 +02:00
Matthias Grob
a31e851fd8
Appveyor: enable build cache and better download command
2018-07-26 23:10:06 +02:00