Skip to content

Servo Control Example

Alex Lalejini edited this page Jan 10, 2016 · 4 revisions

Overview

The Joy to Servo example allows one to control a servo motor using a joystick controller. The general flow of control is in the below diagram:

Control Diagram

ROS will handle talking to our off-the-shelf xbox 360 controller (connected to the ROS machine). We'll then use our own ROS node to listen for inputs from the joystick and use those inputs to control a cheap servo motor from Radioshack. The motor is wired to an Arduino Micro programmed with the code here.

The Physical

Arduino Code

ROS Code

Clone this wiki locally