Giter Club home page Giter Club logo

pxpincher_ros's Introduction

pxpincher_ros Package

This metapackage is intended for controlling and simulating the PhantomX Pincher robot at the RST.

Installation

First, make sure that ROS is installed properly (we are currently on ROS kinetic). This package utilizes ros_control for controlling the robot:

sudo apt-get install ros-kinetic-ros-control ros-kinetic-ros-controllers

Now it is time to checkout this package:

cd ~/catkin_ws/src    
git clone https://github.com/rst-tu-dortmund/pxpincher_ros

Check if everything compiles:

cd ~/catkin_ws
catkin_make

If you have unmet dependencies, try to install them using rosdep:

 cd ~/catkin_ws
 rosdep install --from-paths src --ignore-src --rosdistro kinetic -y

Getting Started

Hardware Bringup

The pxpincher_hardware and the communication interface pxpincher_comm provide a joint trajectory action server that can be utilized to control the PhantomX Pincher robot arm. In case of dry experiments, a simulation mode is implemented in order to mimic the actual joint motions.

If you want to control the real robot:

roslaunch pxpincher_launch pxp.launch

In case of a simulation launch:

roslaunch pxpincher_launch pxp_sim.launch

Issues:

  • Set permissions of the usb/serial port (only required if the unix user is not part of the system group dialout):

      sudo chmod 777 /dev/ttyUSB0
    

Robot Visualization (RVIZ)

Run

roslaunch pxpincher_launch pxp_rviz.launch

Pxpincher Library (C++)

After starting the pxpincher hardware node (see Hardware Bringup), the robot can be controlled using any suited action client. However, you can utilize our C++ library to control the robot. Internally, the library implements an action client but provides many functionalities including joint control, task space control, kinematics, etc.

Just add pxpincher_lib as build dependency to your node.

See an example usage in pxpincher_lib/src/main.cpp:

 rosrun pxpincher_lib pxpincher_test

Utilities

The pxpincher_lib also provides a teaching node that can be used to print and modify joint configurations in RVIZ. Additionally, joints of the actual robot can be relaxed in order to guide the robot towards a desired joint configuration manually.

Make sure that the pxpincher_hardware node is running (see Hardware Bringup) and start:

 rosrun pxpincher_lib teach

License

The pxpincher_ros meta-package is mainly developed and composed for educational purposes.

The individual packages (as part of the meta-package) are licensed under the BSD license. The packages depend on other ROS packages, which are listed in the package.xml and that are also BSD licensed, and the following third-party packages:

In order to simplify the configuration process, especially for educational purposes, some modified versions of the turtlebot_arm packages (https://github.com/corot/turtlebot_arm, https://github.com/turtlebot/turtlebot_arm) are included, modified and renamed (pxpincher_description).

All packages included are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the licenses for more details.

Remarks

In visualization, the separation of both fingers of the gripper is just a linear approximation of the actual euclidean distance. However, this is ok for our purposes right now.

Note, this package includes an (slighly) adopted version of the turtlebot_arm package (resp. the branch https://github.com/corot/turtlebot_arm.git). It is copied into this metapackage in order to allow a simple integration for students that start working with the PhantomX.

pxpincher_ros's People

Contributors

croesmann avatar garfield753 avatar nithinpanand avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.