Skip to content

markd666/gtjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ground Truth JSON converter

Go Report Card GoDoc Build Status

Used to convert GPS ground truth data into JSON format and send to core via TCP.

Usage

go get github.com/markd666/gtjson

Example

In the folder /example is a main.go file which shows the basic usuage of the package.

cd example go run main.go

or

cd example go build ./example.exe

Data Order

GTTelemetry struct has four variables. Note the order of x/y/z,

PositionMeters [4]float64  // [0] = x | [1] = y | [2] = z
Quaterion      [4]float64  // [0] = w | [1] = x | [2] = y | [3] = z
Euler          [3]float64  // [0] = yaw | [1] = pitch | [2] = 'roll'
Timestamp      int64          // Unix Epoch time in milliseconds 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages