Commit Graph

5189 Commits

Author SHA1 Message Date
Thomas Gubler edd1f4dbb8 set parachute deployed to 0 and handle correct scaling in mixer 2013-12-09 09:08:41 +01:00
Thomas Gubler 86aa2f85cb px4iofirmware: in manual mode: ignore control indices which are not controlled by the rmeote control 2013-12-08 21:34:49 +01:00
Thomas Gubler 8acea79918 fix small copy paste error in px4io driver 2013-12-08 20:14:32 +01:00
Thomas Gubler c16c57c9d0 Merge remote-tracking branch 'upstream/control_groups' into fw_autoland_att_tecs_navigator_termination_controlgroups 2013-12-08 18:57:53 +01:00
Thomas Gubler 278e05e425 added simple flight termination state machine which enbales parachute on request 2013-12-08 16:52:41 +01:00
Lorenz Meier 0ba507b640 Added support for a total of four control groups to the IO driver and IO firmware. This allows to run auxiliary payload. Cleaned up defines for RC input channel counts, this needs another sweep to then finally allow up to 16 mapped channels and up to 20-24 RAW RC channels 2013-12-08 11:25:45 +01:00
Thomas Gubler 4d846b480c fix typo in makefile (resulted from previous merge) 2013-12-05 16:24:11 +01:00
Thomas Gubler b86161dd45 Merge remote-tracking branch 'upstream/master' into fw_autoland_att_tecs_navigator
Conflicts:
	src/modules/mavlink/missionlib.c
	src/systemcmds/tests/module.mk
2013-12-05 10:53:41 +01:00
Thomas Gubler f73988cee9 Merge remote-tracking branch 'private_julian/fw_autoland_att_tecs_navigator' into fw_autoland_att_tecs_navigator 2013-12-05 10:50:41 +01:00
Lorenz Meier 264ef47197 PPM loopback test 2013-12-05 05:02:00 +01:00
Lorenz Meier 1cb576ae4e Merge branch 'master' into tests 2013-12-05 02:52:57 +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
Andrew Tridgell edc5b68499 l3gd20: use highest possible on-chip filter bandwidth
this allows the software filter to do its job properly
2013-12-04 07:08:23 +01:00
Andrew Tridgell b2119839bd lsm303d: init filter to 773 Hz 2013-12-04 07:08:05 +01:00
Lorenz Meier 0d30fe31a7 Merge pull request #546 from julianoes/hotfix_hex_startup
Hotfix Hex Startup
2013-12-01 16:48:51 -08:00
Julian Oes 193692cc0d Hex Startup: Set rate of all 8 PWM outputs (6 are not possible because rate can only be changed for channel groups 2013-12-01 22:44:36 +01:00
Andrew Tridgell ba8399780a init.d: added 3dr_skywalker airframe config
params not tuned yet, but servos in the right direction
2013-12-01 07:57:22 +11:00
Andrew Tridgell bdb462379a FMUv2: don't config ADC pins that are now used for MPU6k CS and other uses 2013-11-30 20:21:51 +11:00
Andrew Tridgell 19853f87a2 FMUv2: change CS pins to 2MHz
this gives cleaner traces
2013-11-30 20:21:44 +11:00
Andrew Tridgell 6ba54e7035 lsm303d: cleanup logic traces by pre-zeroing all transfers 2013-11-30 20:21:28 +11:00
Andrew Tridgell 9214154831 lsm303d: added I2C disable based on method from ST engineering support 2013-11-30 20:21:08 +11:00
Andrew Tridgell cb76f07d31 l3gd20: added I2C disable based on method from ST engineering support 2013-11-30 20:20:23 +11:00
Andrew Tridgell 720f6ab313 FMUv2: set MPU6000 CS as initially de-selected 2013-11-30 20:20:03 +11:00
Andrew Tridgell 3a597d1a1f FMUv2: added define for MPU DRDY pin 2013-11-30 20:19:58 +11:00
Andrew Tridgell 3decf408c2 FMUv2: added support for MPU6000 on v2.4 board 2013-11-30 20:19:52 +11:00
Andrew Tridgell b666581983 lsm303d: fixed TEMP_H register define 2013-11-30 20:19:26 +11:00
Andrew Tridgell d0507296c0 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-11-30 20:18:27 +11:00
Andrew Tridgell af47a3d795 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-11-30 20:17:55 +11:00
Andrew Tridgell 244c3602f2 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-11-30 20:17:09 +11:00
Andrew Tridgell 7d415b0c42 lsm303d: print more registers in "lsm303d regdump" 2013-11-30 20:16:51 +11:00
Andrew Tridgell 72c53b6537 lsm303d: define some more register addresses 2013-11-30 20:16:45 +11:00
Andrew Tridgell a46042754f lsm303d: added 'lsm303d regdump' command
useful for diagnosing issues
2013-11-30 20:16:32 +11:00
Lorenz Meier 3701a02a37 Tests for all PWM pins 2013-11-30 10:00:33 +01:00
Julian Oes 5c83af3868 Navigator: Onboard missions supported in theory 2013-11-29 10:54:29 +01:00
Julian Oes 69888d28a5 Navigator: Added onboard mission (not usable yet) 2013-11-29 10:06:01 +01:00
Thomas Gubler 95af4bf87c Merge pull request #537 from PX4/wp_yaw_fix
missionlib: waypoint yaw fixed
2013-11-28 09:35:01 -08:00
Thomas Gubler a635010117 Merge remote-tracking branch 'private_julian/fw_autoland_att_tecs_navigator' into fw_autoland_att_tecs_navigator 2013-11-28 09:15:07 +01:00
Julian Oes de36ccfff5 Navigator: report the current waypoint back 2013-11-27 17:00:27 +01:00
Julian Oes 81023fe5aa Navigator and mavlink: more mavlink cleanup and set current waypoint option support added 2013-11-27 16:17:44 +01:00
Julian Oes 3f25298798 Mavlink and navigator: Disable some functions in mavlink that are taken over by navigator, introduce topic to report mission status from commander back to mavlink 2013-11-27 09:27:08 +01:00
Thomas Gubler b2ee78c218 fw_pos_ctrl: landing: audio output 2013-11-26 17:02:52 +01:00
Julian Oes 9c1a5be8e1 Navigator: Gotten rid of some warnings 2013-11-26 16:43:51 +01:00
Julian Oes 972ca7db8a Merge branch 'fw_autoland_att_tecs_navigator' of https://github.com/thomasgubler/Firmware_Private into fw_autoland_att_tecs_navigator 2013-11-26 15:55:09 +01:00
Julian Oes 8e1af68bfd Navigator: Added parameter for loiter radius 2013-11-26 15:54:19 +01:00
Thomas Gubler 254777d38a more fixes for the mavlink_fd in fw pos ctrl, this now enables mavlink output for landing 2013-11-26 15:49:59 +01:00
Thomas Gubler b66730b5a9 making sure the mavlink fd is open in fw pos ctrl 2013-11-26 15:38:53 +01:00
Julian Oes a989e79663 Navigator: Don't try to go to next WP or loiter after landing, just stay in landing mode 2013-11-26 15:25:27 +01:00
Thomas Gubler d294953be7 Merge remote-tracking branch 'private_julian/fw_autoland_att_tecs_navigator' into fw_autoland_att_tecs_navigator 2013-11-26 15:25:22 +01:00