Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.89 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.89 KB

ROS 2 wrapper for Optoforce 3-axis force sensor

⚠️ Tested on OMD-20-FE-200N 3-axis force sensor ⚠️

Requirements ⬇️

pip3 install optoforce

Setup ▶️

  1. Check the name of the serial port into which your Optoforce sensor is plugged by using python3 list_ports.py.
  2. Change the parameters values in config/optoforce_params.yaml file. Calibration data (scale parameter) to convert the sensor's readings into force expressed in Newtons can be found on the flash drive that comes with the sensor.
  3. Verify that the sensor is working properly by running ros2 launch optoforce_wrapper optoforce_test.launch.py. In RViz, the sensor model and force readings (as geometry_msgs/msg/WrenchStamped messages) will be visualized.
  4. To read the measurements from the sensor(-s) you need to run optoforce_node node and load the parameters from the YAML file. Use the command below. By default one sensor will be used, if you want to use two sensors, set the value of num_of_sensors_in_use argument to 2 (num_of_sensors_in_use:=2).
ros2 launch optoforce_wrapper optoforce_read.launch.py

Documentation 🗒️

Good to know 🕵️

In 2018, Optoforce was acquired by OnRobot. The links to Optoforce's website redirect to Onrobot's website, where the Page not found (404) error appears, so don't be surprised 😉