disable ground steering head turn (until there's a better implementation?).
This does often work badly, especially in seaplanes.
This commit is contained in:
parent
46f66693e2
commit
b94a02a4f5
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ view_manager.default_plane = func {
|
||||||
var hdg = me.headingN.getValue();
|
var hdg = me.headingN.getValue();
|
||||||
var hdiff = normdeg(me.last_heading - hdg);
|
var hdiff = normdeg(me.last_heading - hdg);
|
||||||
me.last_heading = hdg;
|
me.last_heading = hdg;
|
||||||
var steering = normatan(me.hdg_change.filter(hdiff)) * me.size_factor;
|
var steering = 0; # normatan(me.hdg_change.filter(hdiff)) * me.size_factor;
|
||||||
|
|
||||||
var az = me.az.get();
|
var az = me.az.get();
|
||||||
var vx = me.vx.get();
|
var vx = me.vx.get();
|
||||||
|
|
Loading…
Reference in a new issue