Page 1 of 1

rotation speed quadrotor actuator problem

Posted: Wed Apr 11, 2018 1:10 pm
by knmcguire
I am working on a speed-controller for the eye-bot entity, where I also want to control the rotation speed of the quadrotor speed actuator. The function SetLinearVelocity works like it supposed to, as it reacts to the new values I give it at every controlstep.

The function SetRotationalSpeed, only allows me to set one value just once. If I want it to turn 0.5 rad/s for a few control steps and put it back to 0.0 rad/s, it keeps on spinning at the previous speed. There is no way to overwrite the initial value.

I tried to look at the code myself and got as far as "quadrotor_entity.h", where I established that the set point for the rotational speed is still correctly set in SetSpeedControlData(), but I can not determine why it is not adopting the updated one. I hope that one of you might have a clue of what is going on.