Commit Graph

8058 Commits

Author SHA1 Message Date
Lorenz Meier d93a64dd09 estimator: Geo conversions: Fix float / double types to prevent warnings. Fix calcLLH to actually return a value. 2014-06-29 12:08:28 +02:00
Lorenz Meier ccdfb19a4a estimator: Fix double promotion warnings by appropriate constants / casts. 2014-06-29 12:05:27 +02:00
Lorenz Meier b64c64d5a3 Observation index cannot get negative. 2014-06-29 12:00:54 +02:00
Lorenz Meier 092ede366a Estimator: Clean up delta quat calculations, put them in a sweet spot between accuracy and runtime. 2014-06-29 11:55:44 +02:00
Lorenz Meier aa7781d09b Merge pull request #1081 from PX4/hb_fix2
mavlink: init structs for HEARTBEAT if uORB topic copy failed
2014-06-29 11:48:44 +02:00
Lorenz Meier cd2ef000eb More safe compile warning fixes 2014-06-29 11:35:27 +02:00
Lorenz Meier 91bba668f6 Define earth radius as double, as our calculations relying on it need double precision. 2014-06-29 11:27:43 +02:00
Lorenz Meier 336fc2fcf5 Fix compile warnings in estimator 2014-06-29 11:27:09 +02:00
Thomas Gubler 0a78206d71 att pos estimator: silence annoying messages 2014-06-28 18:45:52 +02:00
Thomas Gubler f0a21c4f5f Merge remote-tracking branch 'upstream/navigator_rewrite' into navigator_rewrite_estimator
Conflicts:
	src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp
2014-06-28 17:22:24 +02:00
Thomas Gubler 045ee8c7c7 Merge remote-tracking branch 'upstream/mtecs' into navigator_rewrite 2014-06-28 17:20:44 +02:00
Thomas Gubler 7b15a424f0 Merge remote-tracking branch 'upstream/master' into mtecs 2014-06-28 16:52:27 +02:00
Thomas Gubler 09fd154723 Merge pull request #1084 from PX4/mtecs_pure
Remove old TECS implementation - we can really only decently flight-test...
2014-06-28 16:51:58 +02:00
Thomas Gubler cd28679257 Merge pull request #1085 from PX4/geo_flashefficiency
geo lookup lib: Moved to separate module and compiling with -Os to save ...
2014-06-28 16:49:40 +02:00
Lorenz Meier e78d496e92 Enable new lookup lib 2014-06-28 12:51:22 +02:00
Lorenz Meier 13f9ce9ddd Comment fix in perf counter header, no code changes. 2014-06-28 12:38:31 +02:00
Lorenz Meier 2bd5511d09 geo lookup lib: Moved to separate module and compiling with -Os to save some precious flash 2014-06-28 12:37:26 +02:00
Lorenz Meier 503ded0539 Remove old TECS implementation - we can really only decently flight-test and support one. 2014-06-28 12:35:04 +02:00
Lorenz Meier 196edd8a4f estimator: Fix minor reporting issues 2014-06-28 12:12:08 +02:00
Lorenz Meier 5192a5eea9 Merge pull request #1083 from DonLakeFlyer/mavlink-ftp
FTP List, Open, Read, Terminate commands working end to end with QGC
2014-06-28 11:13:33 +02:00
Don Gagne a398d5cbcc Support for List, Open, Read, Terminate commands
Fixed various bugs. Flattened Mavlink::Session class while fixing bugs
in this area.
2014-06-27 20:33:39 -07:00
Anton Babushkin 8ddccb2dae Merge branch 'navigator_rewrite' into navigator_rewrite_drton 2014-06-28 00:54:58 +02:00
Anton Babushkin 456e628e12 navigator: NavigatorMode and MissionBlock API cleanup 2014-06-28 00:54:27 +02:00
Thomas Gubler d45cc69d1d mtecs/wind: store wind variance 2014-06-27 21:44:56 +02:00
Lorenz Meier 12c2802fa3 estimator: Use the right perf counters to measure the quantities we are interested in 2014-06-27 16:23:53 +02:00
Lorenz Meier 8525ca4d24 Merge branch 'navigator_rewrite_estimator' of github.com:PX4/Firmware into navigator_rewrite_estimator 2014-06-27 15:05:09 +02:00
Lorenz Meier efb20d50bd estimator: Use improved error reporting API 2014-06-27 15:01:19 +02:00
Lorenz Meier 6951e1c95e estimator lib: Improve error reporting 2014-06-27 15:00:48 +02:00
Julian Oes b8d07532a7 Merge branch 'navigator_rewrite' into navigator_rewrite_estimator 2014-06-27 14:41:19 +02:00
Julian Oes cc8f7f4c97 Merge branch 'master' into navigator_rewrite
Conflicts:
	src/modules/commander/commander.cpp
	src/modules/commander/state_machine_helper.h
	src/modules/mavlink/mavlink_messages.cpp
2014-06-27 14:39:36 +02:00
Lorenz Meier dbd99b6494 Merge branch 'navigator_rewrite_estimator' of github.com:PX4/Firmware into navigator_rewrite_estimator 2014-06-27 13:37:15 +02:00
Julian Oes 049e448abf Merge branch 'navigator_rewrite' into navigator_rewrite_estimator 2014-06-27 13:36:33 +02:00
Lorenz Meier 3195eb1005 estimator: Remove bogus timeout flag, do not reset states not in need of a reset. Do not alter baro offset or GPS positions. 2014-06-27 13:35:23 +02:00
Lorenz Meier 615277d346 Better comments in estimator 2014-06-27 13:29:04 +02:00
Julian Oes 3aab37e0e0 Merge remote-tracking branch 'px4/mtecs' into navigator_rewrite 2014-06-27 13:07:20 +02:00
Anton Babushkin affc312411 navigator: make MissionBlock subclass of NavigatorMode 2014-06-27 11:34:19 +02:00
Anton Babushkin 52eb49ba0b navigator: use common "acceptance radius" parameter for all modes 2014-06-27 11:09:49 +02:00
Julian Oes 19fad94a34 Merge branch 'navigator_rewrite' into navigator_rewrite_estimator 2014-06-27 11:02:47 +02:00
Anton Babushkin 1bae18377a navigator: is_mission_item_reached() for LOITER items fixed 2014-06-27 00:29:00 +02:00
Anton Babushkin 9ae44291b1 navigator: added NAV_CMD_IDLE, added RTL_STATE_LOITER and RTL_STATE_LANDED instead of FINISHED 2014-06-27 00:27:08 +02:00
Anton Babushkin 8e8798a522 navigator: spaces/tabs fixed, old commented code removed 2014-06-26 23:39:17 +02:00
Anton Babushkin 9e5c94b41e mavlink: spaces replaced with tabs 2014-06-26 22:41:35 +02:00
Anton Babushkin 62156e78ae mavlink: init structs for HEARTBEAT if uORB topic copy failed 2014-06-26 22:37:11 +02:00
Lorenz Meier 0fe8ed509a Merge branch 'master' into power_enforce 2014-06-26 17:28:01 +02:00
Thomas Gubler f3a77705a7 Merge pull request #1080 from PX4/hb_fix
mavlink: Always send heartbeat and do not require both topics to update
2014-06-26 16:37:49 +02:00
Lorenz Meier f76040e554 mavlink: Always send heartbeat and do not require both topics to update 2014-06-26 16:18:46 +02:00
Lorenz Meier 7546b99a24 mavlink-ftp: Add extra padding because the ringbuffer implementation relies on its use 2014-06-26 14:26:35 +02:00
Lorenz Meier f9db1723e3 mavlink-ftp: Remove commented out code 2014-06-26 14:20:29 +02:00
Lorenz Meier 1a0f53ec3a mavlink-ftp: Remove two extra bytes we don not need 2014-06-26 13:50:46 +02:00
Anton Babushkin 6e5aafb3a7 navigator: minor formatting fix 2014-06-26 13:44:41 +02:00