castetsb / pyRobotiqGripper

Library to control Robotiq company grippers from python
MIT License
30 stars 11 forks source link

Issue in README file #5

Closed RapidEdgeAI closed 1 month ago

RapidEdgeAI commented 1 month ago

Hi, I'm trying to test this very useful package on my Windows 10 notebook, in order to test our 2F-140 ROBITQ gripper. But i noticed some issues in the README file (link).

First Issue

Following text in the README has an issue:

Import the pyRobotiqGripper module.

    import pyRobotiqGripper

Create a Robotiq gripper object.

    gripper = pyRobotiqGripper()

It should be changed to somethink like this:

Import the pyRobotiqGripper module.

    import pyRobotiqGripper

Create a Robotiq gripper object.

    gripper = pyRobotiqGripper.RobotiqGripper()

You cannot instantate pyRobotiqGripper module itself. You need to instantiate the RobotiqGripper class.

Second Issue

The installation instruction was not sufficient for my virtual environment:

Install the pyRobotiqGripper python package using PIP.


    python -m pip install pyRobotiqGripper

You also need to install the minimalmodbus package before installing the pyRobotiqGripper package:

    python -m pip install minimalmodbus
    python -m pip install pyRobotiqGripper

But I think it would be better to add minimalmodbus to the requirements of pyRobotqGripper instead of requiring it to be installed separately.