No description
Find a file
2021-11-03 15:47:31 +08:00
.github/workflows Update industrialci.yml 2021-07-12 18:28:26 +08:00
demo_img Split package. 2021-07-12 16:07:22 +08:00
mycobot_280 Adapted to seeed 2021-10-26 10:16:18 +08:00
mycobot_280_moveit add moveit demo script. 2021-08-05 18:55:16 +08:00
mycobot_320 Split package. 2021-07-12 16:07:22 +08:00
mycobot_320_moveit Split package. 2021-07-12 16:07:22 +08:00
mycobot_600 Split package. 2021-07-12 16:07:22 +08:00
mycobot_ai Adaptation jetson nano 2021-11-03 15:47:31 +08:00
mycobot_communication Adapted to seeed 2021-10-26 10:16:18 +08:00
mycobot_description fix joint5 bug 2021-10-27 18:54:42 +08:00
.gitattributes doc: add CHANGE file. 2021-01-09 17:15:24 +08:00
.gitignore Adaptation jetson nano 2021-11-03 15:47:31 +08:00
CHANGELOG.rst Update CHANGELOG.rst 2021-08-10 12:02:04 +08:00
docker-compose.yml Specify one of the new split launch targets. 2021-08-18 14:16:52 -04:00
Dockerfile Explicitly specify pip3 to avoid pulling python2 dependencies 2021-09-20 12:12:08 -07:00
README.md Merge branch 'noetic-new' 2021-09-23 19:02:10 +08:00
test.py Gracefully handle cases when uname ends with a carriage return. 2021-08-18 14:07:47 -04:00

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