Skip to content

Initial altitude in CRE #417

Discussion options

You must be logged in to vote

I found a workaround for this. There it goes in case is of use for somebody.
When I want to change the plan during the flight, now I don't edit and reload the scn. In my case during the flight I receive instructions like: "change the altitude to +10 for the waypoints in the range [i, j] of the trajectory". Now I keep a dictionary: { waypoint_i: [list of commands] } that represents the commands to be executed once the drone passes the key waypoint.
When the drone arrives to i (or to i-1, that's up to you), I execute the commands associated, in this case an increase of the altitude.
When the drone passes j, I restore the original altitude with another command.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@jooste
Comment options

@OrxataEnFartons
Comment options

@jooste
Comment options

Answer selected by OrxataEnFartons
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants