Initial altitude in CRE #417
-
Hi again, 00:00:00.00>CRE M6001, M600, 52.22023, 10.533871, 0, 30, 20 where the lat lon is the current position and that 30 is the current altitude. I do this overwriting of the scn programmatically. When you make a CRE in command line, the flight is created at the altitude indicated in the command. However, the behavior that I get is that, when the the scn is overwritten, it starts from 0 to reach that altitude in CRE. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I found a workaround for this. There it goes in case is of use for somebody. |
Beta Was this translation helpful? Give feedback.
-
Update: when I test this line: |
Beta Was this translation helpful? Give feedback.
-
Dear Miquel,
Ok, I’ll check.
For your info: It is now possible to switch off this FMS climbing and descending logic with the SWTOC and SWTOD command (see command reference). It will then climb/ descend in a mostly constant V/S between the altitude constraints.
Best regards,
Jacco Hoekstra
From: Joost Ellerbroek ***@***.***>
Sent: dinsdag 20 september 2022 11:12
To: TUDelft-CNS-ATM/bluesky ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [TUDelft-CNS-ATM/bluesky] Initial altitude in CRE (Discussion #417)
The vertical navigation logic follows the implementation of conventional aircraft: climb early, descend late. The behaviour you describe in your example should only occur if the intermediate waypoints do not explicitly specify an altitude constraint. In this case, after passing the last waypoint with an altitude constraint, the FMS will look forward for the next altitude constraint. If that is a higher altitude it will immediately climb, if it is a lower altitude it will determine when it should start descending at the latest.
However, when I tried this example, with an additional 00:01:33.00>M6001 AT M6001_WP2 ALT 120, it indeed doesn't descend back to 100 when it gets near WP3. I think this is a bug. I've forwarded it to the maintainer of the bluesky FMS code!
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/TUDelft-CNS-ATM/bluesky/discussions/417*discussioncomment-3688437__;Iw!!PAKc-5URQlI!9d09oPuRkm0r0vQ1sK9APsW_j3os9QNwutVGmNxzMZzkmPBoBAbVGirv3Gt1VQ2-5GyMISFgrh_nUasY5Mx8Z_bgUyf6jg$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ABWT2BAUOCNRGLA7ZWVM74DV7F5VJANCNFSM57IBCBAQ__;!!PAKc-5URQlI!9d09oPuRkm0r0vQ1sK9APsW_j3os9QNwutVGmNxzMZzkmPBoBAbVGirv3Gt1VQ2-5GyMISFgrh_nUasY5Mx8Z_Z4W2-mEQ$>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
Indeed AT ALT should take care of this normally, I’ve got your scenario now and will check this soon.
From: Miquel Angel ***@***.***>
Sent: vrijdag 16 september 2022 20:40
To: TUDelft-CNS-ATM/bluesky ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [TUDelft-CNS-ATM/bluesky] Initial altitude in CRE (Discussion #417)
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.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/TUDelft-CNS-ATM/bluesky/discussions/417*discussioncomment-3665035__;Iw!!PAKc-5URQlI!4KTB0EdbiNBTANXpXt3F8D593uC9f0W0d35uPCV2Ug7FRJeBAFuCK6vntQ41TRYujZtFzSBU4R8DLC_2XJFcCxgJjcaMYA$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ABWT2BFNLQMEGAAFXWNMY5LV6S5ILANCNFSM57IBCBAQ__;!!PAKc-5URQlI!4KTB0EdbiNBTANXpXt3F8D593uC9f0W0d35uPCV2Ug7FRJeBAFuCK6vntQ41TRYujZtFzSBU4R8DLC_2XJFcCxjatvkavg$>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
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.