Giter Club home page Giter Club logo

mycobot_ros's Introduction

mycobot_ros

jaywcjlove/sb jaywcjlove/sb

中文文档 | English Document

Notes:

Installation

Option 1: Docker

There are two ways to run this project. The first is by running the project in a container, and this requires installing docker and installing docker-compose. The benefit of running in the container is that you can run the project in any version of linux, as long as your kernel is new enough.

Once docker is installed, run the following command, and the project should show up.

without NVIDIA GPU:

docker-compose build ros && xhost +local:root && docker-compose up ros

with NVIDIA GPU

docker-compose build nvidia-ros && xhost +local:root && docker-compose up nvidia-ros

This command does three things:

  1. docker-compose build ros

    This builds the project in a container. That means nothing is installed on your host machine! The first time this runs, this command will take a long while. After running it once, caching will allow this command to run quickly.

  2. xhost +local:root

    This command gives X the ability to display GUI's from within the docker container

  3. docker-compose up ros

    This runs the image specified in the docker-compose.yml, which by default runs the command roslaunch mycobot_320 mycobot_320_slider.launch within the container.

Option 2: Local

1.1 Pre-Requriements

For using this package, the Python api library should be installed first.

pip install pymycobot --user

1.2 Package Download and Install

Install ros package in your src folder of your Catkin workspace.

$ cd ~/catkin_ws/src
$ git clone --depth 1 https://github.com/elephantrobotics/mycobot_ros.git
$ cd ~/catkin_ws
$ catkin_make
$ source ~/catkin_ws/devel/setup.bash

1.3 Test Python API

cd ~/catkin_ws/src/mycobot_ros
python test.py

Screenshot

Demo

Demo

Demo

Demo

Demo

Demo

Demo

mycobot_ros's People

Contributors

zlj-zz avatar fedorenchik avatar tiryoh avatar jerryjerui avatar anla-xu avatar apockill avatar nisshan-x avatar junyi-song avatar thandal avatar graziegrazie avatar comoc avatar eacousineau avatar otl avatar mertcookimg avatar nakano16180 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.