QP Command

I don’t seem to get any reply when I issue a QP command. From the manual, it would seem that “QP #0” should provide me with the pulse width of the servo on port 0. I didn’t see any other postings on this.

All other commands seem to work properly. I can issue a move and then poll for completion using the “Q” command.

My goal is to be able to do some PID control with the servos. I would need to know the current pulse width in order to do that.

Thanks for any help.

I don’t think you need the # symbol before the servo number.
Give that a try.

That seems to work. Thanks! The manual has "QP ". I made the assumption that the servo was referenced as in the move command. I can’t seem to get feedback with the lynx terminal, but I’m getting some numbers back programmatically now.