Supported Hardware
This driver should works with every pan tilt camera
ROS API
corobot_pantilt
corobot_pantilt is a driver for pantilt cameras. This driver was designed to control the movement of a Corobot pantilt camera.Subscribed Topics
pantilt (corobot_msgs/PanTilt)- Pan and Tilt command
Parameters
device (string, default: /dev/video0)- path to the camera
- path to an initialization script necessary for the pantilt to work
Troubleshooting
Here is a set of instructions in case you cannot control your pan tilt camera:
- Install v4l-conf and unvcdynctrl
sudo apt-get install v4l-conf unvcdynctrl
- Execute:
v4l-info /dev/video0 uvcdynctrl –cv sudo chmod 777 /dev/video0
- Disconnect the camera
- Reconnect it to another usb port
- The camera movement should now work