Skip to content

This packages wraps the implementation of Madgwick algorithm to get orientation of an object based on accelerometer and gyroscope readings for Golang

Notifications You must be signed in to change notification settings

markfarnan/goahrs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

GoAHRS

Description

This packages wraps the implementation of Madgwick algorithm
to get orientation of an object based on accelerometer and gyroscope readings for Golang
More information about the algorithm can be found at http://www.x-io.co.uk/open-source-imu-and-ahrs-algorithms/

Installation

  • You must have Golang installed
  • And not necessarily git
    Go to C:\Go\src
    $ cd C:\Go\src
    Inside the folder execute the command:
    $ git clone https://github.com/brunocannavina/goahrs.git
    (or you can simply download it from github)
    then, open the folder goahrs:
    $ cd goahrs
    and install the package:
    $ go install

Usage

In your code add the packages goahrs

package main

import(
  "fmt"
  "goahrs"
)

func main(){

}

About

This packages wraps the implementation of Madgwick algorithm to get orientation of an object based on accelerometer and gyroscope readings for Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%