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 10: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 9: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 11: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 9:04 pm
Location: Kansas City, MO
Version: 2018.3.2
OS: Windows 10

Re: Boeing 777 - Holding Pattern

Postby Octal450 » Thu Mar 21, 2019 12:38 am

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
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: Boeing 777 - Holding Pattern

Postby Walter York » Thu Mar 21, 2019 1: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 9: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: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 9: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 4: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 9:04 pm
Location: Kansas City, MO
Version: 2018.3.2
OS: Windows 10

Re: Boeing 777 - Holding Pattern

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

it0uchpods wrote in Wed Mar 20, 2019 3: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: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: Boeing 777 - Holding Pattern

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

it0uchpods wrote in Wed Mar 20, 2019 2: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: 391
Joined: Wed Dec 13, 2017 11: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 1 guest