Hello all,
First, thanks for providing such a great shuttle! I've enjoyed a lot while playing it. Well done guys!
I loved SSU so much so I want to help developing it. I have a good experience in C++ (In a scale from very bad to excellent) and a bad experience in Blender (I've just had some lessons today, I can continue learning it if it's necessary). The problem is I don't know where and how to start.
Unfortunately, I am not a NASA geek nor a shuttle pilot. I don't have this deep knowledge of space shuttle. But I am doing good in basic operations (ascent, basic orbital operations, re-entry, and landing).
I've started by trying to implement APU Auto Shutdown:
I've tried to implement the switch. However, I don't know how to set the correct mouse region:
Also, I am not sure how the bundle system works:
I am sorry if my questions look stupid or very noob ones. This is the first time I've ever seen such a complex project. All of my programming experience was in a simple, basic and small software. This is also my first deep entrance into Orbiter API and Orbiter vessels.
APU Auto Shutdown might be useless for the current version as it might rely on systems that don't exist yet or not fully implemented, but it should be a good start for me to 'make something useful'.
I would like any tutorials, guides, and advices.
First, thanks for providing such a great shuttle! I've enjoyed a lot while playing it. Well done guys!
I loved SSU so much so I want to help developing it. I have a good experience in C++ (In a scale from very bad to excellent) and a bad experience in Blender (I've just had some lessons today, I can continue learning it if it's necessary). The problem is I don't know where and how to start.
Unfortunately, I am not a NASA geek nor a shuttle pilot. I don't have this deep knowledge of space shuttle. But I am doing good in basic operations (ascent, basic orbital operations, re-entry, and landing).
I've started by trying to implement APU Auto Shutdown:
I don't believe APU secondary fuel valve and tank isolation valves are simulated. So my simple code is to shutdown APU using normal shutdown command when the conditions applied. I noticed during my tests that APU speed is getting over 129% during ascent. Is this normal?The APU AUTO SHUT DOWN switches on
panel R2 enable the automatic shutdown
feature in the associated APU controllers.
When the switch is positioned to ENABLE, each
controller monitors its corresponding APU
speed. If that APU speed falls below 57,600
rpm (80 percent) or rises above 92,880 rpm (129
percent), the controller automatically shuts
down that unit. Each shutdown command
closes that unit’s secondary fuel valve and the
tank isolation valves.
I've tried to implement the switch. However, I don't know how to set the correct mouse region:
Code:
pAPUAutoShtdwn[0]->SetMouseRegion(AID_R2, 0.226394f, 0.675783f, 0.271294f, 0.707931f);
pAPUAutoShtdwn[0]->SetReference(_V(1.237, 1.84, 13.998), switch_rot);
pAPUAutoShtdwn[0]->DefineSwitchGroup(GRP_S22_R2_VC);
pAPUAutoShtdwn[0]->SetInitialAnimState(0.5f);
Also, I am not sure how the bundle system works:
Code:
DiscreteBundle *pBundle=STS()->BundleManager()->CreateBundle(cbuf, 16);
pAPUCntlrPwr[i]->ConnectPort(1, pBundle, 1);
I am sorry if my questions look stupid or very noob ones. This is the first time I've ever seen such a complex project. All of my programming experience was in a simple, basic and small software. This is also my first deep entrance into Orbiter API and Orbiter vessels.
APU Auto Shutdown might be useless for the current version as it might rely on systems that don't exist yet or not fully implemented, but it should be a good start for me to 'make something useful'.
I would like any tutorials, guides, and advices.