Box Turtle Prototype
An early, experimental version of the camera1394 driver was developed using the Box Turtle release. It provides an API somewhat different than the supported C-Turtle driver.
The Box Turtle version works with Ubuntu Hardy, using the libdc1394v2 package. The C-Turtle release does not support Hardy or provide that package. Experience with Hardy indicates that the 1394 kernel drivers for that distribution were not very reliable for cameras, anyway. Newer releases seem to work better.
Limited Support
Box Turtle users are welcome to run the prototype driver and report successes and failures. Although not officially supported, help is available on the ros-users mailing list, if needed.
Getting the Source Code
Check out the Box Turtle version from https://code.ros.org/svn/ros-pkg/branches/trunk_boxturtle/stacks/camera_drivers_experimental. Always check out that entire stack as it has internal dependencies.
ROS API
camera1394
This is the prototype IEEE 1394 digital camera driver for the Box Turtle release. It publishes topics and services using the node name, which is not standard ROS behavior.Published Topics
<node_name>/camera/image_raw (sensor_msgs/Image)- a stream of images from the camera
- Camera intrinsics for images published on camera/image_raw
Services
<node_name>/camera/set_camera_info (sensor_msgs/SetCameraInfo)- Sets the camera's calibration
Parameters
Initial Parameters
These parameters only affect the driver when it starts.- Frames per second
- Frame of reference ID for coordinate transforms. If the value does not start with a '/', it will be resolved as usual using tf_prefix.
- The sixteen hexadecimal digits of the IEEE 1394 unique ID for the camera to connect with this node. If none specified, the first IIDC camera detected will be used.
- IEEE 1394 bus ISO transfer speed in megabits/second
- Desired image resolution and type. Possible values are: 320x240_yuv422, 640x480_mono, 640x480_yuv422, 640x480_rgb, 800x600_mono, 800x600_yuv422, 1024x768_mono, 1024x768_yuv422, 1280x960_mono, 1280x960_yuv422.
Reconfigurable Parameters
These parameters are reconfigurable. Changes take effect on the next frame. Whether they make any difference depends on the feature set supported by the actual device.- Sets the camera brightness feature
- ROS image pipeline image encoding to use. If specified, this takes precedence over the default set by the camera driver based on the camera's video_mode and characteristics. This is needed for image_proc to perform appropriate Bayer decoding. Reconfiguring it is a way to try different Bayer patterns to determine experimentally which your camera uses.
- Sets the camera exposure feature
- Sets the camera gain feature
- Sets the camera shutter feature
- Sets the Blue/U and Red/V components of white balance (for example "2000 2000"). The special value "auto" (case sensitive) turns on automatic white balancing.
- URL for loading and storing calibration data in the form file:///path/to/local/calibration_file.yaml. If not specified, no data will be loaded, and calibration data will be stored in file:///tmp/calibration_<camera_name>.yaml (<camera_name> is the base name of the frame_id).