Skip to content

This project is part of our lab's enviroment and a simple control demo to test all kinetics and dynamics functions work well

Notifications You must be signed in to change notification settings

gaolongsen/WAM7_UR5e_Control

Repository files navigation

WAM(7-DOF) and UR5e(6-DOF) for Python

A Python Robotics Package Powered by Spatial MathsPyPI version Anaconda version PyPI - Python VersionBuild Status License: MIT

The project is for two robot arm—— WAM 7 Dof(with Barrett 282H robot hand) and UR5e 6 Dof(with 2 DoF gripper) working together in our Lab enviroment. Welcome anyone come up with any question and give us your avaliable corrections about that!

Before Getting going

Our Project depends on Petercorke Lib - Robotics Toolbox for Python which is well known in robotics simulation. You need to make sure you have installed this package in your anaconda environment. We strongly recommend using python 3.8 to make sure all environment setups include anaconda, cuda and so on be the same as what we did to make sure your can run it successfully without any problem. All python >3.6 should also be fine.

Install Mujoco, Anaconda, Cuda, Mujoco_py on your Ubuntu 20.04 system

This part is only for our lab member tutorial. We assume you know how to do that and all setups have been finished on your own PC.

Link for Google Doc tutorial.

Install Robotics Toolbox

Option 1: Using pip

Note: Make sure you are in your anaconda environment with mujoco_py in your terminal!

Install a snapshot from PyPI

pip3 install roboticstoolbox-python

Available options are:

  • collision install collision checking with pybullet

Put the options in a comma separated list like

pip3 install roboticstoolbox-python[optionlist]

Swift, a web-based visualizer, is installed as part of Robotics Toolbox.

Option 2: From GitHub

To install the bleeding-edge version from GitHub

git clone https://github.com/petercorke/robotics-toolbox-python.git
cd robotics-toolbox-python
pip3 install -e .

Modify the Robotics Toolbox package

For UR5 robot, you don't need to add anything for that due to the package has anything about. But for WAM, you need import WAM robot information to the toolbox package. We will contact with the the author of the toolbox and upload the WAM robot description to the package in the future. Go to this link to see how to import the WAM to the robotics toolbox package for python.

Environment in Mujoco

WAM Robot without Barrett BH282 hand installed 6 axis Torque/Force sensor(blue cylinder part)

Whole scene for WAM and UR5e on Mujoco.

Inertia of moment for all components in our environment include satellite model, solar panel model, hybrid hinge system, WAM and UR5.

Update Notification:

  • We will publish our coming IROS paper's code for the dislodging task with decentralized adaptive control algorithm implemented on robot arm(WAM and UR5e) soon.

About

This project is part of our lab's enviroment and a simple control demo to test all kinetics and dynamics functions work well

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages