Lucas De Marchi
c3b462b3d6
motor_test: fix getopt call
...
This was trying to use optarg when it should instead use myoptarg.
2017-01-10 08:34:53 +01:00
Stephan Brown
5a6084de07
param: Add a missing include.
2017-01-06 09:58:58 +01:00
Stephan Brown
e57f6221b2
Rearrange parameter unit tests so they are in alphabetical order.
2017-01-06 09:58:58 +01:00
Stephan Brown
67a484ac34
Make parameter generation also depend on the scripts that run. Address some review comments.
2017-01-06 09:58:58 +01:00
Stephan Brown
92b2395ff6
param: Fix another off by 1 error and a formatting issue.
2017-01-06 09:58:58 +01:00
Stephan Brown
bf57e86dc2
param: Fix an off by 1 issue and some style fixes.
2017-01-06 09:58:58 +01:00
Stephan Brown
fe8deeeed9
param: Add a system command for finding parameters by name.
2017-01-06 09:58:58 +01:00
Andreas Antener
35740b0b59
Mixer test: fix paths for nuttx
2017-01-03 20:32:33 -05:00
Lorenz Meier
3229c4183a
Mixer test: Condition strncpy properly
2017-01-03 20:32:33 -05:00
Lorenz Meier
9e95d88574
Use system define for path length buffer
2017-01-03 20:32:33 -05:00
Lorenz Meier
c6b6d04a19
UART tests: Move shell and fix config restore command
2017-01-03 20:32:33 -05:00
Lorenz Meier
0d5089e3bf
Mixer test: Improve portability
2017-01-03 20:32:33 -05:00
Lorenz Meier
5247f17576
Mixer test: use real defines from IO firmware
...
We use the real defines now and test them against every mixer on the system. This means we should catch transfer errors now before even hitting master.
2017-01-03 20:32:33 -05:00
Lorenz Meier
d0dbddea1b
Extend mixer test case with complex mixer
2017-01-03 20:32:33 -05:00
Lorenz Meier
0810bcfe8e
Polish mixer test, remove any too verbose output
2017-01-03 20:32:33 -05:00
Lorenz Meier
c27728a7aa
Test VTOL test mixers
2017-01-03 20:32:33 -05:00
Lorenz Meier
fb8243d5e1
Mixer test: Fix test, failing right now but showing the real issues
2017-01-03 20:32:33 -05:00
Beat Küng
000d965a5e
fix test_uart_loopback: 0 is a valid file descriptor
2017-01-03 14:44:45 +01:00
Lorenz Meier
9f3fe2a802
Fix unit tests leaking resources
...
This was harmless but none the less is not good style and needs fixing.
2017-01-03 14:44:45 +01:00
Daniel Agar
28971caaf3
partially restore mavlink_tests
2017-01-02 10:14:41 +01:00
Daniel Agar
74231e6656
split tests for SITL ctest
2017-01-02 10:14:41 +01:00
Lorenz Meier
ca096c1257
PWM command: Allow robust error code returns
2016-12-26 15:34:53 +01:00
Simone Guscetti
304afa5629
Changed getopt with px4_getopt which was causing motor_test to always go to the usage function
2016-12-22 11:08:21 +01:00
Lorenz Meier
11ef348a34
PWM: Use same stack size as mixer to limit fragmentation
2016-12-21 11:44:47 +01:00
Beat Küng
5e9bdff205
version: remove FW_GIT & FW_BUILD_URI, use the correct methods instead
...
This is cleanup after rebasing
2016-12-21 11:35:10 +01:00
Beat Küng
41dc34204c
version cleanup: move all version information into version.c and use a common API
...
The provided versioning information is the same, except for some additions,
like OS version (which still need to be implemented on NuttX).
2016-12-21 11:35:10 +01:00
Beat Küng
c662113527
board_name.c: remove the file and HW_ARCH macro, use px4_board_name() instead
...
boards define BOARD_NAME, so board_name() is not necessary. HW_ARCH was
just a wrapper around board_name().
This patch simplifies to having only one common method px4_board_name().
2016-12-21 11:35:10 +01:00
David Sidrane
b7521e1b38
Adding Test for sending break on u[s]arts
2016-12-21 08:34:22 +01:00
David Sidrane
c9f10107c0
Nuttx Upgrade:Adds sem_setprotocol
2016-12-21 08:34:21 +01:00
David Sidrane
d09cd77777
Adding hardfault logging application
2016-12-21 08:34:20 +01:00
David Sidrane
dcc2d1c3d1
I2C changes for upstream NuttX per trasaction freq control
2016-12-21 08:34:20 +01:00
David Sidrane
fd7d399958
Upstream Nuttx restructured directories use micro_hal
2016-12-21 08:34:20 +01:00
Lorenz Meier
92c35f26be
Tests: Correct use of unsubscribe
2016-12-19 20:39:03 +01:00
Lorenz Meier
cc92339602
pwm command: Fix off-by-one in param parsing
2016-12-13 09:18:59 +01:00
Mark Whitehorn
88126e560f
remove trim command: replaced by trim parameters
2016-12-10 12:56:39 +01:00
Mark Whitehorn
6257d9bde1
remove pwm "trim" command; replaced by parameter values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
86252e19e6
clean up other build targets
2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz
619efa7b45
[PX4IO/PWM driver] Added trim values to the PWM output drivers
2016-12-10 12:56:39 +01:00
Anton Matosov
e284a28e25
Fixed formatting
2016-11-19 15:14:18 +01:00
Anton Matosov
4edd12c44a
Make PWM_RATE configurable via QGroundControl
2016-11-19 15:14:18 +01:00
Beat Küng
f7e3e46a92
config command: fix device commands like 'config /dev/accel0 block'
2016-11-06 14:48:20 +01:00
Mark Whitehorn
9603794b9d
set verbose flag for Dcm.renormalize test
2016-11-05 11:05:25 +01:00
Mark Whitehorn
fc73ab5e40
add unit test for Dcm.renormalize()
2016-11-05 11:05:25 +01:00
David Sidrane
86ec703620
Left test_dataman out by default - as it was prior
2016-10-18 00:23:58 +02:00
David Sidrane
bb71aa5b64
Revive test_dataman.c
2016-10-18 00:23:58 +02:00
Andreas Antener
9a219da9c2
Refactored cross sphere line tracking and added a unittest to verify correct operation
2016-10-10 23:05:44 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Lorenz Meier
cf671b5134
Fix tests and re-introduce tests into build
...
Code style fix
2016-09-27 11:56:49 +02:00
Andreas Antener
e7d90b1cd3
reduced the wait time at the end of the motor ramp to not unnecessary stress the system
2016-09-21 08:53:15 +02:00
Andreas Antener
3b58caa32a
Updated motor RAMP timing to match slew rate limiter
2016-09-21 08:53:15 +02:00