I was hoping that someone could give me some guidance with the Minie New6Dof servo motor. I’ve looked at the examples given for regular motors, but unfortunately I still can’t get the servo to work. It is reported as being enabled, but no movement occurs and the joints are still completely loose.
I assume ServoTarget is an angle expressed in Radians. I’ve messed around with various values for Target velocity and MaxMotorForce (including omitting the lines entirely) as I have no idea what the correct units are. I’m not even sure that they are used in the context of the servo.
By way of background, I’ve modelled a hexapod robot from a collection of RigidBodyControls connected with New6Dofs. After a bit of work, I’ve finally got to the stage of having a working rag doll, with the correct ranges of movement etc and was feeling pretty chuffed!
Would really appreciate any advice, since I can’t find much information on this, other than what’s in the Minie documentation. It would be brilliant if I could get it working though, as it seems to do exactly what I need it to.
Just in case anyone else has the same problem, it looks like setMotorEnabled(true) needs to be called in addition to setServoEnabled in order for the joint to work.
So now I have movement, now I just need to get the movement I want