Used to convert GPS ground truth data into JSON format and send to core via TCP.
go get github.com/markd666/gtjson
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
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