CopterExpress / clever-show

Software for making the drone show with 🍀
GNU General Public License v3.0
76 stars 42 forks source link

Add ability to load full animation with takeoff and land without destroying logic of our animation parser #43

Closed goldarte closed 5 years ago

goldarte commented 5 years ago

Request description At this moment the logic of our animation parser is next: wait start command, takeoff to takeoff_height, wait takeoff_time, fly to first point, wait reach_first_point_time, then fly around every setpoint from animation file with a certain delay. When the points are over, wait land_time and land. So the animation file is supposed to have the next restrictions: first point should be on some height and can't be on the floor so the user can't make animation of takeoff, and the last point also should be on some height, and animation of landing is also impossible.

Describe the solution you'd like Add option to detect first start point and last land point automatically. The first point is the first point before x or y is changed, the last point is the first point in reverse order from the end when x or y is changed.

Describe alternatives you've considered Add arming and disarming flags to new animation exporter.

goldarte commented 5 years ago

Made it in f04d80b224ee07024e82d98475c17129d9df565a. Now it needs to be tested.

goldarte commented 5 years ago

Tested, it works.