Robotics StackExchange | Archived questions

How to subscribe queued std_msg in rosserial node?

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.

Asked by Kishore Kumar on 2016-10-10 15:03:33 UTC

Comments

Answers