Military AI Works • AI goes straight (question)
Page 1 of 2

AI goes straight (question)

Posted: 12 Mar 2021, 11:58
by YoYo
Hi,
I did my first own AI traffic for test only (from small airfield). P3Dv5 and traffic was created using AI Flight Planner (I'm learning it).
I noticed that AI plane goes near straight from parking point (to the forest, next to the inside of mountain ect :D ). Airport was created using ADE, I think its OK, but maybe I miss something for AI traffic?

Any idea why it happened? What can I improve?

Image

Image

Image

Thx for any help.

Re: AI goes straight (question)

Posted: 12 Mar 2021, 12:09
by hschuit
You need to add a hold short node between the parking spot and the runway start node. If you use the ADE fault finder it will detect issues like this.

Henk.

Re: AI goes straight (question)

Posted: 12 Mar 2021, 13:37
by YoYo
hschuit wrote: 12 Mar 2021, 12:09 You need to add a hold short node between the parking spot and the runway start node. If you use the ADE fault finder it will detect issues like this.

Henk.
Thx a lot. ADE fault finder didnt detect this.
I added it, however its the same still (just the plane stops for 1-2 seconds on this point). I added default Cub for the test (to check it's not a model) , the same:

Image

Image

Re: AI goes straight (question)

Posted: 12 Mar 2021, 13:46
by hschuit
What about the radio chatter between ATC and AI model? Maybe something is wrong with take off clearance. Does the AI model have a correct Aircraft.cfg [radios] section? Does the airfield have a tower frequency? Does the airfield have a correct runway - the black runway taxi path with the runway start circle is not enough.

Re: AI goes straight (question)

Posted: 12 Mar 2021, 14:59
by leuen
The red hold short node should be between parking and runway link. And you have to delete the one on runway link. Obvisouly you just added an normal blue node.

Bernard

Re: AI goes straight (question)

Posted: 12 Mar 2021, 15:01
by YoYo
hschuit wrote: 12 Mar 2021, 13:46 What about the radio chatter between ATC and AI model? Maybe something is wrong with take off clearance. Does the AI model have a correct Aircraft.cfg [radios] section? Does the airfield have a tower frequency? Does the airfield have a correct runway - the black runway taxi path with the runway start circle is not enough.
Thx for advices. I added the tower, the communication is ok I suppose:

Image

clearance was given. Model has radio entry in aircraft.cfg:
[Radios] // availiable, standby frequency, has glide slope
Audio.1 = 1
Com.1 = 1, 1
Com.2 = 1, 1
Nav.1 = 1, 1, 1
Nav.2 = 1, 1, 0
Adf.1 = 1
Transponder.1 = 1
Marker.1 = 1

So maybe something is wrong with the runway start, hmm ?

Here I added this airfield (but without objects but with this plane): https://www.sendspace.com/file/92ry7z

Re: AI goes straight (question)

Posted: 12 Mar 2021, 15:04
by YoYo
leuen wrote: 12 Mar 2021, 14:59 The red hold short node should be between parking and runway link. And you have to delete the one on runway link. Obvisouly you just added an normal blue node.

Bernard
TY Bernard, I'll try it.

Re: AI goes straight (question)

Posted: 12 Mar 2021, 16:47
by YoYo
I did something like this, still no luck :( :

Image

Re: AI goes straight (question)

Posted: 12 Mar 2021, 17:16
by gsnde
The ADE Fault Finder does not find anything?

Re: AI goes straight (question)

Posted: 12 Mar 2021, 17:51
by hschuit
Your 18/36 runway only has one entry at the 18 end and in your screenshot above, ATC gives clearance for a 36 departure. The only way to get there is to taxi the runway down to the opposite end. I thought AI would not have a problem with that but I am not sure. What happens if you enforce a 18 departure by setting the wind direction from the south (180 degrees) ?

Re: AI goes straight (question)

Posted: 12 Mar 2021, 17:52
by YoYo
gsnde wrote: 12 Mar 2021, 17:16 The ADE Fault Finder does not find anything?
No, looks ok:

Image

Image

Image

What I did now, I take different, finished bigger airport (also its a conversion from FS9/FSX). Added here Piper Cub for the test and result is near the same:

Radio works, he reqested of permission, recived it, starts to taxi but.... goes staright too, like it doesnt see taxi way.

Image

Image
hschuit wrote: 12 Mar 2021, 17:51 Your 18/36 runway only has one entry at the 18 end and in your screenshot above, ATC gives clearance for a 36 departure. The only way to get there is to taxi the runway down to the opposite end. I thought AI would not have a problem with that but I am not sure. What happens if you enforce a 18 departure by setting the wind direction from the south (180 degrees) ?
I tested it (changed direction of the wind), with 18 was the same.

Re: AI goes straight (question)

Posted: 12 Mar 2021, 17:58
by YoYo
The point is, it's quite a big project, I would like to finally add a little more life here, so AI traffic, but I can see that I have a problem with that. ;) I suspect that I need to verify something more in the airports themselves so as to force the AI traffic to behave properly. Of course I can only stay with static models but AI gives a lot of immersion.

Here is more about my idea: http://www.sim-outhouse.com/sohforums/s ... -(preview) .

Re: AI goes straight (question)

Posted: 12 Mar 2021, 18:04
by hschuit
Seeing your test result, it looks like yet another tail dragger problem. AI tail dragger models have a very wide taxi turning radius, that is why they cannot taxi through tight turns and they end up beside the taxi track. The problem can be reduced to some extend by:

- Reducing gear contact distance between main and tail wheels
- Increasing steer angle to 90
- Increase empty_weight_yaw_MOI up to 3x
- Set [contact_points] tailwheel_lock = 0 and gear_system_type = 0

Re: AI goes straight (question)

Posted: 12 Mar 2021, 18:10
by YoYo
Maybe You have right, thank you. :)

Can you recommend something for the test from the MAIW library as a benchmark for tail dragger for this to see if it is it??

Re: AI goes straight (question)

Posted: 12 Mar 2021, 18:13
by hschuit
You could try these:

MAIW JAI North-American AT-6 Texan Conversion
MAIW TKAI PZL PZL-104 Wilga Conversion

When I converted them I tried to make them turn on the taxi track as tight as I could.

Re: AI goes straight (question)

Posted: 12 Mar 2021, 18:25
by gsnde
Say, is the aircraft you are using an AI Aircraft? Or do you use a normal user aircraft?


From mobile hence short

Re: AI goes straight (question)

Posted: 12 Mar 2021, 19:03
by YoYo
gsnde wrote: 12 Mar 2021, 18:25 Say, is the aircraft you are using an AI Aircraft? Or do you use a normal user aircraft?
From project were models named AI, I converted textures only for DDS standard.
hschuit wrote: 12 Mar 2021, 18:13 You could try these:
...

BINGO! :D
It was this! So the scenery was ok. Now I know what must be improved. Sorry for the confusion, but I just started Today learning about AI traffic.

Image

So I'll start checking it at the finish, or maybe I'll announce here when I'm closer to the finish of the whole project and someone will check these 20 models which are for AI traffic but not quite as I can see now. Most importantly for me, that it's ok with the scenery for AI traffic. Thank you very much for help. :smt006 :smt006 :smt006

Re: AI goes straight (question)

Posted: 12 Mar 2021, 19:23
by hschuit
YoYo, we have FSX/P3D converted versions of many of the aircraft types you use in the SOH screenshots. They are 100% built for AI traffic use.

Re: AI goes straight (question)

Posted: 12 Mar 2021, 19:31
by gsnde
You should indeed find something here...

AI Models converted to FSX/P3D

FSX Models

P3D Models


From mobile hence short

Re: AI goes straight (question)

Posted: 12 Mar 2021, 20:03
by YoYo
gsnde wrote: 12 Mar 2021, 19:31 You should indeed find something here...
hschuit wrote: 12 Mar 2021, 19:23 YoYo, we have FSX/P3D converted ...
Thx! I'll check this too.

Btw.
After small modification at the end Wilga turns perfect to the opposite take off (36R). :)

Image