Commit Graph

5383 Commits

Author SHA1 Message Date
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
Thomas Gubler f267fcf4ff disable a printf 2013-11-24 11:11:06 +01:00
Thomas Gubler b6f2c286e9 disabling bad descent detection because of to many false positives 2013-11-24 11:09:14 +01:00
Thomas Gubler 881c89dd1b increase safety margin for takeoff speed 2013-11-24 11:02:41 +01:00
Thomas Gubler 0611b26eea fw autoland: move constrain of roll to horizontal landing navigation
Conflicts:
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
2013-11-24 10:29:10 +01:00
Thomas Gubler 94745fa0af fw autoland: move constrain of roll to horizontal landing navigation 2013-11-24 08:32:53 +01:00
Anton Babushkin 69ed7cf91f missionlib: waypoint yaw fixed 2013-11-23 18:48:05 +04:00
Julian Oes 6b53c7e841 Navigator: Missions (including RTL), Loiter and RTL working 2013-11-22 21:26:52 +01:00
Julian Oes ae5b20eb7f FW_pos_control_l1: Remove RTL logic which will be in navigator 2013-11-22 21:26:17 +01:00
Julian Oes 01df715f94 Mission topic: make nav_cmd compatible to the mavlink command 2013-11-22 21:21:30 +01:00
marco d2e32f2fc5 mkblctrl - hotfix for i2c scan 2013-11-22 21:05:40 +01:00
Julian Oes 1da7599541 Navigator: Energy control doesn't belong in navigator 2013-11-22 14:10:09 +01:00
Julian Oes 5748a9c964 Navigator: Publish mission triplet only when actually updated 2013-11-22 14:07:21 +01:00
Julian Oes 7892a72f90 Navigator, waypoints: save index in mission item and use this in navigator 2013-11-22 14:03:09 +01:00