Giter Site home page Giter Site logo

rebel_tutorials's Introduction

rebel_tutorials

support level: community License: BSD repo size

  • ROS package for igus ReBel tutorial.
  • Docker for simulation and control environments for igus ReBel.

Dependencies

Docker build environments (tested)

ReBel

Installation

  1. Connect an Ethernet cable between the host computer and the Ethernet port of ReBel
  2. Set the network configuration as below
    • The ros node expects to reach the robot at the IP and port192.168.3.11:3920
    • This is set in igus_rebel/igus_rebel/src/IgusRebel.cpp
  3. Build the docker environment as below
sudo apt install byobu && git clone [email protected]:Osaka-University-Harada-Laboratory/rebel_tutorials.git --depth 1 && cd rebel_tutorials && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build --no-cache --parallel  

Usage with docker

Using utility scripts

  1. Build and run the docker environment
  • Create and start docker containers in the initially opened terminal
    docker compose up

Real robot

  1. Connect to the robot
xhost + && docker exec -it rebel_container bash -it -c "roslaunch rebel_tutorials rebel.launch"
  1. Run a command on the host machine
  • The Joint Velocity Controller commands a desired velocity to the joint.
    • 0.2 [rad/s]
      xhost + && docker exec -it rebel_container bash -it -c "rostopic pub /joint_velocity_controller/command std_msgs/Float64MultiArray '{layout: {dim: [], data_offset: 0}, data: [0.2, 0.2, 0.2, 0.2, 0.2, 0.2]}'"
    • 0.0 [rad/s]
      xhost + && docker exec -it rebel_container bash -it -c "rostopic pub /joint_velocity_controller/command std_msgs/Float64MultiArray '{layout: {dim: [], data_offset: 0}, data: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]}'"

Manually execute commands

  1. Build and run the docker environment
  • Create and start docker containers in the initially opened terminal
    docker compose up
  • Execute the container in another terminal
    xhost + && docker exec -it rebel_container bash
  1. Run a demonstration in the container
    byobu
    • First command & F2 to create a new window & Second command ...
    • Ctrl + F6 to close the selected window

Author / Contributor

Takuya Kiyokawa
Kazuki Higashi

We always welcome collaborators!

License

This software is released under the BSD-3-Clause License, see LICENSE.

rebel_tutorials's People

Contributors

takuya-ki avatar

Watchers

Hao Chen avatar Weiwei Wan avatar Kensuke Harada 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.