Commit Graph

20279 Commits

Author SHA1 Message Date
Dennis Shtatnov 1ab6635ffe ACKs for syslink radio parameters. Fixes #6005 2016-12-11 09:52:24 +01:00
Lorenz Meier d817d331fd Add set trim API for helicopter mixer 2016-12-10 14:45:49 +01:00
Bart Slinger a7c8d77453 Generic helicopter mixer
fix code style
2016-12-10 14:45:49 +01:00
Mark Whitehorn d8d9ab1bfb switch fmu-v2 config back to old logger: config now identical to master 2016-12-10 12:56:39 +01:00
Mark Whitehorn 88126e560f remove trim command: replaced by trim parameters 2016-12-10 12:56:39 +01:00
Mark Whitehorn fc906a79b0 delete commented code 2016-12-10 12:56:39 +01:00
Mark Whitehorn 086043a237 remove unused variable 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
Mark Whitehorn f0b41a0e52 change main trims to normalized values 2016-12-10 12:56:39 +01:00
Mark Whitehorn dbc149c224 change trim units from absolute usec to normalized values 2016-12-10 12:56:39 +01:00
Mark Whitehorn d8528f46ce remove DEBUG_BUILD from fmu.cpp compile flags 2016-12-10 12:56:39 +01:00
Mark Whitehorn 764101e41e bump parameter minor version 2016-12-10 12:56:39 +01:00
Mark Whitehorn 876ab45bf3 fix errors in crazyflie and navio builds 2016-12-10 12:56:39 +01:00
Mark Whitehorn d4c707e698 remove INAV and switch to new logger for fmu-v2 builds
roughly 10K bytes below the 1MiB limit
2016-12-10 12:56:39 +01:00
Mark Whitehorn e80ef34b0d retest FMU control latency 2016-12-10 12:56:39 +01:00
Mark Whitehorn 009a413438 fix argument order in pwm_limit_calc call, clean up
note that FMU does not update AUX pwm outputs if no RC signal
2016-12-10 12:56:39 +01:00
Mark Whitehorn f3c3d1f7f9 fix rebase merge error 2016-12-10 12:56:39 +01:00
Mark Whitehorn 257e236c92 add errno to error message 2016-12-10 12:56:39 +01:00
Mark Whitehorn 5601ca19de astyle 2016-12-10 12:56:39 +01:00
Mark Whitehorn 0ccfcab010 fmu trims still not working 2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz bb52a77194 [PX4IO/PWM driver] Fixed a bug in px4io driver 2016-12-10 12:56:39 +01:00
Mark Whitehorn 82bfaf3967 debugging fmu mode_pwm4 not recognized 2016-12-10 12:56:39 +01:00
Mark Whitehorn ea83b67bd8 add trim parameter handling 2016-12-10 12:56:39 +01:00
Mark Whitehorn 9ced4afca3 add AUX trim parameters 2016-12-10 12:56:39 +01:00
Mark Whitehorn a0c8a78a14 use trim values to set mixer:scaler.offset
clamp mixer output offset to [-.2,.2] ([-2000, 2000] in mixer file)

add 8 main PWM trim parameters

add long desc to parameters and bump minor parameter version
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
David Sidrane 4494182bfc Update rc.interface 2016-12-10 12:49:25 +01:00
Anton Matosov fff4934743 Implement the way to run posix simulator directly from IDE without the need to reconfigure command lines, but use runner created via CMake
Steps to debug:
 * Run gazebo (or any other sim) server and client viewers via the terminal: `make posix_sitl_default gazebo_none_ide`
 * In your IDE select `px4_<mode>` target you want to debug (e.g. `px4_iris`)
 * Start debug session directly from IDE

This approach significantly reduces the debug cycle time because simulator (e.g. gazebo) is always running in background and you only re-run px4 process which is very light.
2016-12-10 12:48:53 +01:00
Anton Matosov a2c0391bcc Rework TPA to have per-component setup and use more stable and intuitive function
This also adds a ZMR250 config.
2016-12-10 12:42:47 +01:00
Lorenz Meier 1bef1ae34a Make space in test config 2016-12-10 01:00:11 +01:00
Andreas Antener 64778b9540 Load monitor: added parameter to disable stack check 2016-12-09 21:12:12 +01:00
Andreas Antener 72f52c920c Load monitor: reduce scope of scheduler locking 2016-12-09 21:12:12 +01:00
Andreas Antener 806b8d3a67 Load monitor: free counter 2016-12-09 21:12:12 +01:00
Andreas Antener a0cf938ced Load monitor: lock scheduler for stack check and added performance counter for stack checking 2016-12-09 21:12:12 +01:00
Andreas Antener dda0de09dd Load monitor: optimize performance of stack checking 2016-12-09 21:12:12 +01:00
Andreas Antener a74269ec60 Load monitor: adding stack logging to logger 2016-12-09 21:12:12 +01:00
Andreas Antener c0c75d07c9 Removed 'degree' character that caused python3 to act up while pruning the mixer file 2016-12-09 21:12:12 +01:00
Andreas Antener 62103be7ba Load monitor: report and log processes low on stack 2016-12-09 21:12:12 +01:00
Michael Schaeuble b0ee5256d5 Disable LPE in px4fmu-v2_default
With GCC 4.9 the binary is to large for the flash memory.
This is why we disabled LPE on that platform.
2016-12-09 18:59:42 +01:00
Michael Schaeuble bdb76d013e Fix incorrect MPU9250 device ID
We propagate the bus parameters from the bus interface to the sensor
devices. Thus, the device ID of the sensor driver is set to the correct
bus id and address. Otherwise it would be zero, which is an issue if several MPU9250s
are running at the same time.
2016-12-09 18:59:42 +01:00
Paul Riseborough 1fbc688757 Commander: Fix pre-flight EKF check errors 2016-12-09 17:58:23 +01:00
Beat Küng 9442c89691 Tools/upload_log.py: add script to upload ulog file to logs.px4.io 2016-12-09 17:57:29 +01:00
Julian Oes 1424994bc0 navigator: don't takeoff in loiter on ground
This fixes the following corner case:
1. Upload a mission.
2. Set mission mode.
3. Set loiter mode.
4. Arm.
At this point it will shoot up and go to the takeoff waypoint even
though we're not in mission but in loiter mode.

The fix makes sure that the triplet is reset to invalid (and idle) in
loiter mode if we're landed and disarmed.
It will lead to the vehcle sit in idle on the ground until you issue a
start mission (or takeoff) command.
2016-12-08 15:07:14 +01:00
Dennis Mannhart dd1ca0daa2 correctin from user input to roll and pitch 2016-12-08 15:06:00 +01:00
Dennis Mannhart 6906d966ce manual input mapping to roll and pitch 2016-12-08 15:06:00 +01:00
Roman 0c49abbef8 standard vtol: correctly modify attitude for pusher assist
- fix a bug where the wrong rotation order was used to compute the attitude
setpoint when using the pusher assist feature

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-08 15:05:43 +01:00
Samay Siga 6b08ba6272 Update 13010_claire
updated VT_FW_MOT_OFFID
2016-12-07 20:54:49 +01:00
Samay Siga e3ef206846 Update claire.aux.mix
Replaced individual elevator and aileron into "elevons"
2016-12-07 20:17:43 +01:00
Daniel Agar 1941dfca87 add tests code coverage
-closes #5862
2016-12-07 20:17:00 +01:00