Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.08 KB

python_client_example.md

File metadata and controls

29 lines (19 loc) · 1.08 KB

A Python client example is included to illustrate how a client might interact with the Force Dimension node. The client is designed to be as simple as possible: it simply prints the current 3D position of the robot end-effector to the ROS log, each time it receives a message on the position topic (default: feedback/position).

In order to make it easier to run the example, a launch file has been provided. Once the ROS2 workspace has been built, the example can be started with the following command:

ros2 launch force_dimension example.launch.py

NOTE: At present, it is necessary that a Force Dimension robot is available to the Force Dimension node at launch. Otherwise, the node will fail.