frankaemika / franka_ros

ROS integration for Franka research robots
https://frankaemika.github.io
Apache License 2.0
339 stars 307 forks source link

Use python to control the franka gripper #386

Open upc-ghy opened 2 months ago

upc-ghy commented 2 months ago

Hello,

I just started learning about Franka related knowledge, can anyone give me some guidance on using Python to control the franka gripper?

ChatGPT told me topip install frank_gripper, but it prompted that I cannot import it. I want to useimport franka_gripperdirectly in python to solve the problem, but I was told that I don't have this package.

I have already installed libfranka, franka_ros, and moveit, and can control Franka's robotic arm by import moveit_commander in Python.

My device is: PC Ubuntu 20.04 Ros noetic