Commit Graph

6648 Commits

Author SHA1 Message Date
nopeppermint
52fca5b7a1 correct comments 2015-05-13 22:24:32 +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
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
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
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
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
Lorenz Meier
0d1d92484b MAVLink app: Parameter docs and new test parameter 2015-05-06 19:39:17 +02:00
Lorenz Meier
150c5d2d8c Commander: parameter style change 2015-05-06 19:38:53 +02:00
Andreas Antener
95803a774a update param docs, change default back to old ekf for inav based estimation 2015-05-06 11:37:02 +02:00
Lorenz Meier
9892f12d2e Attitude filter for multirotors: Let users choose between filters 2015-05-06 09:16:34 +02:00
Lorenz Meier
6c859245e2 Merge pull request #2013 from PX4/attitude_estimator_q
attitude_estimator_q added
2015-05-05 20:29:51 +02:00
Lorenz Meier
8f606cd491 Merge pull request #2131 from PX4/sensor_cal_fix
fix accel calibration
2015-05-05 20:17:41 +02:00
Roman Bapst
0217e2ed56 fix accel calibration: rotate sensor values into board frame 2015-05-05 18:41:50 +02:00
Andreas Antener
cd4154d805 Revert "Merge pull request #1819 from PX4/chan16" because of #2113
This reverts commit f8c8876642, reversing
changes made to de3888bed7.
2015-05-05 14:41:53 +02:00
Lorenz Meier
577bdf3a0d Merge pull request #2120 from DonLakeFlyer/BurstDownload
New burst mode ftp file download
2015-05-04 17:24:01 +02:00
Lorenz Meier
e09f5d2871 IO driver: Ensure comms protocol cannot get into integer overflow on bad control outputs. Fixes #2119. 2015-05-04 14:59:07 +02:00
Lorenz Meier
980d9bcf3e IO driver: Code style 2015-05-04 14:55:19 +02:00
Lorenz Meier
0e78e38cda commander: Use pre-rotated topic in board frame 2015-05-04 14:06:19 +02:00
Andreas Antener
86cd484b82 convert -PI to PI attitude range to -1 to 1 for gimbal output 2015-05-04 13:10:58 +02:00
Lorenz Meier
da7754e9c7 Merge pull request #2101 from PX4/ESC_calibration
Esc calibration
2015-05-04 13:00:40 +02:00
Don Gagne
46da294ffb New bust mode ftp file download 2015-05-03 19:26:54 -07:00
Thomas Gubler
0b5e6bdf97 Merge pull request #2117 from PX4/fwattincludes
fix ecl roll yaw controller includes
2015-05-03 10:13:38 +02:00
Thomas Gubler
d837bf4a0a fix ecl roll yaw controller includes 2015-05-03 08:54:08 +02:00
Thomas Gubler
44153eeaa1 ros perf counter dummy: fix warning about missing return 2015-05-02 21:46:37 +02:00
Roman Bapst
c3111ecadf added option for esc calibration 2015-04-28 15:15:46 +02:00
Roman Bapst
be03f98d64 added esc calibration routines 2015-04-28 15:15:46 +02:00
Roman Bapst
9eac4b995f fixed message ID 2015-04-28 12:15:42 +02:00
Roman Bapst
bd1c3363df added new vtol mav types 2015-04-27 22:22:52 +02:00
Simon Wilks
ef63babb71 Make sure circuit breakers are ready before the first preflight check call. 2015-04-27 13:30:37 +02:00
Simon Wilks
868b9b33ed Make sure we log the airspeed check to the console as well. 2015-04-27 13:30:37 +02:00
Lorenz Meier
1420a0c74c Sensors: Be less verbose 2015-04-27 09:07:53 +02:00
Lorenz Meier
16b033982c Dataman: Be more compact in boot output 2015-04-27 09:07:53 +02:00
Lorenz Meier
3f8c81433e commander: Provide more useful mission feedback 2015-04-27 09:07:53 +02:00
Lorenz Meier
d326106980 RGB led: Let user know we just did not find one 2015-04-27 09:07:53 +02:00
Lorenz Meier
ebaac07ab2 PX4 flow driver: Let user know we just did not find one 2015-04-27 09:07:53 +02:00