ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Control servo with Arduino via arrow keys in ROS

asked 2015-01-24 07:44:29 -0600

Arcus gravatar image

Hi everybody,

I'm trying to control a servo via the arrow keys in ROS. The servo is connect to an arduino. Following the tutorial with rosserial_arduino works fine for me, but instead to send just one uint16 data via rostopic I want to control the servo with the arrow keys like the turtlesim. Unfortunately I have not very good programing skills. Anybody who can help me with this project?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-09-16 07:40:10 -0600

rreignier gravatar image

turtle_teleop_key node publishes a geometry_msgs/Twist so you have to write a node that transform this message into a std_msgs/UInt16 message.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-01-24 07:44:29 -0600

Seen: 428 times

Last updated: Sep 16 '18