Washout filter generates simulator's motions to simulate vehicle's motions.
go get github.com/shoarai/washout
package main
import "github.com/shoarai/washout/jaxfilter"
func main() {
// Set the interval of processing in milliseconds.
const interval = 10
wash := jaxfilter.NewWashout(interval)
// Pass vehicle's accelerations in meters per square second
// and angular velocities in radians per second.
position := wash.Filter(1, 1, 1, 3.14, 3.14, 3.14)
// Position has simulator's displacements in meters and angles in radians.
// type Position struct {
// X, Y, Z, AngleX, AngleY, AngleZ float64
// }
}
Evaluation of motion with washout algorithm for flight simulator using tripod parallel mechanism