Skip to main content

ros2_control hardware interfaces

The sensor plugin exports state to controller manager. A force/torque broadcaster owns the ROS topic, frame, and publication rate.

Plugin class: netft_driver/NetFTHardwareInterface

Parameters

NameTypeDefaultDescription
sensor_ipstring192.168.1.1Sensor IPv4 address or host
sensor_portint49152RDT UDP port
http_portint80Sensor HTTP configuration port
use_sensor_calibrationbooltrueDiscover calibration from the sensor over HTTP
counts_per_forceint1000000Counts per newton for a manual override
counts_per_torqueint1000000Counts per newton-meter for a manual override
receive_timeoutdouble0.1Maximum seconds without a valid record
configuration_connect_timeoutdouble0.5HTTP connection timeout
configuration_timeoutint1Total HTTP configuration timeout
activation_timeoutint2Maximum wait for the first healthy hardware sample
bias_servicestringSoftware-bias service

Interfaces

NameCategoryTypeDescription
/netft/biasservicestd_srvs/TriggerStandalone software bias
<sensor_name>/force.xstatedoubleros2_control force/torque state interface
<sensor_name>/force.ystatedoubleros2_control force/torque state interface
<sensor_name>/force.zstatedoubleros2_control force/torque state interface
<sensor_name>/torque.xstatedoubleros2_control force/torque state interface
<sensor_name>/torque.ystatedoubleros2_control force/torque state interface
<sensor_name>/torque.zstatedoubleros2_control force/torque state interface

Each plugin instance owns its socket, receiver, state buffer, diagnostics, and bias service. The six values are N and N·m. Network I/O runs outside the controller-manager update loop, but end-to-end hard real-time behavior is not guaranteed.