Space Engineers

Space Engineers

MArmOS (Mechanical Arm Operating System) v3.1
Kyr 10 Aug, 2021 @ 2:22pm
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?
Last edited by Kyr; 10 Aug, 2021 @ 2:43pm
< >
Showing 1-3 of 3 comments
Timotei~  [developer] 10 Aug, 2021 @ 3:17pm 
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 @ 3:43pm 
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 @ 11:37pm 
I've ran into this multiple times. Here's a PR :)
https://github.com/Philippe117/MArmOS/pull/1
< >
Showing 1-3 of 3 comments
Per page: 1530 50