How to subscribe queued std_msg in rosserial node?

asked 2016-10-10 15:03:33 -0600

Kishore Kumar gravatar image

I have node publishing Float32 in queue_size=10 as shown below

 self.pub_motor = rospy.Publisher('right_wheel_speed',Float32,queue_size=10)

I want to write a rosserial node (Arduino code) to subscribe to the topic seamlessly and i want to use the data from the topic as a PWM to motor. Someone help me to accomplish this.

edit retag flag offensive close merge delete