Commit Graph

17705 Commits

Author SHA1 Message Date
Lorenz Meier 268b2e3546 Improve yaw behaviour in RTL 2016-04-23 15:47:00 +02:00
Lorenz Meier 50433c5eee Commander: Better RTL output 2016-04-23 15:12:20 +02:00
Lorenz Meier 36e2bdf876 Commander: Support battery failsafe 2016-04-23 14:52:37 +02:00
Lorenz Meier 5b897e095a Generalize RTL handling 2016-04-23 14:52:30 +02:00
Lorenz Meier a49ba1a383 Sensors: Code style 2016-04-23 14:45:12 +02:00
Lorenz Meier 7d57713dd5 Start simulator after params have been loaded and set 2016-04-23 14:33:10 +02:00
Lorenz Meier 19f2a7bff0 Only publish battery if we can measure something, initialize battery topic in commander correctly 2016-04-23 14:29:25 +02:00
Lorenz Meier 4b0f1a6fb1 Battery lib: Fix interfaces and params 2016-04-23 14:25:21 +02:00
Lorenz Meier 0733651d01 Simulator: Fix battery interface 2016-04-23 14:25:01 +02:00
Lorenz Meier 803880a9f8 MAVLink: Fix current reporting 2016-04-23 14:24:36 +02:00
Benoit Landry 1b7319d2e5 adding the position control mode change for accel control back to the commander 2016-04-22 10:31:52 +02:00
Benoit Landry 95faba391a accel control in pos controller 2016-04-22 10:31:52 +02:00
Benoit Landry ce810542e2 simple NED acceleration control interface 2016-04-22 10:31:52 +02:00
Robert Dickenson 2dac97fe68 Add required rotation option to driver startup command and fix a couple of details in warnings/comments 2016-04-22 10:30:19 +02:00
Robert Dickenson b797657694 remove the commented out WARN as it's no longer an issue 2016-04-22 10:30:19 +02:00
Robert Dickenson 91241626a9 change type mag_scale to type struct mag_calibration_s for compatibility with master (only noted this thanks to travis build test) 2016-04-22 10:30:19 +02:00
Robert Dickenson cb3c625ea4 Apply AStyle to fixup formating 2016-04-22 10:30:19 +02:00
Robert Dickenson 630146686e Comment out line which checks for attempt to set sampling rate beyond that supported by device. 2016-04-22 10:30:19 +02:00
Robert Dickenson edd17771b1 Quiet an annoying warning 2016-04-22 10:30:19 +02:00
Robert Dickenson 45a601b9c1 New driver for the LIS3MDL magnetometer. 2016-04-22 10:30:19 +02:00
Lorenz Meier ff800a4c97 MAVLink app: Save stack for file name handliling, log only when armed 2016-04-22 10:28:13 +02:00
Lorenz Meier 851b5d02a9 Fix potential string overflow corner case 2016-04-22 09:36:07 +02:00
Lorenz Meier b046f93173 Better MAVLink app error reporting 2016-04-22 09:34:02 +02:00
Lorenz Meier 4077616264 Significantly reduce stack size needed for calibration in commander 2016-04-22 09:03:57 +02:00
Nicolas de Palezieux f2c31ec4da passthrough: stop commander s.t. it doesn't disarm. Unfortunately this makes it impossible to stop the no-SD-card beeping with the safety switch 2016-04-22 08:50:25 +02:00
Nicolas de Palezieux 8475b32909 fixes issue with sending PWM signals to ESCs in passthrough mode 2016-04-22 08:50:25 +02:00
Mark Charlebois 578d1f1f24 Removed csr_gps from module list
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-04-22 08:49:26 +02:00
Mark Whitehorn 37bd291446 fix regression which broke rattitude mode 2016-04-22 08:40:40 +02:00
Lorenz Meier c2f88c78b4 Fix battery current integration issue 2016-04-21 21:32:18 +02:00
Julian Oes 8e5091703c commander: no message due to LED/buzzer not found
The LED init and Buzzer init messages were only annoying and not helpful
on Snapdragon and SITL. Therefore they are replaced with only developer
printfs.
2016-04-21 21:22:52 +02:00
Nicolas de Palezieux 8c246b3219 mavlink_receiver: only publish the distance measurement of the mavlink flow message on uORB if they are valid
On the snapdragon, optical flow is computed in a separate process and sent to the mainapp via mavlink. Distance measurements come from a range sensor and are already published on uORB.
Here we make sure that meaningless distance values in the mavlink optical flow message do not interfere with the ones from other sources.
2016-04-21 18:18:08 +02:00
Julian Oes 88626cf5f1 px4io: remove leftover printf 2016-04-21 13:34:46 +02:00
Julian Oes 482ce55d57 px4io: allow 0 as a PWM signal 2016-04-21 13:32:38 +02:00
Julian Oes d5cc9e0873 snapdragon_rc_pwm: allow the driver to be stopped 2016-04-21 13:00:08 +02:00
Lorenz Meier 835ee4d709 Commander: Better status feedback about power status 2016-04-21 10:36:14 +02:00
Lorenz Meier ef69f74977 Do not use low level debug output on USB resume 2016-04-21 10:35:57 +02:00
Lorenz Meier c8c7c84110 Simplify ADC driver 2016-04-21 10:35:44 +02:00
Lorenz Meier 5569d5444b Fix incorrect use of constant 2016-04-21 10:02:52 +02:00
sander 3307c71e6d Additional yaw handling on land 2016-04-21 09:32:33 +02:00
sander e2812e34f8 Restore yaw orientation on RTL descend 2016-04-21 09:32:33 +02:00
sander f5d3871b9c Fix RTL vtol back transition 2016-04-21 09:32:33 +02:00
Andreas Antener e42206fc61 use waypoint type for RTL descent phase 2016-04-21 09:32:33 +02:00
Andreas Antener 433eeb3d09 make landing in RTL default for VTOL capable vehicles 2016-04-21 09:32:33 +02:00
Andreas Antener f224375641 VTOL: transition to MC before descent in RTL 2016-04-21 09:32:33 +02:00
Lorenz Meier af02b860b3 Revert "bug fixes for sitl cmake files"
This reverts commit 76df4ecf34.
2016-04-21 08:39:28 +02:00
jwilson f76bc2aa18 Adding additional changes to the legacy driver config files, originally in the non-legacy driver config files. 2016-04-21 07:57:30 +02:00
jwilson d2ecd3c9f5 Modify config files to incorporate changes made in the corresponding non-legacy CMake config files. 2016-04-21 07:57:30 +02:00
jwilson fb97edd8af Adding new CMake config files which will be used to generate a build which uses the legacy sensor drivers. This is only temporary until integration with the corresponding PX4 DriverFramework drivers is complete. 2016-04-21 07:57:30 +02:00
SimsGautam 76df4ecf34 bug fixes for sitl cmake files 2016-04-20 22:28:39 +02:00
Nicolae Rosia fff535857d drivers/gps: fix segfault when parsing arguments
running gps command without parameters results in segfault
due to illegal access to unallocated memory

Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2016-04-20 21:50:10 +02:00