Problem SetAttitudeRotLevel () ignoring x Axis

Hlynkacg

Aspiring rocket scientist
Addon Developer
Tutorial Publisher
Donator
Joined
Dec 27, 2010
Messages
1,870
Reaction score
3
Points
0
Location
San Diego
I'm not sure whether this belongs in "Bug-Reports" but I've found something odd.

I'm testing an MFD auto pilot I've been working on using a "Stock" ShuttlePB as my Test Vehicle and have been having trouble with pitch authority.

Upon closer inspection I have discovered that the ShuttlePB seems to ignore the x component of VESSEL::SetAttitudeRotLevel (vector) and I am at a loss for why. All RCS groups have been declared and there doesn't appear to be anything in the code that would be overriding it. This occurs regardless of whether I use the ShuttlePB packaged with Orbiter 2010 or one I compile my self from the SDK sample.

I would like to know why this is happening and how to fox or avoid this issue in the future.

Ideas?

---------- Post added at 10:45 ---------- Previous post was at 10:17 ----------

Additional...

this issue occurs regardless of whether I use

SetAttitudeRotLevel (int axis, double th)

or

SetAttitudeRotLevel (const VECTOR3 &th)

however I can set the thruster manually like so...

Code:
SetThrusterGroupLevel (THGROUP_ATT_PITCHUP, input.x);
SetThrusterGroupLevel (THGROUP_ATT_PITCHDOWN,-input.x);

...and it will work.

---------- Post added at 14:56 ---------- Previous post was at 10:45 ----------

Been poking this particular problem with a stick all afternoon and have determined that this issue is associated with & possibly caused having a single thruster assigned to multiple attitude control groups.
 
Top