MomsFriendlyRobotCompany / ins_nav

Licence: MIT license
Inertial navigation and AHRS library

Programming Languages

Jupyter Notebook
11667 projects
C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to ins nav

microstrain inertial
ROS driver for all of MicroStrain's current G and C series products. To learn more visit
Stars: ✭ 44 (+69.23%)
Mutual labels:  imu, ins
imu ekf
6-axis(3-axis acceleration sensor+3-axis gyro sensor) IMU fusion with Extended Kalman Filter.
Stars: ✭ 56 (+115.38%)
Mutual labels:  imu
goflying
Go tools for flying
Stars: ✭ 15 (-42.31%)
Mutual labels:  ahrs
rtimulib ros
A small package to use the RTIMULib in ROS
Stars: ✭ 28 (+7.69%)
Mutual labels:  imu
SlimeVR-Server
Server app for SlimeVR ecosystem
Stars: ✭ 361 (+1288.46%)
Mutual labels:  imu
Awesome-Human-Activity-Recognition
An up-to-date & curated list of Awesome IMU-based Human Activity Recognition(Ubiquitous Computing) papers, methods & resources. Please note that most of the collections of researches are mainly based on IMU data.
Stars: ✭ 72 (+176.92%)
Mutual labels:  imu
OpenCVB
OpenCV .Net application supporting several RGBD cameras - Kinect, Intel RealSense, Luxonis Oak-D, Mynt Eye D 1000, and StereoLabs ZED 2
Stars: ✭ 60 (+130.77%)
Mutual labels:  imu
ronin
RoNIN: Robust Neural Inertial Navigation in the Wild
Stars: ✭ 144 (+453.85%)
Mutual labels:  imu
bno055
ROS2 driver for Bosch BNO055 using UART or I2C
Stars: ✭ 25 (-3.85%)
Mutual labels:  imu
IMU-VR-Full-Body-Tracker
Inertial Measurement Unit (IMU) based full body tracker for Steam VR.
Stars: ✭ 46 (+76.92%)
Mutual labels:  imu
AxisOrange
Sending M5 series IMU sensor data by Bluetooth SPP.
Stars: ✭ 35 (+34.62%)
Mutual labels:  imu
imu 3dm gx4
Driver for Lord Corporation Microstrain 3DM GX4 25
Stars: ✭ 31 (+19.23%)
Mutual labels:  imu
pymetawear
Community developed SDK around the Python bindings for the C++ SDK
Stars: ✭ 42 (+61.54%)
Mutual labels:  imu
Embedded UKF Library
A compact Unscented Kalman Filter (UKF) library for Teensy4/Arduino system (or any real time embedded system in general)
Stars: ✭ 31 (+19.23%)
Mutual labels:  imu
Balance-Bot
A two-wheel self-balancing robot based on the ATmega2560 micro-controller.
Stars: ✭ 33 (+26.92%)
Mutual labels:  imu
belaonurhead
Bela On Ur Head - head-tracking for binaural audio with Bela
Stars: ✭ 22 (-15.38%)
Mutual labels:  imu
lidar-sync-mimics-gps
Open-Source LiDAR Time Synchronization System by Mimicking GPS-clock
Stars: ✭ 52 (+100%)
Mutual labels:  imu
awosome-ai-in-social-media
💻 Collect those AI & Bot use in social media wechat/facebook/twitter/instagram/weibo/TikTok etc.
Stars: ✭ 21 (-19.23%)
Mutual labels:  ins
wasr network
WaSR Segmentation Network for Unmanned Surface Vehicles v0.5
Stars: ✭ 32 (+23.08%)
Mutual labels:  imu
sensor-imu
C library to interact with various IMUs (MPU6000, MPU6050, MPU6500, ICM20600, ICM20601, ICM2062)
Stars: ✭ 16 (-38.46%)
Mutual labels:  imu

ins_nav

Actions Status PyPI - License PyPI - Python Version PyPI - Format PyPI

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

Install

The suggested way to install this is via the pip command as follows:

pip install ins_nav

Development

To submit git pulls, clone the repository and set it up as follows:

git clone https://github.com/MomsFriendlyRobotCompany/ins_nav
cd ins_nav
poetry install

Usage

  • ins_nav.wgs84 contains a bunch of useful constants: semi-major axis, gravity, etc
  • ins_nav.ahrs creates an attitude and heading reference system (AHRS) using accelerometers, gyroscopes, and magnetometers
  • TiltCompensatedCompass contains the mathematics of an IMU with accelerometers, gyroscopes, and magnetometers
  • ins_nav.transforms has a bunch of reference frame conversions: ecef2llh, llh2ecef, etc

Transforms (in work)

Earth Centered Frames

  • ECI: 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 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) is similar to the ECEF frame, but is the frame historically used for navigation

Navigation Frames

  • ENU: East North Up a local navigation frame, where up and the z-axis align, but clockwise right turns are negative
  • NED: 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

Other Good Navigation Libraries

  • lat_lon_parser allows you to convert between measurements formats like -45 deg 12' 36.0 sec, 45.21 W, and -45.21 easily
  • nvector has a lot of capability
  • navpy appears to be simple grad student work but code is well referenced (BSD)
  • navigation does GPS navigation and way points

Todo

  • extended kalman filter
  • navigation equations
  • error model

Change Log

Date Version Notes
2020-03-28 0.6.0 moved to poetry
2019-07-05 0.5.1 cleanup and new functions
2017-07-07 0.0.1 init

The MIT License (MIT)

Copyright (c) 2017 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].