Commit Graph

52 Commits

Author SHA1 Message Date
Thomas Gubler 5056b03ab0 geo: fix include 2015-01-06 19:14:01 +01:00
Thomas Gubler 9520983e08 lots' of header juggling and small changes to make mc att control compile for NuttX and ROS 2014-12-16 08:24:51 +01:00
Lorenz Meier b7b4804791 GEO: fix compile warnings 2014-10-11 00:28:48 +02:00
Thomas Gubler 5baf9cea0d geo: fix some warnings 2014-08-11 15:29:59 +02:00
Thomas Gubler af1ad04c23 Merge remote-tracking branch 'origin/master' into geo 2014-08-11 13:37:08 +02:00
Don Gagne 278aafe939 Bring everything up to double 2014-07-06 11:06:14 -07:00
Don Gagne b9299e68d4 Compiler warning fixes 2014-07-05 13:35:12 -07:00
Lorenz Meier 34c13df3dd geo: Fix a series of warnings, some which actually pointed to real issues 2014-07-01 09:50:48 +02:00
Lorenz Meier efc992b4d9 Merged master into geo 2014-07-01 09:34:26 +02:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07: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
Thomas Gubler a43e963bdb geo: fix logic of globallocal converter initialization to depend on map projection initialization 2014-05-30 16:09:52 +02:00
Thomas Gubler e0042ec12c geo: add functions to get global projection/transformation reference values 2014-05-22 13:26:15 +02:00
Anton Babushkin bd9d58f565 attitude_estimator_ekf: auto detect mag declination using GPS coordinates 2014-05-12 23:06:45 +02:00
Thomas Gubler 548c7f4aaf geo: introduce global/local coordinate frame converter which uses the map projection but also converts altitude 2014-05-06 14:56:47 +02:00
Thomas Gubler fc204a1890 geo: map projection: fix stupid typo and use constants for deg to rad conversion 2014-05-06 13:14:15 +02:00
Thomas Gubler f24a6187b6 geo: map projection: fix variable name to highlight the unit 2014-05-06 11:24:33 +02:00
Thomas Gubler 6e0690fde1 init global map projection when gps is valid 2014-05-05 16:44:02 +02:00
Thomas Gubler 474a76b553 Merge remote-tracking branch 'upstream/master' into geo 2014-05-05 14:42:46 +02:00
Lorenz Meier 5429b82ae0 Fix last data type and casting compiler nuisances 2014-04-30 08:53:22 +02:00
Lorenz Meier 48a9ba39af Fixed typos in declination table lookup 2014-04-30 08:26:08 +02:00
Thomas Gubler a7289a3266 mavlink interface: update mapprojection usage 2014-04-29 15:39:26 +02:00
Thomas Gubler 3ec818ce1e rerwite projection interrface to not break the current implementation 2014-04-29 14:39:36 +02:00
Lorenz Meier ec50f73cbe Updated geo lib C/C++ interfacing 2014-04-28 20:44:11 +02:00
Lorenz Meier e134537ae8 Added automatic declination lookup 2014-04-28 17:44:29 +02:00
Thomas Gubler aab64af884 geo: map projection: safer initialization, only accept init from navigator, return int instead of bool 2014-04-25 14:47:37 +02:00
Thomas Gubler 9ebd6b3486 geo: interface to get reference lat lon, option to set reference timestamp on initialization 2014-04-25 09:41:46 +02:00
Thomas Gubler 4e30784d6c rename map_projection_inited to map_projection_initialized 2014-04-24 17:16:20 +02:00
Thomas Gubler b249d04e52 geo: get function for timestamp of map projection 2014-04-24 17:13:06 +02:00
Thomas Gubler 35d15720ef geo: add timestamp and function to get init state 2014-04-24 17:04:27 +02:00
Thomas Gubler 6517c201f7 geo: add missing return, make map projection reference static 2014-04-24 15:59:13 +02:00
Thomas Gubler 3a898e54ad towards a global map projection instance, WIP: need to remove local updates of the reference and add a global map update 2014-04-24 14:30:29 +02:00
Anton Babushkin 5c53797c17 Merge branch 'master' into mpc_local_pos 2014-04-02 17:09:36 +04:00
Anton Babushkin 9b71e660ad Merge branch 'beta_mavlink2' into mpc_local_pos_mavlink 2014-03-19 20:01:01 +04:00
Anton Babushkin 068b7526b7 copyright and code style fixes 2014-03-18 00:10:38 +04:00
Anton Babushkin 2f7303f2dd geo lib: minor code style fix 2014-03-17 23:56:49 +04:00
Anton Babushkin 2284a7e985 geo lib: major rewrite of map_projection_XXX functions 2014-03-17 22:19:50 +04:00
Lorenz Meier 5a39a4cbd4 Merged mavlink_beta2 2014-03-11 17:53:42 +01:00
Anton Babushkin f9619e3934 geo: _wrap_XXX minor fix 2014-02-26 22:46:33 +04:00
Lorenz Meier 8016032a40 Merged beta into paul_estimator 2014-02-16 17:07:02 +01:00
Anton Babushkin 542ec2d91d Merge branch 'wrap_pi_fixes' into beta 2014-02-01 11:06:57 +01:00
Anton Babushkin 33daf84c00 lib/geo: bugs fixed, added function add_vector_to_global_position() 2014-01-28 16:56:53 +01:00
Lorenz Meier d8f04556be Strip unused variable 2014-01-05 01:56:24 +01:00
Thomas Gubler dca6d97a52 create geofence class and start moving fence functionality to this class 2014-01-02 14:18:02 +01:00
Julian Oes effa62937f Prevent some warnings for lat/lon double conversions 2013-12-27 11:14:08 +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
Julian Oes f351afe3f6 Geo: Copy distance function over from mavlink 2013-11-20 22:28:05 +01:00
Anton Babushkin e7f4d91022 geo: cleanup of wrap_XXX functions 2013-11-13 23:15:02 +04:00
Jean Cyr 1cf9f72f62 Add data manager module and fence support to navigator
- Add function to geo.c to determine if global position is inside fence
- Add navigator support/commands for maintaining fence coords.
- Add data manager module to support persistence fence storage. Can
store other data, but only used for fence at this time.
- Add unit tests for data manager
2013-11-03 12:40:13 -05:00
Lorenz Meier b6a0437c7c Fixed compile error 2013-09-08 22:30:56 +02:00