Commit Graph

24183 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 76e5a755df Bottle_drop: Publish to onboard mission 2013-11-29 17:03:18 +01:00
Julian Oes 07a3f5694c Merge remote-tracking branch 'juchlid/bottledrop' into bottle_drop_navigator 2013-11-29 12:39:29 +01:00
Juchli D 3c2133b9f1 Working with faked imputs 2013-11-29 12:36:42 +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
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 b9ea915136 multirotor_pos_control: set PID parameters on init 2013-11-27 23:09:05 +04: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
Anton Babushkin 3a6be42265 multirotor_pos_control: cleanup and fixes 2013-11-26 10:33:29 +04:00
Anton Babushkin d8e95de9bf pid lib fixes 2013-11-26 10:28:30 +04: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
Anton Babushkin 310de1df96 pid lib update 2013-11-25 23:19:27 +04:00
Julian Oes 036d1a4017 Navigator: Yet another rewrite of the logic 2013-11-25 19:04:22 +01:00
Anton Babushkin 98ebcb626d position_estimator_inav: minor comments and code style fixes 2013-11-25 19:47:33 +04:00
Anton Babushkin 2a2c8337e8 sensors: discharged current type changed to uint64 2013-11-25 19:22:06 +04:00
Stefan Rado 5f18ce506d Add FrSky telemetry application.
This daemon emulates an FrSky sensor hub by periodically sending data packets to an attached FrSky receiver.
2013-11-24 13:39:02 +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