[Documentation] [TitleIndex] [WordIndex

  Show EOL distros: 

Package Summary

Driver for the FLIR pan/tilt units.

Package Summary

Driver for the FLIR pan/tilt units.

Package Summary

Driver for the FLIR pan/tilt units.



This driver is particularly intended for use with the FLIR D46 line of pan-tilt units. However, because FLIR uses a common serial protocol for their products, this node is likely to work on related FLIR devices, or be adaptable without too much trouble.



Alongside the basic serial driver, there is also included a URDF description of the D46. This is structured as a xacro macro, so it should be straightforward to integrate into your complete robot description. The example.urdf.xacro file provides an example of how to use the macro.

To visualize the model without running the driver, you can launch it like so:

roslaunch flir_ptu_viz view_model.launch

This should produce an rviz window showing the device model, as well as a joint_state_publisher window letting you adjust the joint values.


To try out the driver prior to integration with a larger robot, you can connect and power it, and run:

roslaunch flir_ptu_driver ptu.launch port:=/dev/ttyUSB0

Once up, you can bring up the visualization in rviz:

roslaunch flir_ptu_viz view_ptu.launch

You can send it one-off commands using a provided convenience script:

ROS_NAMESPACE=ptu rosrun flir_ptu_driver cmd_angles -0.6 0.3



Basic serial driver.

Subscribed Topics

cmd (sensor_msgs/JointState)

Published Topics

state (sensor_msgs/JointState)


~port (string, default: /dev/ttyUSB0) ~baud (int, default: 9600) ~hz (int, default: 10)


The basic driver is stable and usable, but various improvements and fixes are needed, as tracked on Github. Pull requests addressing these are very welcome.

License Note

The driver portion of this package is an evolution of the old ptu46 package, and thus retains its GPL licensing. However, as it is a standalone binary, this should not be an obstacle to using this code. The URDF description macro is BSD, so you are free to integrate that into other projects without implications on their licensing.

2020-02-15 12:40