Skip to content

jkaniuka/optoforce_ros2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

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 😉

About

ROS 2 wrapper for Optoforce 3-axis force sensor.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages