Giter Club home page Giter Club logo

bimanual-task-motion-planning's Introduction

Bi-manual Task Motion Planning

This repository includes the packages and instructions to run the LASA Bimanual Motion planning architecture developed initially for a bimanual zucchini peeling task within the Robohow project, but can be used for any bimanual task which invloves coordination between two end-effectors and controlling for a desired cartesian pose/ft/stiffness.


Requirements:

OS: Ubuntu 14.04 ROS compatibility: Indigo

Dependencies
kuka_interface_packages
kuka-rviz-simulation
net-ft-ros
coupled-dynamical-systems
state-transfomers
bimanual-dynamical-system
fast-gmm

Modular Architecture Description:

alt tag


###Real-time Execution of Bi-manual reaching motions: #####Stream Robot data (joint states, Pose, FT, Stiff)

$ rosrun kuka_fri_bridge run_lwr.sh right
$ rosrun kuka_fri_bridge run_lwr.sh left

follow instructions on kuka_bridge to set control mode for each robot. (joint impedance control, control = 1)

Visualization and sensor bringup (ft sensors)
$ roslaunch kuka_lwr_bringup bimanual2_realtime.launch ft_sensors:=true
Low-level Controllers

Cartesian-to-Joint/Joint-to-Cart Estimation

$ roslaunch state_transformers bimanual_joint_ctrls_real.launch 
Cartesian Trajectory Generator

A bimanual action server, containing different types of control methods for bimanual actions, currently:

  • Coupled CDS for each arm. The models can be found in bimanual-task-models and they are task and action specific.
  • Virtual Object Dynamical System (spatial and temporal coupling)
$ roslaunch bimanual_motion_planner peeling_bimanual_action_server.launch
Action Planning

To run a test with two CDS models independently for each arm:

$ rosrun bimanual_action_planners uncoupled_test.py

To run a test with the Virtual Object Dynamical System:

$ rosrun bimanual_action_planners virtual_object_test.py

To run the peeling task demo:

$ rosrun bimanual_action_planners peeling_demo.py

You will need the whole Perception Module for detecting the Zucchini and computing its observable features.


Simulation of a Bi-manual reaching motions:

Simulation and Visualization
$ roslaunch kuka_lwr_bringup bimanual2_simulation.launch
Low-level Controllers

Cartesian-to-Joint/Joint-to-Cart Estimation

$ roslaunch state_transformers bimanual_joint_ctrls_sim.launch 
Cartesian Trajectory Generator

Bimanual Action Server with same action types as real-time.

$ roslaunch bimanual_motion_planner bimanual_action_server.launch simulation:=true
Action Planning
  • same as realtime

Demonstration Recording for Bimanual Tasks:

To record/replay demonstrations you must install these packages:

Dependencies
record_ros
Stream Robot data (joint states, Pose, FT, Stiff)
$ rosrun kuka_fri_bridge run_lwr.sh right
$ rosrun kuka_fri_bridge run_lwr.sh left
Visualization and sensor bringup (ft sensors, vision)
$ roslaunch kuka_lwr_bringup bimanual2_realtime.launch ft_sensors:=true vision:=true 
Recorder node for all topics necessary
$ roslaunch bimanual_action_planners record_bimanual_demos.launch 
Start/Stop a Recording (Rosbag)
$ rosservice call /record/cmd "cmd: 'record/stop'"

Replaying a recorded demonstration of a Bimanual Task:

Visualization and sensor bringup (ft sensors, vision)
$ roslaunch kuka_lwr_bringup bimanual2_realtime.launch ft_sensors:=true not_bag:=false 
Play bag
$ rosbag play *.bag
Extract topics to Mat file

Use my-matlab-rosbag


bimanual-task-motion-planning's People

Contributors

nbfigueroa avatar alpais avatar

Watchers

James Cloos 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.