Costum On-Fly-Function / Dronie

Sven

Hello,

i try to write my own Dronie costum On-Fly-Function.

The target is, that the last 10 meter the gimble go slowly in the pitch 0 position.

I try this:

const marker4 = new Dronelink.PathComponentMarker(path.nearestDistance(start.spatial.coordinate.geoCoordinate(new Dronelink.Vector2(start.spatial.orientation.yaw + Math.PI, distance-10))))
marker4.gimbalOrientations = {}
marker4.gimbalOrientations[0] = new Dronelink.Orientation3Optional()
marker4.gimbalOrientations[0].pitch = 0
marker4.gimbalOrientations[0].heading = 0
marker4.gimbalOrientations[0].Interpolation=Dronelink.InterpolationFunction.None
component.addMarker(marker4)

 

But the heading und the Interpolation is in the test not set?!?

Can anybody help me?

0

Comments

2 comments

Please sign in to leave a comment.