Board index FlightGear Development Spaceflight

Space Shuttle - Bugfixes

Discussion about development and usage of spacecraft

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Jan 14, 2021 7:58 pm

First question with @eatdirt's bug, can you use any runway, or do I need to be at a specific runway/airport?
edit: I answered that for myself.

How long before you get a visual of the Shuttle's approach?
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Space Shuttle - Bugfixes

Postby eatdirt » Thu Jan 14, 2021 8:44 pm

Hi Wayne, I am testing this with 2020.3.5 (latest stable).

Have a look to Equipment->map and click on traffic. As soon as you engage the scenario, Atlantis appears there, with quite a big velocity vector :) It only take 3-4 minutes for it to reach the HAC around KEDW. If you unclick and click again the Shuttle button in the AI scenario, it starts again from the beginning. The hardest part is to chase it with a plane, maybe the UFO is easier for debugging!
eatdirt
 
Posts: 1012
Joined: Wed Aug 15, 2018 3:06 pm

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Jan 14, 2021 9:02 pm

OK, I see it on the map, yep going to take the UFO for this exercise.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Jan 14, 2021 9:12 pm

OK, got the same results you do, now why?
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Space Shuttle - Bugfixes

Postby eatdirt » Thu Jan 14, 2021 9:13 pm

Aircraft/SpaceShuttle/SpaceShuttle.xml (note missing leading "AI/")


Yes, that's it!! Well done! Various files have incorrect paths:

Code: Select all
 /usr/share/games/flightgear/AI/Aircraft/SpaceShuttle/SpaceShuttle.xml
for which the effect path should be fixed to:
Code: Select all
<inherits-from>AI/Aircraft/SpaceShuttle/Effects/shuttle-main</inherits-from>


Same for
Code: Select all
 /usr/share/games/flightgear/AI/shuttle_landing_demo.xml
the correct path is:
Code: Select all
<model>AI/Aircraft/SpaceShuttle/SpaceShuttle.xml</model>


I can push a merge request, unless someone has commit rights.
eatdirt
 
Posts: 1012
Joined: Wed Aug 15, 2018 3:06 pm

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Jan 14, 2021 9:29 pm

Hum, nothing wrong with the AI file structure.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Jan 14, 2021 9:31 pm

Aircraft/SpaceShuttle/SpaceShuttle.xml (note missing leading "AI/")


The AI path was never necessary. Originally there was a path search that included AI if you designated only Aircraft. All my scenarios are that way. So apparently there is something more to this.
Last edited by wlbragg on Thu Jan 14, 2021 9:40 pm, edited 1 time in total.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Jan 14, 2021 9:34 pm

I would report it to the mailing list first and explain what was discovered, including this being new behavior. All scenarios will have been broken and it should be corrected in a different manner than having to change all the paths.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Jan 14, 2021 10:07 pm

Seems to be more than just this issue. None of my custom AI scenarios are working. They appear to not run at all..
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Space Shuttle - Bugfixes

Postby eatdirt » Thu Jan 14, 2021 10:09 pm

Done!
eatdirt
 
Posts: 1012
Joined: Wed Aug 15, 2018 3:06 pm

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Jan 14, 2021 10:26 pm

Yep, I was right behind you! :)
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Space Shuttle - Bugfixes

Postby wkitty42 » Thu Jan 14, 2021 11:38 pm

i responded on the list, too...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Space Shuttle - Bugfixes

Postby GinGin » Sat Jan 23, 2021 8:59 pm

@EatDirt :

Are you sure the TAEM does not work like before ? Could you try the stable release please and try the dev version with perfect state vector activated.
Also how is the runway overlay compared to the real runway position once in final ?

I didn’t touch anything about it in the present dev version and it works fine for me.

Item 41 was already to zero before as far as I remember ( you have to enter the target landing site once the scenario is loaded )

Speedbrakes logic has also been like For a while, ie. SB retraction below 3000 ft agl to a preset value depending on Nominal, short or ELS Speebrakes option in Spec 50.


So it is not really better to wait for the changes , as the behaviour should be like in your previous TAEM experiences .
I will check the commits I did, but I don’t see any files changed that would involve a breakage in the standard TAEM scenario.
GinGin
 
Posts: 1580
Joined: Wed Jul 05, 2017 11:41 am
Location: Paris
Callsign: Gingin

Re: Space Shuttle - Bugfixes

Postby eatdirt » Sun Jan 24, 2021 12:06 am

with perfect state vector activated.


Ah, that is interesting. What do you mean by that? I think I've never used that option :)

In the sim, I have always pushed all the sliders to maximal realism since day 0 (if this is what you are referring to?)
eatdirt
 
Posts: 1012
Joined: Wed Aug 15, 2018 3:06 pm

Re: Space Shuttle - Bugfixes

Postby GinGin » Sun Jan 24, 2021 8:03 am

@EatDirt : my guess is that the state vector is slightly off at the end of TAEM , leading to a wrong guidance then ( which can be quickly assessed by an overlay runway that does not match the true runway position , or by asking to the MCC our current delta position // Mission control — MCC status in option bar ).
You may have another look At Thorsten manual starting page 68.

Two things to test that :

1)Space shuttle options : Navigation on perfect (page 19 manual)


Then if it worked ok:

2) Navigation on realistic , check at the start of TAEM that Tacan ans MLS are on , and that all Kalmann filters are implemented ( item 19 and following in spec 50)
Item 42 for GPS update helps well if no MLS is available at a landing site
GinGin
 
Posts: 1580
Joined: Wed Jul 05, 2017 11:41 am
Location: Paris
Callsign: Gingin

PreviousNext

Return to Spaceflight

Who is online

Users browsing this forum: No registered users and 4 guests

cron