I'm using FT 150 with ROS and see that the data output rate of the sensor is lower than expected.In Robotiq's spec, the data output rate of the sensor is 100 Hz, but in real we measure stable 62.5 Hz. I can't explain the divergence with the expectation.Setup:Ubuntu 14.04 and ROS-IndigoSensor driver: https://github.com/ros-industrial/robotiqI start the driver with $ rosrun robotiq_force_torque_sensor rq_sensorand check the ROS topic with $ rostopic hz /robotiq_force_torque_sensor... average rate: 62.604
We have figured out the root cause. The reason for a 62.5 Hz (16 ms interval) was from using a USB interface to the sensor. By default, a common FTDI chip introduces a delay of up to 16 ms when reading from a USB port. On Linux machine, they can check and adjust it.# checking for the delay> cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer16# changing the delay> sudo -i# echo 1 > /sys/bus/usb-serial/devices/ttyUSB0/latency_timer# cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer1# logoutEven without restarting the sensor, the output rate is 100 Hz now.$ rostopic hz /robotiq_force_torque_sensorsubscribed to [/robotiq_force_torque_sensor]average rate: 100.016
I'm using FT 150 with ROS and see that the data output rate of the sensor is lower than expected.
In Robotiq's spec, the data output rate of the sensor is 100 Hz, but in real we measure stable 62.5 Hz. I can't explain the divergence with the expectation.
Setup:
Ubuntu 14.04 and ROS-Indigo
Sensor driver: https://github.com/ros-industrial/robotiq
I start the driver with
$ rosrun robotiq_force_torque_sensor rq_sensor
and check the ROS topic with
$ rostopic hz /robotiq_force_torque_sensor
... average rate: 62.604