Repository Summary

Checkout URI https://github.com/ros-drivers/phidgets_drivers.git
VCS Type git
VCS Version humble
Last Updated 2025-05-19
Dev Status MAINTAINED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Phidgets drivers for ROS 2

Overview

Drivers for various Phidgets devices. This package includes:

Concerning Phidgets

Phidgets are typically plugged into USB on a host computer (though there are wireless ones, they will be ignored here). In the “old-style” Phidgets, there was one USB plug per device. So if you have a temperature Phidget, and an accelerometer Phidget, they take up 2 USB plugs on the computer. These “old-style” Phidgets are still around and still available for sale, but most of the new development and sensors are in “new-style” Phidgets. In “new-style” Phidgets, a VINT hub is connected to the host computer via USB, and then the other Phidgets connect to a port on the VINT hub. Most of the “old-style” Phidget functions (temperature, acclerometer, etc.) are also available as “new-style” Phidgets, and most new functionality is only available as VINT devices.

Identifying Phidgets devices

All Phidgets that plug directly into a USB port (including the VINT hub) have a unique serial number. This serial number is printed on the back of the device, and is also printed out by the phidgets drivers when they start up. The serial number can be specified as a parameter when the driver starts up; otherwise, the default is to connect to any Phidgets that are of the correct type at startup.

Uniquely identifying a “new-style” Phidget also requires one more piece of information, which is the VINT hub port it is connected to. This also must be provided as a parameter when starting up the driver.

Note that there are “smart” and “simple” VINT hub devices. “Smart” devices have their own microcontrollers on board and use a protocol to communicate with the VINT hub.

“Simple” VINT hub devices don’t have a microcontroller. They just provide or accept a voltage from the VINT hub port (which can act as a digital input, digital output, or analog inputs).

Whether the Phidget is “smart” or “simple” can be determined by looking at the “Connection and Compatibility” portion of the webpage for the individual sensor. If the device is “smart”, then “is_hub_port_device” must be set to “false” when launching a driver; if the device is “simple”, then “is_hub_port_device” must be set to “true”.

Installing

From packages

Make sure you have ROS 2 Dashing or newer installed: https://docs.ros.org

Then run:

sudo apt-get install ros-<ros_distro>-phidgets-drivers

File truncated at 100 lines see the full file