- #1
zazz0000
- 10
- 2
- Homework Statement
- Auto-Hover instructions for the AI
- Relevant Equations
- Uncertain at this time
Hello again everybody.
Encountered another challenge with the helicopter game we've been writing.
For sake of simplicity, let's consider this to be a one-dimensional problem.
I have a helicopter traveling at speed V and an arbitrary pitch angle A.
The acceleration of the helicopter is defined thrust t and mass m as t * cos(A) / m.
The pitch rate has a max of dAMAX, and a maximum rate of change of ddAMAX.
Also there's simplified air drag R = ½v^2 * dragCoefficient, although that might be a needless complication for this problem.
The goal is to provide AI instructions to come to a hover in as little time as possible.
So basically achieve V=0 and A=0 simultaneously.
Made a little animation to show the approximate scenario:
Any ideas would be appreciated.
Thanks in advance everybody.
Encountered another challenge with the helicopter game we've been writing.
For sake of simplicity, let's consider this to be a one-dimensional problem.
I have a helicopter traveling at speed V and an arbitrary pitch angle A.
The acceleration of the helicopter is defined thrust t and mass m as t * cos(A) / m.
The pitch rate has a max of dAMAX, and a maximum rate of change of ddAMAX.
Also there's simplified air drag R = ½v^2 * dragCoefficient, although that might be a needless complication for this problem.
The goal is to provide AI instructions to come to a hover in as little time as possible.
So basically achieve V=0 and A=0 simultaneously.
Made a little animation to show the approximate scenario:
Thanks in advance everybody.