GithubHelp home page GithubHelp logo

shivindass / sawyer-noetic Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 5.34 MB

Docker setup to use Sawyer robot with ros noetic and moveit

License: MIT License

Makefile 0.51% Shell 1.53% Dockerfile 0.28% Python 97.67%

sawyer-noetic's Introduction

Sawyer-Noetic

Docker setup to use Sawyer robot with ros noetic and moveit

Quick Start Instructions

  1. In the root folder of your cloned repository build and run the image by running:
$ make run-nvidia-sawyer-robot

This should open an rviz window with moveit running and a model of Sawyer

  1. Open another terminal and run the following command to access the bash shell inside the container:
$ docker exec -it sawyer-robot bash
  1. After entering the shell, run the following commands:
$ source /opt/ros/noetic/setup.bash
$ source /root/ros_ws/devel/setup.bash
$ cd ~/ros_ws
$ ./intera.sh

Now you can access all the functionalities of ros-noetic, moveit and intera_interface in this shell.

  1. To use your custom python code on Sawyer robot, put your code in docker/sawyer-robot/docker_code/ folder. There is a mount to this folder inside the container at /root/code/ and any files can be accessed there

  2. To exit the container, type docker stop sawyer-robot in a new terminal.

Utility Code

There is some utility code available in docker/sawyer-robot/docker_code/. The following can be run after navigating to /root/code/ inside the docker container shell,

  • Run python3 init_pos_moveit.py to set Sawyer in its initial position
  • Run python3 keyboard_pose_control.py for collision-aware end-effector keyboard control in cartesian coordinates. For joint space keyboard control, intera also has a utility which can be run by rosrun intera_examples joint_position_keyboard.py although this is not collision-aware.
  • Run python3 camera_show.py to access the camera input

sawyer-noetic's People

Contributors

shivindass avatar

Watchers

James Cloos avatar Youngwoon Lee 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.