Coder Social home page Coder Social logo

travers-rhodes / ada Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harplab/ada

0.0 1.0 0.0 35.18 MB

Software for ADA, the Assistive Dextrous Arm developed by the Personal Robotics Lab at CMU.

CMake 10.50% Makefile 0.91% Python 88.56% Shell 0.04%

ada's Introduction

Ada

Ada (or Assistive Dextrous Arm) is a package for controlling the Mico robot arm through the Personal Robotics pipeline. It is a high-level package, pulling from ROS, OpenRAVE, and other lower-level parts of the system. At the highest level, it provides scripts for controlling the robot, planning trajectories, finding inverse kinematics solutions, and more.

Installation

The following rosinstall can be used to get the minimum dependencies required to use AdaPy in simulation:

First, be sure to clone https://github.com/HARPLab/harplab-rosinstalls.git into somewhere like ~/harplab-rosinstalls. If it's already there, make sure it's up to date. Then, run

$ wstool merge ~/harplab-rosinstalls/ada-sim.rosinstall 

If you plan to connect to the real robot, then you will need a larger set of dependencies:

$ wstool merge ~/harplab-rosinstalls/ada.rosinstall

Compilation

Be sure you've run all the steps at https://github.com/HARPLab/harpdocs/blob/master/software_machine_setup.md in order to set up your machine with the required packages to compile this.

Set up the udev rules

Create a file called /etc/udev/rules.d/99-jaco.rules with the content:

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor} =="22cd", MODE="0666", GROUP="pr", SYMLINK+="mico"

Running Ada

You use ada in your script by simply calling the initialize function:

env, robot = adapy.initialize()

Connect to the robot

To connect to the robot, run the launch script:

roslaunch ada_launch default.launch

You may have to re-launch several times before the robot will connect. This will also start up all the controllers.

Run a test script

Now, run the test script:

rosrun adapy test.py

Play around

This will open up a python console that you can use to send commands to the robot. See prpy for more info.

ada's People

Contributors

stefanos19 avatar sjavdani avatar mklingen avatar herlant avatar pyrym avatar mkoval avatar travers-rhodes avatar rmaronson avatar hadmoni avatar mikedh avatar shenlirobot avatar tcl326 avatar jshih2 avatar jeking04 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.