Cutsom On-Fly-Funktion / Speed between path-markers
Hello everybody,
how can i determine the speed between two markers in a custom on-the-fly function?
Many Thanks
Hello everybody,
how can i determine the speed between two markers in a custom on-the-fly function?
Many Thanks
<%= block.description %>
<% } %>
Comments
5 comments
Not sure I understand the question.
Hello,
I'm currently programming a custom on-fly function. I want to reduce the speed of the drone from a certain marker on a path to 3 kmh and switch back to the "normal" speed from the next marker.
Can you share your code?
I would like to program the following setting of a marker in an custom on-fly function:
const m1 = new Dronelink.PathComponentMarker(path.nearestDistance(start.spatial.coordinate.geoCoordinate(new Dronelink.Vector2(start.spatial.orientation.yaw + Math.PI, distance-5))))
m1.altitude = end.spatial.altitude
m1.pointOfInterestID = poiMain.id
component.addMarker(m1)
How can I set the max speed for m1?
The speed on markers is saved in a value called droneMotionLimits. It can be set like this:
Please sign in to leave a comment.