GithubHelp home page GithubHelp logo

rapdr_babble's Introduction

RAPDR_babble

Research in Action Primitive Discovery in Robotics through Parameter Variation

Setup Instructions

Setup each of the following, in order:

  1. Ubuntu 16.04

  2. ROS Kinetic (http://wiki.ros.org/kinetic/Installation/Ubuntu & http://wiki.ros.org/catkin/Tutorials/create_a_workspace) SKIP the line 'sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential

  3. Gazebo 7 (Installs with ROS installation)

  4. Baxter Gazebo Simulation (http://sdk.rethinkrobotics.com/wiki/Simulator_Installation) a. Note, we are not using the baxter.sh sim script

  5. Clone the RAPDR project

     git clone https://github.com/Evana13G/RAPDR_babble.git
    
  6. Run the setup.sh script in RAPDR_babble (Only need to run once after installation)

     cd RAPDR_babble && ./setup.sh
    
  7. Build:

     cd ~/catkin_ws
     catkin_make
     source devel/setup.bash
    

Run instructions

To run the code, use the following:

Each of the following should be run in a separate terminal window:

  1. Launch baxter sim:

     roslaunch baxter_gazebo baxter_world.launch
    
  2. Spawn RAPDR Nodes:

     roslaunch agent RAPDR.launch
    
  3. Run an experiment:

     rosservice call /experiments_srv [tab complete for args]
         "experiment_name: 'experiment'
          demo_mode: false
          num_discover_strike_runs: 1
          num_cook_runs: 0" 
    

Name the experiment (experiment_name), which RAPDR will use to name the results in the results directory after running. Specify if you would like a demo of the agent accomplishing its goal in the 'original' scenario (demo_mode : true), otherwise the agent will enter the 'novel' scenerio. Specify the number of runs of each type of experiment you would like to run.

  1. To run a test script:

     rosservice call /[test name] [tab complete for args]
    

Examples:

    rosservice call /test_actions_srv "{}" [No Args]
    
    rosservice call /test_action_settings_srv "{}" [No Args]

For more instructions on writing/running test nodes, see below which will redirect to the developers wiki.

DEVELOPMENT Run instructions

[FOR DEVELOPMENT MODE] See https://github.com/Evana13G/RAPDR_babble/wiki/Developers-Instructions

Other Info

The URDF models are inside the baxter_simulation package in a folder that I believe is called baxter_sim_examples/models. The URDF model for the table and the wall is called cafe_table.

  1. For proof of concept scenario #1, we assume the following protocol:

"left_gripper" - left gripper
"right_gripper" - right gripper
"cup" - cup
"cover" - cover

  1. Many of the .py files might not be runnable. Navigate to their directories and run:

     chmod +x [filename]
    

For example:

    chmod +x brain.py

rapdr_babble's People

Contributors

amelhassan avatar evana13g avatar keen-ray avatar

Stargazers

 avatar

Watchers

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