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

Control servo with Arduino via arrow keys in ROS

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

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
0

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

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

Stats

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

Seen: 432 times

Last updated: Sep 16 '18