ros-industrial / robotiq

Robotiq packages (http://wiki.ros.org/robotiq)
BSD 2-Clause "Simplified" License
228 stars 378 forks source link

Robotiq force sensor with Gazebo and ROS #205

Open ghost opened 1 year ago

ghost commented 1 year ago

I am using a Robotiq FT300 force sensor. I've installed the package robotiq and attached the sensor to the manipulator's end-effector in Gazebo. Now I'm struggling with reading the sensor's data. In robotiq_ft_sensor package, I don't see any launch file that will power up the sensor. I only see nodes. I've launched the node rq_sensor but I get

[ INFO] [1676303650.439018404]: Waiting for sensor connection... If I launch this line <node name="ft_sensor" pkg="robotiq_ft_sensor" type="rq_sensor" respawn="true" output="screen" />

Could you please tell me how to get data from the sensor in Gazebo via ROS topic? Do you have any samples of the launch file? Currently, I only need it for simulations. As soon as the tests are complete, I will check it in our lab since we have the sensor on hand.

Gazebo 9, Linux 18.04 STL, Melodic ROS.