Space Engineers

Space Engineers

MArmOS (Mechanical Arm Operating System) v3.1
Kyr 10. aug. 2021 kl. 14:22
Not accepting input
I have a *very* simple arm (just one rotor and a cockpit at the moment) and I can't get the rotor to rotate.

void MArmOS_Configuration(){ var baseRotor = new Rotor( Name: "Advanced Rotor (Crane Base)", Axis: "Z", OriMode: 0 ); var myArm = baseRotor; var myController = new UserControl(Arm: myArm, ShipControllerKeyword: "Arm Controller"); }

I have a cockpit with "Arm Controller" in its name. I've set up two LCD's, one for echo and one for log.

On the echo display, I can see the "Current Input" values changing when I press WSAD etc. but the rotor doesn't move.

I'm sure I've done something silly but I just can't see it. Can anyone point me in the right direction?
Sidst redigeret af Kyr; 10. aug. 2021 kl. 14:43
< >
Viser 1-3 af 3 kommentarer
Timotei~  [udvikler] 10. aug. 2021 kl. 15:17 
Hi,
your arm is currently of length 0.
Because of that, MArmOS cannot calculate the rotation of the rotor. You should add a Solid to it.
eg: var myArm = baseRotor+new Solid(1, 0, 0);

Also, if you want to use the mouse, you can set OriMode to 1 on your rotor.
Have a nice day
Kyr 10. aug. 2021 kl. 15:43 
Thanks, that explains it. Thanks.

Ok, so that got the base rotor moving. Now I'm trying to set this up:

https://steamuserimages-a.akamaihd.net/ugc/1684895765196068793/4B176CA5DB1C7AEC68D9360B0C05EAF93091C7A0/?imw=5000&imh=5000&ima=fit&impolicy

void MArmOS_Configuration(){ var baseRotor = new Rotor( Name: "Advanced Rotor (Crane Base)", Axis: "Z", OriMode: 0 ); var solid = new SolidSG(10,0,16); var hydrolicActuator1 = new Piston(Name: "Piston (Crane Hydrolic 1)", Axis: "X"); var baseHydrolic = new Hydraulic( Axis: "Y", OriMode: 0, Actuator: hydrolicActuator1, Tangent1: 0.5, Tangent2: 0.5*6, Normal1: 0.5*7, Normal2: 0.5 ); var myArm = baseRotor + baseHydrolic + solid; var myController = new UserControl(Arm: myArm, ShipControllerKeyword: "Arm Controller"); }

... and now nothing moves again :(
RoseLandgoose 29. dec. 2022 kl. 23:37 
I've ran into this multiple times. Here's a PR :)
https://github.com/Philippe117/MArmOS/pull/1
< >
Viser 1-3 af 3 kommentarer
Per side: 1530 50