Commit Graph

6195 Commits

Author SHA1 Message Date
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
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
Lorenz Meier c26b4e123f Fix up GPS command line option usage 2015-02-15 19:40:42 +01:00
Lorenz Meier f4da1df23a Style fix of copyright header 2015-02-15 19:37:22 +01:00
tumbili e582da9ee7 compute quaternion 2015-02-15 17:52:39 +01:00
tumbili f4f4c72f05 fixed attitude logging 2015-02-15 17:52:28 +01:00
Ban Siesta 1d19166d18 fmu: some arguments were missing in the usage/help 2015-02-15 16:27:57 +01:00
Lorenz Meier 1b8f5de134 GPS / ashtech: Use double for time where NMEA uses floating point numbers 2015-02-15 10:17:01 +01:00
Lorenz Meier a74c7c8009 LSM303D: Return argument in right format 2015-02-15 10:17:01 +01:00
Lorenz Meier 56bc843011 L3GD20: Return argument in correct format 2015-02-15 10:17:01 +01:00
Lorenz Meier 3bb0008af5 Ashtech driver: Avoid unnecessary double precision conversion calls 2015-02-15 10:17:00 +01:00
Thomas Gubler e5e42650c4 run code style fixer tool on ecl attitude lib 2015-02-15 10:13:49 +01:00
Thomas Gubler edc5f8a057 add experimantal acceleration feedback by @kd0aij 2015-02-15 10:13:49 +01:00
Thomas Gubler e14023e98f fw att control: update param description 2015-02-15 10:13:49 +01:00
Thomas Gubler d1e9868b9b fw att: add acceleration to control_input 2015-02-15 10:13:49 +01:00