Board index FlightGear Development Aircraft Autopilot and route manager

Boeing 777 - Holding Pattern

Designing a stable autopilot is one of the hardest things. Need help?

Re: Boeing 777 - Holding Pattern

Postby Walter York » Wed Mar 20, 2019 9:30 pm

Hi josh,

Thanks I will integrate this and give it a try.

Thanks,
Walter
Walter York
 
Posts: 15
Joined: Tue Feb 05, 2019 8:04 pm
Location: Kansas City, MO
Version: 2018.3.2
OS: Windows 10

Re: Boeing 777 - Holding Pattern

Postby Walter York » Wed Mar 20, 2019 10:33 pm

Screenshots pictures are labeled showing various points in the process.

I have figured out how to share the screenshots I took. The link below has all of them.

https://1drv.ms/f/s!AkimS6Rlt1GXg1aSMjGhQNWB-dqS
Walter York
 
Posts: 15
Joined: Tue Feb 05, 2019 8:04 pm
Location: Kansas City, MO
Version: 2018.3.2
OS: Windows 10

Re: Boeing 777 - Holding Pattern

Postby Octal450 » Wed Mar 20, 2019 11:38 pm

Cool.
You may want to make it more like a horse track instead of a circle, this is what is done in real life.

Kind Regards,
Josh
Waste of time. Goodbye forever.
Octal450
 
Posts: 4398
Joined: Tue Oct 06, 2015 12:51 pm

Re: Boeing 777 - Holding Pattern

Postby Walter York » Thu Mar 21, 2019 12:01 am

HI josh,

Circle was the easiest to do to learn the process and get the base code working. Ovals are next pattern I want to add. I have installed your code and made the modes to mine to use it. I am starting to run some tests. I will let you know how it goes. Thanks for your help and suggestions to make this more realistic.

Walter
Walter York
 
Posts: 15
Joined: Tue Feb 05, 2019 8:04 pm
Location: Kansas City, MO
Version: 2018.3.2
OS: Windows 10

Re: Boeing 777 - Holding Pattern

Postby Walter York » Thu Mar 21, 2019 2:55 am

Hi josh,

The code you sent made it much better. I'll need to to a little refactoring on my code but this has gotten the drifting tamed.

2.5 Circles Before
https://1drv.ms/u/s!AkimS6Rlt1GXg2eU2PQ7wy5IVPKC

3 circles after
https://1drv.ms/u/s!AkimS6Rlt1GXg2hiY-s2NYKCdi0Z

Thanks,
Walter
Walter York
 
Posts: 15
Joined: Tue Feb 05, 2019 8:04 pm
Location: Kansas City, MO
Version: 2018.3.2
OS: Windows 10

Re: Boeing 777 - Holding Pattern

Postby Walter York » Thu Mar 21, 2019 3:32 am

HI sidi,

"https://gitlab.com/sidi762/FG777CDUimprovementProject"

I tried to clone your repo to run it and take a look at the CDU code and for this ...

$ git clone git@gitlab.com:sidi762/FG777CDUimprovementProject.git
Cloning into 'FG777CDUimprovementProject'...
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights

thanks,
Walter
Walter York
 
Posts: 15
Joined: Tue Feb 05, 2019 8:04 pm
Location: Kansas City, MO
Version: 2018.3.2
OS: Windows 10

Re: Boeing 777 - Holding Pattern

Postby Richard » Thu Mar 21, 2019 8:06 am

it0uchpods wrote in Wed Mar 20, 2019 2:29 pm:Hi sidi,
The only change that affects the pilot is that Route Manager won't work with the plane, and they must use the FMC. I think this is the way to go. R/M is useless in realism. Hence why people like PMDG abandoned the FSX route entry system.


Josh - how feasible is it to fix (or replace) the current route manager with your FMC version in terms of functions that are currently available on RM versus how it operates on the FMC? Or is it too aircraft specific to be possible to have a generic route manager that works properly.
Richard
 
Posts: 726
Joined: Sun Nov 02, 2014 10:17 pm
Version: Git
OS: Win10

Re: Boeing 777 - Holding Pattern

Postby tdammers » Thu Mar 21, 2019 8:29 am

it0uchpods wrote in Wed Mar 20, 2019 1:31 pm:Hi tdammers
I disagree. It is easy to add a hold flag to custom system. Anything the RM can do, we can do via nasal flight plan, and better and more realistic.


I'm not talking about the RM GUI; that one is pretty terrible, no discussion there. But using the existing RM data structures via their nasal API (and fixing those where they need fixing) gives you a bunch of things for free that you would have to reinvent in Nasal. E.g.:

- Displaying the route in the in-sim map
- Displaying the route in Phi (I use this feature a lot)
- Exposing flight plan and progress through the flight plan via properties
- Loading and saving flight plans to/from disk (and having them work across aircraft models - e.g. I might want to fly the same route with two different aircraft; granted, this isn't very realistic, because not all RL FMC's use the same data format for company routes, but it's still bloody convenient in FG, and it's not the kind of realism that makes things more fun)

I agree that the RM is currently not very good - the UI is lacking direly, it has bugs, etc., but IMO the solution is not to replace it completely with Nasal code, but to fix it, and then maybe extend it with Nasal as needed.

Then again, having a fully working CDU *at all* would be a huge leap forward, so if doing it all in Nasal is what it takes, I won't oppose.
tdammers
 
Posts: 233
Joined: Wed Dec 13, 2017 10:35 am
Callsign: NL256
IRC name: nl256

Previous

Return to Autopilot and route manager

Who is online

Users browsing this forum: No registered users and 0 guests