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
Mark Whitehorn
f24b199775
add HIL_STATE message handler and publish to uORB
...
add missing break
uorb topics generator: add multi-topics to the list of all topics
topic names with '# TOPICS <name>' were previously not in orb_get_topics().
This means the logger could not find them.
Affects for example actuator_controls_0.
px_generate_uorb_topic_files.py: add multitopics to generate_topics_list_file_from_files method
switch simulated attitude to new topic: vehicle_attitude_groundtruth
logger: add input_rc topic. needed for web plotting
input_rc.msg: remove timestamp_publication, use timestamp instead
mixer.cpp: warnx -> PX4_ERR
logger: initialize timer_call to 0 (hrt_call_every reads some fields)
position_setpoint_triplet topic: set the timestamp when publishing
px_generate_uorb_topic_files.py: add multitopics to generate_topics_list_file_from_files method
add vehicle_attitude_groundtruth to default topics
change to hil_state_quaternion
2016-09-19 13:05:14 +02:00
Beat Küng
44ac7d11e7
mixer.cpp: warnx -> PX4_ERR
2016-09-19 13:03:40 +02:00
Bart Slinger
79d8d580b1
Append AUX mixer for HITL simulation ( #5457 )
2016-09-07 12:09:22 +02:00
Dennis Shtatnov
e91821d2a2
Merge Crazyflie motor driver with FMU
...
Comment corrections
2016-09-04 19:12:08 +02:00
Dennis Shtatnov
9c8e56401b
Working motors and mtd for CF2
2016-09-04 19:12:08 +02:00
Nate Weibley
22d286b9ce
Fix version generation for release builds, #5308 ( #5422 )
2016-08-31 22:03:00 +02:00
Lorenz Meier
f511d49cc2
Improvements to SITL to make paths more flexible. ( #5181 ) ( #5255 )
...
* Path cleanup for SITL.
* Restructured sitl scripts dir.
* Set integration tests to use ekf2 for vtol.
* Fix sitl paths for mac.
2016-08-25 21:47:45 +02:00