Skip to content

Can I get the gps points of the trajectory? #4

Open

Description

@DragonSongjg

I want to use the simulated trajectory data to mining. Is there any trained model I could use? Can I get the gps points of the trajectory?

Activity

  1. DragonSongjg commented on Dec 20, 2019

    @DragonSongjg
    Author

    Can the existed methods to control a plane complete a trajectory without the take-off and landing?

  2. adderbyte commented on Dec 22, 2019

    @adderbyte
    Owner

    Hi,
    Yes, you can get GPS points of the trajectory .

    1. The trajectories are returned as model state parameters. If you could get someone to fly while you collect the parameters by starting the program, such parameters could help modelling and mining.
    2. The take-off and landing scenario have not been included, though you could configure them as well. The present scenario involves keeping heading : that is keeping a straight line trajectory without the landing or take-off part.

    I hope this answers your questions!

    Best regards.

  3. DragonSongjg commented on Dec 22, 2019

    @DragonSongjg
    Author

    Thanks for your reply. It helps a lot.
    I need trajectory data shaped like circle and 8 without the landing and take-off.
    Is there any way I can use the simulator to get a large number of this kind of trajectories?

    Hope for your reply
    Best wishes

  4. adderbyte commented on Dec 23, 2019

    @adderbyte
    Owner

    Hi,
    If you mean the trajectories data. Then you need to first create a scenario that describe the trajectory
    you want. The trajectory data will be collected using human pilot or auotpilot and you can collect a large number of those. Below I highlight the steps to create a flight trajectory:

    1.
    A flight planner would be helpful. Even for the simple keep heading scenario a flight planner was used. This helps define a trajectory course for the aircraft. The flight plan is loaded into the flight management system: such that if the system deviates from the flight plan you
    penalize it : this is the logic for the present configuration

    2.
    To achieve (1) I downloaded a real flight path (waypoints) as prepared by professional pilots
    on [SkyVector] (https://skyvector.com/). I edited it to leave out the take off airport and landing so
    that only the intermediate points are reflected (that defines a straight line path).

    3.
    I converted the flight path into a usable .fms file on this website [ConvertFlighWare] (https://x-planetools.com/fltawareparser.html). The result is what you have on my reporsitory here https://github.com/adderbyte/GYM_XPLANE_ML/blob/master/gym_xplane_final_version/flightPlan.fms

    4.
    The .fms file is then loaded into X-Plane/Output/FMS. Note if you choose a particular airport area in xplane then you should choose a corresponding flight plan within that area on skyvector and delete the waypoints you do not want

    5.
    Now you could follow the same step to create a trajectory plan with circle or 8 . Note that it is after creating this trajectory that you could then get parameters from a human pilot that follows the trajectory or by using the autopilot option.

    Lastly, I came up with the above steps just to fulfill the project requirement. My knowledge of flight operations is grossly inadequate: but the steps above satisfied my needs. A better place to get general information and even professional pilot input would be the Xplane forum : https://forums.x-plane.org/index.php?/forums/&_fromLogout=1

    Enjoy! I hope this helps.
    Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions