Steering Manager Examples
Does anyone have script examples of a working use of the Steering Manager? I've been looking through the documentation, but I haven't seen how to set it up. Thanks!
Posted Apr 23, 2018, 7:29 PM UTC
Does anyone have script examples of a working use of the Steering Manager? I've been looking through the documentation, but I haven't seen how to set it up. Thanks!
Posted Apr 23, 2018, 7:29 PM UTC
you don't need to set up anything to use the kOS steering manager it is set up for you as part of kOS loading when a craft loads the most you can do is tweak settings. as for basic use any time you do things with LOCK STEERING you are using the steering manager because the steering manager is what translates between you telling kOS LOCK STEERING TO HEADING(90,45) (heading of 90, pitch of 45) to the roll, pitch, and yaw inputs that are needed to get you pointed in that direction.
Nice, I kept thinking it was a way to set up the PID loop functionality. Thank you.
kOS set up the PID loops for it's lock steering for you and tries to tune them as well as it can for the torque your craft can generate the Steering Manager settings is all about tweaking the defaults to try to get better results for a craft where the defaults don't work as well as desired
[deleted]
If you want roll to be corrected at the same time as the other axes, you can use
set steeringmanager:rollcontrolanglerange to 180.Works great for atmospheric autopilots :)
[deleted]
I haven't run into this problem before, though I have seen in the documentation how vectors & directions are calculated in order, and going out of order yields a different result. I'm not too familiar with the problem.
How does changing the roll range fix it, though? With a range of 180, presumably we can cover a full circle. Would airplanes use roll angle to fix unusual attitudes, for example?
[deleted]
That answers it perfectly; I thought it was more complex. Thank you.
I created a PD Feedback/Feedforward controller for a lander, and I'm branching out into airplanes, but wanted to try a different method.
[deleted]