This packages allows users to easily integrate the ati netft sensor into their ROS2 applications and access its data in real-time.
This repository is split into two packages:
- ati_netft - A ROS2 wrapper for the ATI NetFT force torque sensor as a regular node by polling for the data.
- netft_hardware_interface - A ros2_control harware interface for the sensor that utilizes high-speed UDP streaming of the NetFT sensors.
The source code for reading the sensor data is based on Net F/T C Sample Code.
ros2 run ati_netft netft --ros-args -p netft_ip:=192.168.255.255
ros2 launch ati_netft netft_launch.yaml netft_ip:=192.168.255.255
To start the ros2_control harware interface and force_torque_sensor_broadcaster control use the launch file:
ros2 launch netft_hardware_interface netft.launch.pyLaunch file arguments:
You can configure the launch file by passing these arguments via the command line:
| Argument | Description | Default Value | Available Choices |
|---|---|---|---|
log_level |
The ROS logging level to use across all nodes. | error |
info, debug, error |
ns |
Namespace of the sensor. | "" |
- |
netft_ip |
IP address of the sensor. | 192.168.19.210 |
- |
cpf |
Counts per force. | 600000 |
- |
cpt |
Counts per torque. | 1000000 |
- |
Note
cpt and cpf values can be obtained from <netft_ip>/netftapi2.xml page
Example:
ros2 launch netft_hardware_interface netft.launch.py log_level:=info ns:=nex10 netft_ip:=192.168.19.210