Contents
Supported Hardware
This driver works with a Phidgets Servo Controller
ROS API
PhidgetServo
PhidgetServo is a driver for Phidgets Servo Controller. This driver was designed to control the movement of the arm of a Corobot.Subscribed Topics
phidgetServo_setPosition (corobot_msgs/ServoPosition)- Set the position of a servo motor
- Set the type of a servo motor
Published Topics
phidgetServo_getPosition (corobot_msgs/ServoPosition)- get new position of a servo motor
Services
phidgetServo_getEngaged (corobot_srvs/GetEngaged)- Get the status of a servo motor connected, to know if it is engaged ( powered on) or not.
- Set the status of a servo motor, engaged( powered on) or not.
- Get the position of a servo motor.
- Set the position of a servo motor.
- Get the maximum position possible of a servo motor.
- Get the minimum position possible of a servo motor
- Get the maximum number of servo motors that can be connected to this Phidget Servo controller.
- Get the parameters of a servo motor.
- Get the serial number of the current phidget servo controller. Useful if there are two phidget servo controllers connected.
- Get the type of servo motor pluged in
- Set the servo motor to one of the defined types
Parameters
serialNumber (int, default: -1)- If more than one Phidget Servo controller you can set the serial number of the one you want to use