GithubHelp home page GithubHelp logo

vivekgupte07 / optometrist-algorithm-handovers Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 189 KB

An algorithm for personalizing HRI tasks

CMake 9.63% Python 90.37%
personalization robotics handovers ros algorithm conference-paper human-robot-interaction

optometrist-algorithm-handovers's Introduction

Optometrist's Algortihm for Handovers

This work has been accepted for presentation at IEEE RO-MAN 2023. (Paper and video presentation wil be attached soon)

Optometrist's Algorithm

In this HRI project we have used the Optometrist's Algorithm, that allows users to personalize a Handover. Read more about the algorithm in my thesis: Personalization of Human-Robot Handovers using Evaluative Feedback

Handover Controlller for the Sawyer Robot Arm

This repository consists of a handover controller for the Sawyer robotic arm.

The robot picks up an object of fixed shape and hands it over to the collaborating human user. The handover uses Moveit! for trajectories and force sensing to detect the transfer, hence the user has to tug on the object before the gripper opens. The values of force thresholds are fixed for this particular object, and will have to be changed when using a different object.

In moveitcontroller you will find the code for just performing a single handover. Dynamic force thresholds are used, which are not 100% reliable. It is made more reliable in future versions that you will find on other branches. I hope to update the fixes here soon.

In personalization-stack and personalization-stack-experiment controller personalization for the experiment is added.

Gripper

Gripper used: ROBOTIS RH-P12-RN(A) - Documentation

DNYAMIXEL_SDK

$ git clone https://github.com/ROBOTIS-GIT/DynamixelSDK
$ cd DynamixelSDK/c++/build/linux64
$ sudo make install

Packet Loss Issue with this Gripper:

I faced an issue where the gripper would lose packets after a certain amount of use (it is probably just a local problem and might have a hardware fix) I temporarily fixed it with reading the data again, in case an incomplete packet is read. Since this was a HRI task, the delay if any did not matter at all.

In DynamixelSDK/ros/dynamixel_sdk/src/dynamixel_sdk/protocol2_packet_handler.py make the following changes:

def read4ByteTxRx(self, port, dxl_id, address):
        data, result, error = self.readTxRx(port, dxl_id, address, 4)
        while len(data)<4:
            data, result, error = self.readTxRx(port, dxl_id, address, 4)
        data_read = DXL_MAKEDWORD(DXL_MAKEWORD(data[0], data[1]),
                                  DXL_MAKEWORD(data[2], data[3])) if (result == COMM_SUCCESS) else 0
        return data_read, result, error

Download the ROS GUI for this gripper - ROS GUI Example from the ROBOTIS Manual ROS GUI will be useful to check the gripper motor parameters and to test it.

optometrist-algorithm-handovers's People

Contributors

vivekgupte07 avatar

Watchers

 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.