Commit Graph

5396 Commits

Author SHA1 Message Date
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
Hyon Lim b3f1adc54b SO3 estimator code has been cleaned 2013-11-29 02:35:49 +09: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
Hyon Lim bcd745fb0d SO(3) estimator and quaternion receive by mavlink implemented 2013-11-29 02:05:15 +09: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
Anton Babushkin 3c027a8e4d Various HIL-related fixes 2013-11-27 23:04:49 +04: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
marco 4e713a7083 motortest mode enhanced 2013-11-26 19:01:43 +01:00
Thomas Gubler ea9fcaa27f update the commander to only use local pos for landing detection when on rotary wing
Conflicts:
	src/modules/commander/commander.cpp
2013-11-26 18:56:06 +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
Thomas Gubler 126b0567fe add safety check for orbit in navigator. Prevents issues with old qgc versions 2013-11-26 15:24:16 +01:00
Julian Oes 9a79ad4cdb Navigator: Use parameter for minium altitude when starting loiter 2013-11-26 15:08:43 +01:00
Julian Oes 92f7fb2732 Navigator: Added some mavlink debug output 2013-11-26 14:17:41 +01:00
Thomas Gubler a94ed67b3f update the commander to only use local pos for landing detection when on rotary wing 2013-11-26 13:47:37 +01:00
Thomas Gubler 5428eab23b navigator: do not restart mission (continue with changed second part of mission) if no items prior to the current item have been changed 2013-11-26 01:19:37 +01:00
Thomas Gubler 8fb22a1df7 navigator: remove redudant line 2013-11-25 22:15:34 +01:00
Thomas Gubler b305f45f5a Merge remote-tracking branch 'private_julian/navigator_wip_merge_test' into fw_autoland_att_tecs_navigator 2013-11-25 21:22:14 +01:00
Thomas Gubler 5447ecf67d Merge branch 'fw_autoland_att_tecs' into fw_autoland_att_tecs_navigator
Conflicts:
	src/lib/external_lgpl/tecs/tecs.cpp
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
2013-11-25 21:22:00 +01:00
Julian Oes 036d1a4017 Navigator: Yet another rewrite of the logic 2013-11-25 19:04:22 +01:00
Thomas Gubler 3c6f01bea8 tecs: speedrate: use p loop instead of pre calculated speed rate for now 2013-11-24 12:48:44 +01:00
Thomas Gubler 85a76a32c5 tecs: roll2thr: fix to be consistent with comment 2013-11-24 12:29:48 +01:00