1215 Commits

Author SHA1 Message Date
Andrew Tridgell
cdaafff6e4 lsm303d: added detailed logging of accels on extremes
this will log accel values and registers to /fs/microsd/lsm303d.log if
any extreme values are seen
2013-12-10 11:58:39 +01:00
Andrew Tridgell
50d5241985 px4io: moved blue heartbeat LED to main loop
this allows us to tell if the main loop is running by looking for a
blinking blue LED
2013-12-10 11:58:29 +01:00
Andrew Tridgell
97af3d2204 mpu6000: change bus speed based on registers being accessed
this ensures we follow the datasheet requirement of 1MHz for general
registers and up to 20MHz for sensor and int status registers
2013-12-10 11:58:21 +01:00
Andrew Tridgell
8df4d636ab SPI: added set_frequency() API
this allows the bus speed to be changed on the fly by device
drivers. This is needed for the MPU6000
2013-12-10 11:58:15 +01:00
Andrew Tridgell
415417196b lsm303d: print more registers in "lsm303d regdump" 2013-12-10 11:58:08 +01:00
Andrew Tridgell
af049f7cf8 lsm303d: define some more register addresses 2013-12-10 11:58:01 +01:00
Andrew Tridgell
93f3398dfe lsm303d: added 'lsm303d regdump' command
useful for diagnosing issues
2013-12-10 11:57:54 +01:00
Anton Babushkin
39634d1001 px4io driver: bug fixed 2013-11-16 15:54:24 +01:00
James Goppert
1ffb71946d Fixed backside automode typo. 2013-11-14 16:15:30 -05:00
James Goppert
2138a1c816 Improved mode mapping for fixedwing_backside. 2013-11-14 15:24:34 -05:00
James Goppert
ea156f556f Added local position publication to mavlink receiver for HIL. 2013-11-14 15:24:07 -05:00
James Goppert
5c66899bfb Added local position pub to att_pos_esitmator_ekf 2013-11-14 15:23:39 -05:00
James Goppert
ba3681d3a0 Updated backside controller/ added backside config. 2013-11-14 12:34:51 -05:00
Lorenz Meier
2116966b1e Merge branch 'yaw_auto_failsafe' of github.com:PX4/Firmware 2013-11-13 19:39:04 +01:00
Lorenz Meier
2444b68a0a Merge branch 'yaw_pid_fix' of github.com:PX4/Firmware 2013-11-13 19:38:51 +01:00
Anton Babushkin
185bdb05a6 Mavlink VFR message publication fix 2013-11-13 22:30:39 +04:00
Thiago0B
434de4e949 Fix user abort behave in test
Now the pwm ouput return to the last value before test (useful and safer when testing ESCs).
2013-11-11 22:02:40 -02:00
Lorenz Meier
a1398c991e Merge pull request #525 from thomasgubler/airspeed_meas_calibration
fix MEAS airspeed and airspeed calibration
2013-11-10 10:40:45 -08:00
Thomas Gubler
ae9fae5aae fix MEAS airspeed and airspeed calibration 2013-11-10 19:25:38 +01:00
Anton Babushkin
9f4dc0d154 Merge branch 'master' into yaw_pid_fix 2013-11-09 23:31:09 +04:00
Julian Oes
64431a45ba missionlib: Added geo.h include, without this the _wrap_pi function returned garbage (e.g. for the yaw setpoint in auto) 2013-11-09 11:59:23 +01:00
Anton Babushkin
03162f5f0d multirotor_pos_control: failsafe against invalid yaw setpoint in AUTO 2013-11-09 14:11:39 +04:00
Lorenz Meier
c63995e91c Hotfix: Be more aggressive about SPI2 init on v1 boards 2013-11-08 14:22:27 +01:00
Julian Oes
4502c285eb Startup scripts: Start the commander early and let it try to open the mavlink_fd with 20Hz 2013-11-05 19:56:33 +01:00
Lorenz Meier
d3b267c06e Integral fixes, last parts 2013-11-05 09:20:07 +01:00
Lorenz Meier
1358d4cb88 Hotfix: Fix integrator parameters 2013-11-05 07:44:16 +01:00
Lorenz Meier
ed60dc50fc Hotfix: forbid integrator to accumulate NaN values if they ever would occur 2013-11-05 07:43:08 +01:00
Lorenz Meier
3042731d26 Smaller hotfixes for att pos estimator 2013-11-03 18:27:26 +01:00
Lorenz Meier
791695ccd0 Hotfix: Check for out of range accel values 2013-11-03 18:26:39 +01:00
Lorenz Meier
b53d86ed68 Hotfix for mag calibration 2013-11-03 18:26:02 +01:00
Lorenz Meier
8d4ec9b9cd Merge branch 'master' of github.com:PX4/Firmware 2013-11-03 18:17:05 +01:00
Lorenz Meier
ba0687bc5e Matrix and Vector printing cleanup 2013-11-03 18:06:58 +01:00
Lorenz Meier
4865814f92 Fixed typo, added testing - previous corner case now cleanly prevented 2013-11-03 17:58:28 +01:00
Lorenz Meier
98f5a77574 Fix to cancel pending callbacks for closing ORB topics 2013-11-03 17:52:27 +01:00
Thomas Gubler
a4c99225c0 initialize _vel_dot and _STEdotErrLast 2013-11-03 17:17:45 +01:00
Anton Babushkin
67c33b2810 multirotor_att_control: style fixes, cleanup 2013-11-02 23:36:25 +04:00
Anton Babushkin
ad133f601b multirotor_att_control: use PID lib for yaw rate control 2013-11-02 23:36:25 +04:00
Lorenz Meier
64c2165e8b Merge pull request #507 from thomasgubler/airspeed_poll
fix vehicle_airspeed_poll logic
2013-11-02 10:35:38 -07:00
Thomas Gubler
ef7a425a45 fix vehicle_airspeed_poll logic: _tecs.enable_airspeed was not called before on valid airspeed 2013-11-02 17:33:45 +01:00
Thomas Gubler
3eac9ce159 fix usage of wrong value for max airspeed parameter 2013-11-02 16:16:49 +01:00
Lorenz Meier
0c762b6d1b Merge branch 'master' of github.com:PX4/Firmware 2013-11-01 11:09:07 +01:00
Lorenz Meier
5781b58640 Minor bugfix to commander, emits arming sound now on the right occasions. Fixes an annoying issue where the arming sound would go off constantly if the safety was re-engaged in arming mode, something that we consider to be ok operationally 2013-11-01 09:05:28 +01:00
Lorenz Meier
094fa0bd43 Merge pull request #502 from PX4/pwm_ioctls
more esc_calib enhancements
2013-10-31 23:33:50 -07:00
Julian Oes
25bf1abecf pwm_output: Allow PWM values from 900us to 2100us but use a default of 1000us to 2000us 2013-10-31 10:29:06 +01:00
Lorenz Meier
9544fe446e Merge pull request #504 from Runepx4/master
Added 8 rotor Coaxial Rotor mixer
2013-10-31 02:28:43 -07:00
runepx4
eac640739b Added 8 rotor Coaxial Rotor mixer 2013-10-31 10:23:58 +01:00
Julian Oes
aecb62a2dd Fixed small typo 2013-10-31 09:57:30 +01:00
Julian Oes
88351f3da1 esc_calib: Changed cmdline interface (now same as for the pwm systecmd), read in the number of channels available, don't make the esc_calib dependant on min/max/disarmed values 2013-10-31 09:20:44 +01:00
Lorenz Meier
7d443eb332 Commandline parsing fixes 2013-10-31 09:03:37 +01:00
Lorenz Meier
3c8c091e76 esc_calib on steroids 2013-10-31 08:23:44 +01:00