Commit Graph

71 Commits

Author SHA1 Message Date
Roman Bapst 555e96a37a fixed publication of mixer limit flags 2015-04-10 20:26:38 +02:00
Lorenz Meier 4e1905c1d8 FMU: Fix peripheral reset 2015-02-28 14:32:11 +01:00
Lorenz Meier dfdf741b13 FMU: Make peripheral rail power controllable 2015-02-28 11:22:19 +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
Lorenz Meier 3ff49778a8 FMU driver: Report class instance registration fail 2015-02-15 21:40:08 +01:00
Ban Siesta 1d19166d18 fmu: some arguments were missing in the usage/help 2015-02-15 16:27:57 +01:00
Lorenz Meier c0d246e8e4 CDEV::I2C: Enforce one speed per bus 2015-02-13 09:12:38 +01:00
Lorenz Meier fac158f7e5 Board drivers: Move to 0-based index 2015-02-09 22:56:22 +01:00
Thomas Gubler 84ff3c671d Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
Conflicts:
	src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
Lorenz Meier 678d5c24fb FMU driver: Move to topic groups 2015-01-29 16:33:54 +01:00
Thomas Gubler 2d124852c1 propagate uorb contants change through all modules/drivers 2015-01-28 16:31:41 +01:00
Thomas Gubler 14aa5f9441 add topic header includes 2015-01-25 15:00:35 +01:00
Lorenz Meier 6300338d2a FMU driver: Fix resource leak for test routine. 2015-01-21 08:58:47 +01:00
Lorenz Meier 5aa75c8f00 Fixed coverity CID #12543 2015-01-19 13:52:39 +01:00
Lorenz Meier 648cb78268 FMU driver: Show up as secondary interface to allow mixer loads. 2015-01-06 19:51:04 +01:00
Andrew Tridgell dd23d0acbc drivers: allow forcing the safety switch on
This allows forcing the safety switch to the on position from software
which stops the pwm outputs
2014-10-30 08:44:00 +11:00
Holger Steinhaus 87b2375be4 Ignore single channels during PWM output 2014-08-26 14:38:32 +02:00
Lorenz Meier 85ccecea9c FMU driver: stricter init 2014-07-16 09:05:15 +02:00
Lorenz Meier a2f528c5ba Merged master 2014-07-12 16:11:43 +02:00
Andrew Tridgell 37b4cdfce2 board_serial: use a uint8_t buffer
we should not be using 'char' for binary APIs, as the C standard does
not specify if it is signed or unsigned, so results may not be
consistent
2014-07-08 11:39:40 +02:00
Lorenz Meier 3b44807887 Reduce excessive FMU stack usage 2014-07-08 09:15:47 +02:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07:00
Don Gagne d5b5dcef24 Fix bugs found through compiler warnings 2014-06-29 12:01:43 -07:00
Lorenz Meier 542cc7d7fb fmu: Rely on pwm_limit() call for band limits, do constrain instead of altering the direction / value 2014-05-23 20:23:05 +02:00
Ash Charles 2d29c5bd72 [aerocore] Remove commented code for GPIO2
GPIO2 is currently used for the tone alarm, not an arbitrary GPIO.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 14:06:59 -07:00
Ash Charles e5508a1aa0 Add Gumstix AeroCore device
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.

[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 09:41:41 -07:00
Lorenz Meier df7d595999 Remove noreturn attribute from all drivers that actually can return 2014-05-09 09:19:44 +02:00
Lorenz Meier 45be38c333 Removing an unwanted usleep on poll errors 2014-05-08 14:24:10 +02:00
Lorenz Meier ab2a85a153 Merge pull request #782 from PX4/fmu_mixer
px4fmu: support all actuator control groups
2014-05-07 04:17:27 -07:00
Andrew Tridgell ab1939c6a3 pwm: added PWM_SERVO_SET_FORCE_SAFETY_OFF ioctl
this allows the safety switch on px4io to be forced off
2014-04-28 11:45:45 +02:00
Anton Babushkin db37d3a495 fmu driver: bugs fixed 2014-04-07 13:36:55 +04:00
Anton Babushkin 1362d5f195 px4fmu: support all actuator control groups, dynamically subscribe to required topics 2014-03-30 20:38:24 +04:00
Helen Oleynikova 1d9d24f605 Added flag for ARDrone interface. 2014-03-05 10:50:16 +01:00
Lorenz Meier 9cdbbab855 Differentiate between publication and signal receive timestamp, correctly set the rc_lost flag in the frame. Ready for prime-time testing. 2014-01-26 14:52:46 +01:00
Andrew Tridgell 4524fe3e48 px4fmu: added PWM_SERVO_SET_COUNT API
this allows the balance between PWM channels and GPIOs to be changed
after the main flight code has started, which makes it possible to
change the balance with a parameter in APM
2014-01-23 21:41:07 +01:00
Lorenz Meier 33b84186e3 Patching up MPU6K pin disable defines 2014-01-14 08:58:30 +01:00
Lorenz Meier 1834a884b2 Added FMU command to read serial 2014-01-07 21:42:39 +01:00
Lorenz Meier c311462f3c Added actuator control removal 2013-12-13 16:52:35 +01:00
Lorenz Meier 012adc9e33 Minor fixes to bus reset 2013-12-04 09:25:07 +01:00
Lorenz Meier acc3cc087f Added sensor rail reset IOCTL and command (fmu sensor_reset 10 resets for 10 ms) 2013-12-04 08:17:35 +01:00
Lorenz Meier 881cf61553 Added IOCTL and command for sensor rail reset (does not yet re-initialize sensor drivers) 2013-12-04 07:57:23 +01:00
Anton Babushkin 63d81ba415 actuator_controls_effective topic removed 2013-11-16 23:16:09 +04:00
Anton Babushkin 45e158b88c Fixed actuator_controls_effective on FMU 2013-11-16 16:06:23 +04: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 9820ed9de3 Actually allow full range in FMU driver 2013-10-31 08:23:32 +01:00
Lorenz Meier 0eabacd251 Merge branch 'pwm_ioctls' of github.com:PX4/Firmware into pwm_ioctls 2013-10-30 22:35:09 +01:00
Lorenz Meier 727342a516 Teached the FMU driver that stopping is also an option 2013-10-30 22:34:51 +01:00
Julian Oes 1d3f25ee6c pwm systemcmd can now set the failsafe values, fmu uses failsafe values as well now, fix to only send the appropriate number of pwm values to IO at once 2013-10-19 10:43:41 +02:00
Julian Oes 5d36971689 Base max actuators on board revision 2013-10-11 16:59:21 +02:00
Julian Oes 326f241185 Enable PWM when disarmed on the fmu side 2013-10-11 12:11:25 +02:00