Commit Graph

18758 Commits

Author SHA1 Message Date
Thomas Gubler 7b57092a9d multiplatform port of #1741: remove attitude sp generation from mc_att_control_multiplatform 2015-02-24 20:33:32 +01:00
Thomas Gubler 6c3f57f87e port #1752 to multiplatform 2015-02-24 20:31:02 +01:00
Thomas Gubler 4f38512334 port #1703 to multiplatform 2015-02-24 20:29:18 +01:00
Lorenz Meier 6e07c8c9e4 mathlib tests: Fix typo 2015-02-23 23:56:22 +01:00
Lorenz Meier 9d8651c10c mathlib test: Print all test types which are actually performed 2015-02-23 23:27:51 +01:00
Lorenz Meier 71a5351deb mathlib test: Code style fixes 2015-02-23 23:24:38 +01:00
tumbili a252f4a991 fixed quaternion method from_dcm() 2015-02-23 22:30:49 +01:00
tumbili 41377709e6 added test for quaternion methods 2015-02-23 22:18:51 +01:00
Andrew Tridgell 9a875c53af px4fmu: added "mode_pwm4" startup mode
this is the default mode ArduPilot uses, and by setting it in the init
script we avoid any pin activity on the two GPIO pins during boot
2015-02-23 19:52:57 +01:00
Andrew Tridgell 41cc04c064 pwm_input: added PWM input driver
this allows for input of PWM signals on the FMUv2 aux5 pins
2015-02-23 19:52:47 +01:00
Andrew Tridgell 322392d853 fmuv2: setup for PWM input on timer4, channel 2 2015-02-23 19:52:38 +01:00
Evan Slatyer 1302650ab6 drivers: added header for pwm_input 2015-02-23 19:52:22 +01:00
Lorenz Meier 3532a09a15 PWM command: Fix min/max/disarmed/failsafe commands to also read the current settings first before modifying them. 2015-02-23 19:50:51 +01:00
Lorenz Meier 653b3e71be PWM command: Do not modify disarmed PWM values 2015-02-23 19:50:42 +01:00
Sebastian Verling a77420ede8 corrected rate offset calculation such that units match 2015-02-23 18:44:38 +01:00
Sebastian Verling aeef634f9b adapted comment about accelerometer offset 2015-02-23 18:40:48 +01:00
Sebastian Verling bbd5f33a22 removed duplicate line 2015-02-23 18:38:55 +01:00
NosDE e4ad2f8e48 cmd switch for min_rc and max_rc added 2015-02-23 07:17:31 +01:00
Randy Mackay d57dd250b9 batt_smbus: reverse reported current
smart batteries report a negative current when being discharged
2015-02-20 16:57:23 +01:00
Lorenz Meier 8f29a9d83b Merge branch 'rover' of github.com:mstuettgen/Firmware 2015-02-20 16:52:37 +01:00
Lorenz Meier 95dd7d415f LL40S driver: Signedness of ticks and comment fix. 2015-02-20 09:22:12 +01:00
Andrew Tridgell 9d288a9a9a ll40ls: added reset and backoff logic to driver
this adds automatic resets of the lidar when it becomes unresponsive,
and also tries to cope with NACKs from long acquisition times. It also
adds a "ll40ls regdump" command, and fixes "ll40ls reset" to reset the
sensor.

The default acquisition period is changed to 50ms, with backoff to
100ms on a NACK

Note that there are still times when the sensor can get into an
unrecoverable state.

Thanks to Austin, Dennis and Bob from PulseLight for assistance in
tracking down the problems.
2015-02-20 09:10:24 +01:00
Lorenz Meier 15f729ddd5 Rover: C++ify, minor cleanups 2015-02-19 22:14:50 +01:00
Lorenz Meier e59aaa771c Rover: Add simple steering controller. 2015-02-19 21:51:53 +01:00
Johan Jansen ae6adbea1e mc_pos_control: Fix yaw in PosHold and reset yaw setpoints 2015-02-18 16:57:08 +01:00
Johan Jansen 51fcb440d0 mc_pos_control: Fix autonomous landing without GPS
Due to a regression bug in #1741 the autonomous landing without GPS used manual RC
input to determine setpoints which broke auto landing without GPS.
2015-02-18 16:56:53 +01:00
NosDE 3f45f51d7a mkblctrl - rework and bugfix - test ok 2015-02-18 16:55:17 +01:00
NosDE 5fddb89c3e mkblctrl - rework and bugfix 2015-02-18 16:55:05 +01:00
David Sidrane 17615b22a4 Insure that CONFIG_ARCH_BOARD_xxx is defined and to be consistent with Nuttx build place them in defconfig files so that config.h will have ONFIG_ARCH_BOARD_xxx defined 2015-02-17 23:27:34 +01:00
Ziyang LI 63fd54f44e fixed 'NaN' yaw setpoint in offboard mode 2015-02-17 09:29:29 +01:00
Andrew Tridgell 618d51dab1 hmc5883: fixed build errors with gcc 2.7.4 and -O3 2015-02-16 06:54:05 +01:00
Atsunori Saito 71c6c6aba4 mavlink: Fix for divide by zero. 2015-02-16 06:49:27 +01:00
Lorenz Meier f26a1cb3f1 Merge pull request #1794 from PX4/ekf-fixes
EKF Fixes from @Zefz
2015-02-15 22:55:09 +01:00
Lorenz Meier 3f69db2537 PWM output header: Fix PWM output base device path 2015-02-15 21:41:19 +01:00
Lorenz Meier 3ff49778a8 FMU driver: Report class instance registration fail 2015-02-15 21:40:08 +01:00
Ban Siesta 3f3bcfb31f drv_mag: fixed copy paste typo 2015-02-15 19:07:24 +00:00
Lorenz Meier 08aa1ebf17 LSM303D: Update comment why we report as internal always 2015-02-15 19:52:02 +01:00
Lorenz Meier 1e6bec6c77 HMC5883: Always report as internal sensor in SPI mode, since the sensor is fixed to the autopilot assembly. 2015-02-15 19:52:02 +01:00
Lorenz Meier 2e4c0c3156 sensors app: Comment handling of old param values properly 2015-02-15 19:52:02 +01:00
Lorenz Meier 6fd89aa2bd Rsensors app: Programming style: rely on logical orr for failed evalution. 2015-02-15 19:52:02 +01:00
Lorenz Meier 93997acdd2 px4io driver: Clean up log / warn style 2015-02-15 19:52:02 +01:00
Lorenz Meier 4740568446 sensors: Update param name 2015-02-15 19:52:02 +01:00
Lorenz Meier 2017c74e52 sdlog2: Be less verbose 2015-02-15 19:52:02 +01:00
Lorenz Meier 162814c33e sensors: Set up mag rotation parameters correctly 2015-02-15 19:52:02 +01:00
Lorenz Meier 8071186e37 RGB led driver: More retries on boot 2015-02-15 19:52:01 +01:00
Lorenz Meier ccac7cbd78 PX4IO driver: better feedback 2015-02-15 19:52:01 +01:00
Lorenz Meier aef041e032 Syslib: Add support for setting parameters without global notification 2015-02-15 19:52:01 +01:00
Lorenz Meier bed3eaafa1 Sensor app: Formatting, documentation and cleanup 2015-02-15 19:52:01 +01:00
Lorenz Meier 12ae984198 sensors app: Use -1 in rotation parameter to indicate that a sensor cannot be rotated as it is internal. 2015-02-15 19:52:01 +01:00
Lorenz Meier 3d195bc7cc Proper mag rotation handling 2015-02-15 19:52:01 +01:00