47 Commits

Author SHA1 Message Date
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
Julian Oes
96111a67a6 Tought the fmu driver the new pwm limit interface 2013-10-11 10:21:22 +02:00
Julian Oes
ea0aa49b54 pwm info provides more information, some fixes for setting rate/min/max/disarmed 2013-10-07 16:24:49 +02:00
Julian Oes
166dba09de px4io test and fmu test now work over USB as well 2013-09-22 17:23:43 +02:00
Julian Oes
56575eb068 Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
Conflicts:
	src/drivers/blinkm/blinkm.cpp
	src/drivers/px4io/px4io.cpp
	src/modules/commander/state_machine_helper.c
	src/modules/px4iofirmware/protocol.h
	src/modules/px4iofirmware/registers.c
	src/modules/systemlib/systemlib.h
	src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +02:00
px4dev
9d6ec6b365 Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Andrew Tridgell
f3764d0b5a px4fmu: expanded "fmu test"
this now does testing in a similar manner as "px4io test", except that
it tests both ioctl and write based setting of servos
2013-08-02 12:44:47 +02:00
Julian Oes
1b38cf715d Renamed actuator_safety back to actuator_armed, compiling but untested 2013-07-15 22:15:15 +02:00
Lorenz Meier
bf2ff98856 Merged master 2013-07-15 15:02:45 +02:00
px4dev
dca9019f75 Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-07-14 13:04:44 -07:00
px4dev
f5b91e109d More GPIO and general pin assignment fixes. 2013-07-10 23:50:37 -07:00
Jean Cyr
897b541b12 General cleanup of /dev/px4io and /dev/px4fmu
- Use distinct common symbols for px4io and px4fmu device files, and use
instead of hardcoded filenames
- Use common symbols defining px4io bits consistently between px4fmu and
px4io builds.
2013-07-09 20:37:00 -04:00
Julian Oes
88389ea255 Merge branch 'master' into new_state_machine
compiling again
Conflicts:
	src/modules/fixedwing_att_control/fixedwing_att_control_att.c
	src/modules/fixedwing_att_control/fixedwing_att_control_rate.c
	src/modules/fixedwing_pos_control/fixedwing_pos_control_main.c
	src/modules/mavlink/orb_listener.c
	src/modules/multirotor_att_control/multirotor_attitude_control.c
	src/modules/multirotor_att_control/multirotor_rate_control.c
	src/modules/systemlib/pid/pid.c
	src/modules/systemlib/pid/pid.h
	src/modules/uORB/objects_common.cpp
2013-07-08 10:31:32 +02:00
px4dev
b4029dd824 Pull v2 pieces up to build with the merge 2013-07-07 17:53:55 -07:00
px4dev
43f1843cc7 Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-07-07 12:22:56 -07:00
Julian Oes
90f5e30f2a Introduced new actuator_safety topic 2013-06-14 13:53:26 +02:00
px4dev
23a6234235 Rename our 'task_spawn' to 'task_spawn_cmd' since NuttX now has its own version of task_spawn that's different. 2013-06-01 23:31:53 +02:00
px4dev
b7d430e3c0 Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup
Fix px4iov2 build issue by selecting the correct NuttX config.
2013-05-19 21:51:35 +02:00
Andrew Tridgell
fa816d0fd6 arming: added PWM_SERVO_SET_ARM_OK and PWM_SERVO_CLEAR_ARM_OK
these new ioctls allow for the flight code to tell the IO board that
arming can proceed
2013-05-16 08:39:24 +02:00
Lorenz Meier
44df8db984 Merge branch 'master' of github.com:PX4/Firmware into export-build 2013-05-06 23:50:23 +02:00
px4dev
01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00
px4dev
2557f0d2de Rename the 'device' directory back to 'drivers', it's less confusing that way.
Move the fmuv2 board driver out into the new world.
2013-04-06 23:04:32 -07:00