No description
Find a file
2021-05-30 15:34:29 +09:00
.github/workflows Add launch test 2021-05-22 19:51:49 +09:00
config marker detect. 2021-05-14 16:47:15 +08:00
launch Fix launch file error 2021-05-22 20:56:39 +09:00
msg feat: add teleop_keyboard 2021-04-30 10:02:45 +08:00
scripts feat: added simple gui. 2021-05-21 15:53:46 +08:00
src update name. 2021-05-12 16:39:47 +08:00
srv feat: add teleop_keyboard 2021-04-30 10:02:45 +08:00
urdf change package name. 2021-05-06 12:37:06 +08:00
.gitattributes doc: add CHANGE file. 2021-01-09 17:15:24 +08:00
.gitignore feat(api): python api add new method and modify usage 2021-01-08 11:41:49 +08:00
CHANGELOG.md feat: added simple gui. 2021-05-21 15:53:46 +08:00
CMakeLists.txt Add launch test 2021-05-22 19:51:49 +09:00
docker-compose.yml Support both nvidia/without nvidia 2021-05-30 15:34:29 +09:00
Dockerfile Use rosdep 2021-05-23 20:44:52 +09:00
install ros.pdf doc: add PDF of install ROS 2021-01-15 11:13:49 +08:00
LICENSE init 2020-12-24 16:42:56 +08:00
package.xml Add missing package for simple_gui 2021-05-23 20:42:03 +09:00
README.md Support both nvidia/without nvidia 2021-05-30 15:34:29 +09:00
Screenshot-1.png Update README. 2021-05-21 16:08:19 +08:00
Screenshot-2.png Update README. 2021-05-21 16:08:19 +08:00
Screenshot-3.png Update README. 2021-05-21 16:08:19 +08:00
Screenshot-4.png add new feature. 2021-05-13 15:40:51 +08:00
Screenshot-5.png Update README. 2021-05-21 16:08:19 +08:00

mycobot_ros

jaywcjlove/sb jaywcjlove/sb

中文文档 | English Document

Notes:

Make sure that Atom is flashed into the top Atom and Transponder is flashed into the base Basic .The tool download address: https://github.com/elephantrobotics/myCobot/tree/main/Software
ubuntu: 16.04LTS
ros version: 1.12.17

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_ros mycobot_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 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 scripts/test.py

Screenshot

Demo

Demo

Demo

Demo

Demo


END