https://github.com/the-guild-of-calamitous-intent/ins_nav
Inertial navigation and AHRS library
https://github.com/the-guild-of-calamitous-intent/ins_nav
ahrs imu ins python2 python3
Last synced: about 2 months ago
JSON representation
Inertial navigation and AHRS library
- Host: GitHub
- URL: https://github.com/the-guild-of-calamitous-intent/ins_nav
- Owner: the-guild-of-calamitous-intent
- License: mit
- Created: 2017-07-07T15:48:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-02T17:16:14.000Z (almost 2 years ago)
- Last Synced: 2024-10-18T13:16:51.862Z (8 months ago)
- Topics: ahrs, imu, ins, python2, python3
- Language: Python
- Homepage: https://pypi.python.org/pypi/ins-nav
- Size: 102 MB
- Stars: 35
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/MomsFriendlyRobotCompany/ins_nav)
# `ins_nav`
This library is written independent of any specific IMU. The idea is you pass in the appropriate
measurements and error terms from your IMU and get the desired output.**This is still under heavy development**
## Software
- `WGS84`
- Holds properties of the Earth
- Converts between ECEF (GPS) and LLH
- Haversine
- Filters
- `TiltCompensatedCompass`
- `Madgwick`
- `Mahony`
- Storage (Python only)
- `to_yaml`
- `to_pickle`
- Calibration (Python only)
- See `docs/jupyter`## Global Reference Frames
* [ECI: Earth-centered Inertial](https://en.wikipedia.org/wiki/Earth-centered_inertial) is an
inertial frame where Newton's laws of motion apply. It has its origin at the center of the
Earth with:
- x-axis in the direction of the vernal equinox
- z-axis is parallel to the rotation of the Earth
- y-axis completes the right-handed coordinate system
* [ECEF: Earth-centered, Earth-fixed](https://en.wikipedia.org/wiki/ECEF) has the same origin
as ECI, but rotates with the Earth and the x-axis points towards the zero/prime
meridian. The ECEF frame rotates at 7.2921E-5 rads/sec with respect to the ECI
frame
* [LLA(H): Latitude, Longitude, Altitude(Height)](tbd) is similar to the ECEF frame, but
is the frame historically used for GPS navigation## Local Navigation Frames
While ECEF can be used to navigate the globe, often, you only need to travel 100's of meters
or kilometers. Thus a local navigational frame that is tangental to the curvature of the
Earth is more useful (and intuitive). Two common ones are:* [ENU: East North Up](https://en.wikipedia.org/wiki/Axes_conventions#Ground_reference_frames:_ENU_and_NED)
a local navigation frame, where *up* and the z-axis align, but clockwise right turns
are negative
* [NED: North East Down](https://en.wikipedia.org/wiki/North_east_down) a local navigation
frame, where *up* and the z-axis are opposite, but the direction of right (clockwise)
turns are in the positive direction and is the standard vehicle roll-pitch-yaw frame# The MIT License (MIT)
**Copyright (c) 2016 Kevin J. Walchko**
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.