I'm not sure if this is a silly question or if I should be posting this in the "Math & Physics" forum but I'm working on a stack optimization program/autopilot and I need some help.
Basically I want to be able to set a desired angular acceleration. To do this I need to be able calculate how much torque in newton-meters is required to achieve the desired acceleration.
I know that in an idealized situation, Acceleration = Torque / Inertia (mass)
What I am unclear on is how the values returned by "GetRotDrag()" and "GetPMI()" factor into the above.
Once I know how much torque is required, gimbaling the engines or firing the RCS to achieve the desired torque is pretty straight forward.
Basically I want to be able to set a desired angular acceleration. To do this I need to be able calculate how much torque in newton-meters is required to achieve the desired acceleration.
I know that in an idealized situation, Acceleration = Torque / Inertia (mass)
What I am unclear on is how the values returned by "GetRotDrag()" and "GetPMI()" factor into the above.
Once I know how much torque is required, gimbaling the engines or firing the RCS to achieve the desired torque is pretty straight forward.