Nlaw - Update to use Missile Guidance Framework#10034
Conversation
| }; | ||
|
|
||
| private _yawRateDifference = _yawChange - _yawRate; | ||
| private _yawChangeDerivative = if (_timestep == 0) then { |
So this error has been present ever since the rewrite and I have been trying to determine why since. Right now, my thinking is that there is an accumulated error in the autopilot. Although, in the limit, the real turn rate will equal the calculated turn rate, because this rate is achieved off-path it will not turn as desired. My current thinking for a solution would be to calculate a new target turn rate each Why don't we just set the yaw and pitch rate to be the calculated rate at launch? Good question! This was the idea in the first implementation, but (and forgive me for not remembering specifics) it would not follow the path still. I think what happened was that the missile would fly into the ground eventually due to no altitude holding correction, and this bug was present in the yaw as well in some scenarios. The bug you showed is the only reason this missile has "known bugs", and I don't know the correct route to solve it; my vector math skills are very slow |

When merged this pull request will:
Merge Strategy
you know the drill
Follow #10019
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}.