Skip to content

This is the ros package of the driver for the Weiss Robotics gripper, model IEG 76-030.

License

Notifications You must be signed in to change notification settings

ipa320/weiss_gripper_ieg76

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weiss_gripper_ieg76

This is the ROS package of the driver for the Weiss Robotics gripper, model IEG 76-030.

  1. Device Configurator Windows
    1. Installation
    2. Configuration
    3. Usage
  2. Linux Driver
    1. Driver Installation
    2. Start-up
    3. Driver Usage
      1. Reference
      2. Open jaws
      3. Close jaws
      4. Grasp object
      5. Ack error
      6. Ack reference error
      7. Select grasp configuration
      8. Get all the grasp configuration's param
      9. Set all the grasp configuration's param
      10. Set the grasping force
      11. Set the opening position
      12. Set the closing position
      13. Exit
      14. Reconnect
      15. Shutdown
  3. Acknowledgements

##Device Configurator in Windows The gripper comes with a CD containing the application Device Configurator that can be installed and used in Windows to configure and test the gripper.

###Installation Follow the installation procedures described in the Installationsguide.pdf on the CD. If you get the error "The INF file you selected does not support this method of installation" while installing dciolink.inf then:

  1. Run the installer of the Device Configurator from the CD
  2. Go to the Device Manager in Control Panel and disable/enable the COM port allocated for the device under Ports(COM&LPT)
  3. Launch the application Device Configurator

###Configuration The gripper provides 4 grasping configurations. The linux driver uses by default the first configuration Griff 0 but the others can also be used. To configure it click on the button "Parameter" and edit the values for Griff 0.

  1. Launch the application Device Configurator
  2. Select the port allocated for the device
  3. Click the button Verbinden
  4. Click on the tab Steuerung and then click on the parameter that you would like to modify Öffnungsposition, Schließposition or Greifkraft. Another possibility is to click on the tab Parameter and edit the values.
  5. Click the button Trennen
  6. Close the application "Device Configurator"

###Usage

  1. Launch the application Device Configurator
  2. Select the port allocated for the device
  3. Click the button Verbinden
  4. Click the button Aktivieren
  5. Click the button Referenzieren
  6. Click the buttons Schließen / Öffnen of the grasp configuration you would like to use to close/open the gripper
  7. Click the button Deaktivieren
  8. Click the button Trennen

##Linux Driver ###Driver Installation

  1. Navigate on your local machine to the src folder of your catkin workspace and clone this repository:

    $ cd ~/catkin_ws/src
    $ git clone https://github.com/ipa-lth/weiss_gripper_ieg76.git
    
  2. Navigate to the root of your catkin workspace and "build" your workspace:

    $ cd ..
    $ catkin_make
    
  3. Source your setup file to overlay the workspace on top of your environment:

    $ source devel/setup.bash
    

    To check that the ROS package has been successfully sourced execute the command rospack find weiss_gripper_ieg76 and the absolute path to the ROS package weiss_gripper_ieg76 should be displayed in the terminal.

  4. Add yourself to the group dialout in order to get access the serial port sudo adduser $USER dialout.

You need to log-out/log-in to apply the changes.

###Start-up

  1. The driver uses by default the port /dev/ttyACM0 to communicate with the gripper. Issue the command

ls /dev/tty*

before and after pluging-in the USB cabel into your computer to determine the port allocated for the device. Besides /dev/ttyACM0, another common allocated port is /dev/ttyACM1. If this is the case then open the file weiss_gripper_ieg76.launch and change the line:

	<param name="serial_port_address" value="/dev/ttyACM0"/>

to

	<param name="serial_port_address" value="/dev/ttyACM1"/>
  1. Execute $roscore to start roscore in a separate terminal. By starting roscore separately you do not have to kill and restart rostopic whenever the driver restarts or reconnects in order to display the messages published on the topics.

  2. Start the driver by executing the command:

    $ roslaunch weiss_gripper_ieg76 weiss_gripper_ieg76.launch
    
  3. The ROS package contains an application for testing the interaction with the gripper. Start it as a ROS node by executing the command:

    $ rosrun weiss_gripper_ieg76 test_client.py
    
  4. Display the messages published on the /joint_states topic:

    $ rostopic echo /joint_states
    
  5. Display the messages published on the /diagnostics topic:

    $ rostopic echo /diagnostics
    

###Driver Usage

The test_client provides a simple menu for interacting with the gripper:

-------- Commands Weiss Robotics Gripper ieg76 --------

  1. Reference
  2. Open jaws
  3. Close jaws
  4. Grasp object
  5. Ack error
  6. Ack reference error
  7. Select grasp configuration
  8. Get all the grasp configuration's param
  9. Set all the grasp configuration's param
  10. Set the grasping force
  11. Set the opening position
  12. Set the closing position
  13. Exit Select a command to send:

####Reference This is the first command that should be sent to the gripper after it is powered up. It performs a reference motion by completely opening the gripper's jaws. In case an error occurs during the reference it can be acknowledge by selecting option 6. Ack reference error in the menu and the reference procedure must be performed again. After the gripper has been successfully referenced the closing/opening of the jaws and object grasping can be triggered.

####Open jaws This option in the menu triggers the opening of the gripper's jaws. In case an error occurs during the opening of the jaws the gripper's light will switch its color from blue to red. Use the menu option 5. Ack error to acknowledge the error (the gripper's light will switch its color from red to blue) and try again.

####Close jaws This option in the menu triggers the closing of the gripper's jaws. In case an error occurs during the opening of the jaws the gripper's light will switch its color from blue to red. Use the menu option 5. Ack error to acknowledge the error (the gripper's light will switch its color from red to blue) and try again.

####Grasp object Use this option to grasp an object. When an object is grasped the gripper's light will switch it's color from blue to green. If there is no object between the jaws for the gripper to grasp the light will remain blue and a message will be printed to inform the user. In case an error occurs use the menu option 5. Ack error to acknowledge it.

####Ack error Use this option to acknowledge any error that may occur during opening/closing of the gripper or while grasping an object. When an error occurs the gripper's light will turn red. After acknowledging the error the light will switch its color to blue.

Note: For testing purposes an error can be sometimes be triggered by following this procedure:

  • Unplug the power source and USB cable and then plug them back in
  • Launch the driver and start the test_client
  • Perform a reference motion. After the reference the jaws are completely opened.
  • Now issue an open jaws command and sometimes an error occurs.
  • Use the menu option 5. Ack error since the error occurred during opening of the gripper's jaws

####Ack reference error Use this option to acknowledge any error that may occur during the reference procedure. When an error occurs the gripper's light will turn red. After acknowledging the error the light will switch its color to blue.

####Select grasp configuration Use this option to select another grasp configuration. The default grasp configuration number is 0. Other available grasp configurations are 1, 2 and 3. A grasp configurations contains 3 parameters which can be set: grasping force, opening position and close position.

The grasping force may have a value between 0 and 100%. The opening/closing positions may have values between 0.0 mm and 30.0 mm.

####Get all the grasp configuration's param This option in the test_client's menu returns all the parameters (grasping force, opening position, closing position) of the currently selected grasp configuration.

####Set all the grasp configuration's param This option in the test_client's menu sets all the parameters (grasping force, opening position, closing position) of the currently selected grasp configuration.

####Set the grasping force Use this option in the test_client's menu to set the grasping force of the currently selected grasp configuration.

####Set the opening position Use this option in the test_client's menu to set the grasping force of the currently selected grasp configuration.

####Set the closing position Use this option in the test_client's menu to set the closing position of the currently selected grasp configuration.

####Exit This option in the menu closes the test_client application. It does not shutdown the driver. To shutdown the driver switch to the terminal where the driver is running and press Ctrl + C.

####Reconnect The driver will automatically try to reconnect to the serial port if it detects a communication problem. For example, while the driver is up and running unplug the USB cable and then plug it back again.

####Shutdown To shutdown the driver switch to the terminal where the driver is running and press Ctrl + C. The driver will gracefully shutdown.

Acknowledgements

This project is a result of the LIAA project. http://www.project-leanautomation.eu/

LIAA

EC

LIAA received funding from the European Union’s Seventh Framework Programme for research, technological development and demonstration under grant agreement no. 608604.

Project runtime: 02.09.2013 – 31.08.2017.

About

This is the ros package of the driver for the Weiss Robotics gripper, model IEG 76-030.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •