12016 Commits

Author SHA1 Message Date
Thomas Gubler
8a891591a8 make constrain airspeed actually constrain the airspeed 2015-05-16 19:05:31 +02:00
Lorenz Meier
03ef6a30ec Speed up param transmit now that we are faster on USB 2015-05-16 11:43:45 +02:00
Lorenz Meier
2432418751 FTP: Better error reporting, ignore hidden directories 2015-05-16 11:37:41 +02:00
Lorenz Meier
97b8e7a20e mavlink FTP: Speed up transfers by longer bursts 2015-05-15 21:14:40 +02:00
Lorenz Meier
5c53d38652 FMUv2 config: Increase USB TX buf size further to speed up MAVLink FTP transfers 2015-05-15 11:38:06 +02:00
Lorenz Meier
8f8184560b sdlog2: Log at 100 Hz as default 2015-05-15 11:17:08 +02:00
Lorenz Meier
dabcf63c50 mavlink FTP: Drop rate to realistic value 2015-05-15 11:16:48 +02:00
Lorenz Meier
9bd2e376f6 NuttX for FMUv2: Larger USB buffer 2015-05-15 11:16:34 +02:00
Lorenz Meier
f154f6e5e7 MAVLink transmission: Allow faster overall transmissions. 2015-05-15 11:16:11 +02:00
Lorenz Meier
4fb91f47cd Fix mavlink FTP list stack overflow. Fixes #2180, not flight-critical 2015-05-15 11:15:04 +02:00
Lorenz Meier
fe4d2ddc40 Merge pull request #2177 from UAVenture/mp_param_update_launch
Fix parameters in SITL launch files
2015-05-15 09:36:23 +02:00
Andreas Antener
2bcfd4f6f7 rename parameters in launch file to match new MP parameters 2015-05-15 09:26:07 +02:00
Lorenz Meier
fa8dc57236 mavlink app: Only send params if the system has booted. 2015-05-15 08:31:45 +02:00
Lorenz Meier
6b285a73bb Merge pull request #2174 from nopeppermint/addusart6_discovery
Add usart 6 to px4-stm32f4discovery board
2015-05-14 18:30:14 +02:00
Lorenz Meier
8a73f91ad6 Commander: Be less verbose about param saves to focus the user attention to relevant output 2015-05-14 17:33:07 +02:00
Lorenz Meier
e7c3032218 Mag calibration: Accept less rotation to start the UI, ensure calibration abort does indeed abort. 2015-05-14 17:31:05 +02:00
Lorenz Meier
33338ee2d0 Q attitude estimator: Comment undocumented params 2015-05-14 17:12:31 +02:00
Lorenz Meier
8ac81515ce EKF estimator: Remove unused params 2015-05-14 17:12:31 +02:00
Lorenz Meier
a5e69359fc Merge pull request #2167 from PX4/default_I_gains
set default, weak rate I gains for multirotors
2015-05-14 00:40:46 +02:00
Lorenz Meier
ea278ea926 Merge pull request #2169 from PX4/fix_LED
make main LED show low and critical battery status
2015-05-14 00:39:56 +02:00
Lorenz Meier
7d775eb112 Merge pull request #2170 from andrea-nisti/master
mpc parameter INAV_W_Z_VIS_P increased
2015-05-14 00:39:22 +02:00
nopeppermint
169f112f0d change name in board.h 2015-05-13 22:59:30 +02:00
nopeppermint
52fca5b7a1 correct comments 2015-05-13 22:24:32 +02:00
nopeppermint
b0efb24468 add USART6 on PC6(TX) and PC7(RX) to discovery 2015-05-13 22:21:59 +02:00
Lorenz Meier
14b09d6367 Merge pull request #2171 from NaterGator/master
Fix potential null pointer deref in Mavlink dtor if task_main returns error
2015-05-13 19:17:15 +02:00
Nate Weibley
b4e7b041ca Fix potential null pointer deref if Mavlink start fails before task_main loop
LL_APPEND is called just before the loop spins up but various error conditions can cause the task to exit before then.
When that happens Mavlink::start_helper calls delete on the instance which tries to prune it from the global list.
If this is the first Mavlink instance to attempt starting the list head is null and we hardfault in the Mavlink dtor.

Only call LL_DELETE after checking the list head for a null pointer.
2015-05-13 11:33:11 -04:00
Andrea Nistico
16aa03e30a mpc parameter INAV_W_Z_VIS_P increased 2015-05-13 17:22:10 +02:00
Roman Bapst
90c3aec1fd make main LED show low and critical battery status 2015-05-13 16:24:44 +02:00
Lorenz Meier
66b87ac761 Fix state-level HIL. Reported by @s3erjaeh 2015-05-13 16:04:33 +02:00
Lorenz Meier
6f94951050 Fix sdlog2 stopping on param write. Found by Severin Leuenberger 2015-05-13 15:46:35 +02:00
Lorenz Meier
890c3af13c multiplatform: Update yaw P param name 2015-05-13 15:34:07 +02:00
Roman Bapst
542dc9f65d added default rate I gain for multicopters. added default gains for FireFly6 in mc mode (from Simon Wilks) 2015-05-13 15:28:02 +02:00
Lorenz Meier
efb60ab779 multiplatform pos controller: Rename params to prevent mixup with MPC params 2015-05-13 15:19:16 +02:00
Lorenz Meier
e400ec586d multiplatform att controller: Rename params to prevent mixup with MC params 2015-05-13 15:18:50 +02:00
Lorenz Meier
164a254214 Merge pull request #2143 from PX4/mc_pos_D_reset
mc_pos_control: always update previous velocity
2015-05-13 13:58:15 +02:00
Lorenz Meier
b3ed0cf36b Navigator: be more verbose about RTL 2015-05-11 09:37:42 +02:00
Lorenz Meier
a124bc07aa Ensure SYS_AUTOSTART param is always selected 2015-05-10 23:58:25 +02:00
Lorenz Meier
7f3f572c40 Always boot, even with no pressure sensor or ADC. Fixes #2151 2015-05-10 10:21:16 +02:00
tumbili
b6441d2966 implemented new mixer strategy 2015-05-10 00:42:53 +02:00
Lorenz Meier
29eeb724a1 commander: Enforce rotation during mag calibration step 2015-05-08 11:23:19 +02:00
Lorenz Meier
3be1fc7d42 commander gyro calibration: Do not require a specific position, automatically start a retry after motion on the first try 2015-05-08 11:01:19 +02:00
Thomas Gubler
cc62033190 improve mavlink set_attitude_target handling
port #1920 to mavlink_receiver
fixes #1921
2015-05-07 16:44:54 +02:00
Roman Bapst
1d544e028d mc_pos_control: always update previous velocity to avoid spikes due to differentiation 2015-05-07 15:04:59 +02:00
Lorenz Meier
5003875911 Merge pull request #2141 from PX4/quat_sp
copy quaternion setpoint into attitude setpoint topic
2015-05-07 14:29:26 +02:00
tumbili
5cf8efcc60 copy quaternion setpoint into attitude setpoint topic 2015-05-07 12:36:50 +02:00
Simon Wilks
ea8ba79481 Read the current flight termination circuit breaker value, not just updated values. 2015-05-07 08:27:41 +02:00
Andrew Tridgell
db8dd000e3 l3gd20: follow same pattern as lsm303d for duplicate rejection 2015-05-07 15:16:34 +10:00
Andrew Tridgell
a710159263 mpu6000: sample at 200usec faster rate to avoid aliasing
this runs the mpu6000 200usec faster than requested then detects and
disccards duplicates by comparing accel values. This avoids a nasty
aliasing issue due to clock drift between the stm32 and mpu6000
2015-05-07 15:16:32 +10:00
Andrew Tridgell
3ac95fb581 lsm303d: run sampling 200usec faster to avoid aliasing
this runs the sampling of the accelerometer 200usec faster than
requested and then throw away duplicates using the accelerometer
status register data ready bit. This avoids aliasing due to drift in
the stm32 clock compared to the lsm303d clock
2015-05-07 15:16:29 +10:00
Roman Bapst
525e605b92 vtol: publish actuator controls in manual mode 2015-05-06 22:53:56 +02:00