Giter Site home page Giter Site logo

robotanticipationofhumanactions's Introduction

Robot Anticipation Of Human Actions Using an RGB-D sensor

The project is aimed to allow a robot to anticipate human intentions while interaction partners are still performing their action. Specifically, two actions are anticipated from the UR5 robot. When the human decides for an object to pick and reaches to it, the robot arm must pick the other object. This way, a feeling of cooperation between the interaction partner and the robot will be created.

Getting Started

One Ubuntu 16.04 LTS machine and a Windows 10 machine is needed.

Prerequisites

SETUP

  1. Get ROS kinetic on Linux 16.04

  2. Follow instructions to create catkin workspace

  3. Install ROS Industrial Universal Robots

Open terminal and execute:

sudo apt-get install ros-kinetic-universal-robot
  1. Download files from my GIT repository

File 'listener.py' is needed into the Ubuntu machine inside catkin enviroment, into /src folder.

  1. Download Visual Studio 2017 on Windows Machine

  2. Connect Xbox Kinect v2 to the Windows Machine using an adaptor

  3. On Ubuntu Machine open terminal and run

hostname -I
  1. Go to BodyBasics-WPF folder on Windows

Certain changes are needed to use the application.
Open MainWindow.xaml.cs using Visual studio or any other text editor.
Go to line 200, change the IP, to the IP of the Ubuntu Machine obtained in step 7.

TESTING

The application is ready to be simulated using Gazebo simulator.
On Ubuntu Machine side:
Make sure for every terminal/shell you are directed to the catkin enviroment.
Example:

cd catkin_ws

and then source the setup file for your shell using the command:

source devel/setup.bash
  1. Open terminal and run Gazebo simulation
roslaunch ur_gazebo ur5.launch
  1. Open new terminal for setting up the MoveIt! nodes to allow motion planning
roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch sim:=true
  1. Open new terminal for starting up RViz with a configuration
roslaunch ur5_moveit_config moveit_rviz.launch config:=true
  1. Open new terminal to run listener node
cd src
python listener.py

On Windows Machine side:

Open the BodyBasics-WPF folder and then open the BodyBasics-WPF.sln application using Visual Studio 2017 and click start.

Photos

The photos were obtained in the Advanced Robotics at Queen Mary using the UR5 robot

Video

The video was obtained in the Advanced Robotics at Queen Mary using the UR5 robot

https://www.youtube.com/watch?v=aitVCOc7kYU

Author

Spyridon Couvaras
Email: [email protected]

Acknowledgments

robotanticipationofhumanactions's People

Contributors

spyroscvrs avatar

Stargazers

 avatar  avatar  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.