How to control servo motor (Pololu) which needs microSeconds() as input using ROS for subscribing values published by Rviz?

asked 2018-03-25 22:55:18 -0600

vamsy gravatar image

I am using Arduino to control Pololu motors. I got a code which incorporates very huge values ((50000000000000 / 230097118183)* +(360996812082500/230097118183); for getting the input from Rviz of ROS. I am not able to understand the meaning of this equation. Kindly help me if you have any idea. Thanks in advance.

edit retag flag offensive close merge delete


Neither do I, do you have any context, where you got the code from? Also this is maybe better asked to the Pololu people?

Humpelstilzchen gravatar image Humpelstilzchen  ( 2018-03-26 03:11:34 -0600 )edit

Okay. I will check with them. Thanks.

vamsy gravatar image vamsy  ( 2018-03-27 23:38:20 -0600 )edit