flexivrobotics / flexiv_rdk

RDK (robotic development kit) for Flexiv robots. Supports C++ and Python. Compatible with Linux, macOS, and Windows.
Apache License 2.0
58 stars 18 forks source link

[FEATURE] Set tools #43

Closed acf986 closed 7 months ago

acf986 commented 8 months ago

Is your feature request related to a problem? Please describe. We have installed a tool changer and can switch between multiple tools. All the used tools are added in the elements. How can we select which tool is being currently used through the RDK API?

Describe the solution you'd like A function to set the currently using tool by name.

Describe alternatives you've considered I noticed the primitives seems to support the use of different tools, is it possible to access that option when sending primitives through the RDK?

Additional context NA

pzhu-flexiv commented 8 months ago

@acf986 Unfortunately RDK v0.x is not able to do online tool switch, but RDK v1.x supports this feature. See https://github.com/flexivrobotics/flexiv_rdk/blob/v1.x/example/basics8_update_robot_tool.cpp

However, to use RDK v1.x, you would need to upgrade your robot software from release track to beta track.