Skip to content

elephantrobotics/mycobot_ros

mycobot_ros

All Contributors

jaywcjlove/sb jaywcjlove/sb

δΈ­ζ–‡ζ–‡ζ‘£ | English Documentation

Control or simulate myCobot series robots in ROS.

Demo

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:

ROS Noetic:

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

ROS Melodic:

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

With NVIDIA GPU

ROS Noetic:

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

ROS Melodic:

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.

To run other tutorials, set the LAUNCH_TARGET environment variable. For example, to the run the MoveIt tutorial run:

export LAUNCH_TARGET=mycobot_320_moveit mycobot320_moveit.launch
docker-compose up ros

Option 2: Local

2.1 Pre-Requriements

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

pip install pymycobot --user

2.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
$ sudo echo 'source ~/catkin_ws/devel/setup.bash' >> ~/.bashrc

2.3 Test Python API

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

Where to get help

There is documentation in the ElephantRobotics Docs. Please check the ROS chapter.

Important Links & Docs

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's code of conduct.

Screenshots

Demo

Demo

Demo

Demo

Demo

Demo

URDF Model Graph

mycobot 280 m5

280 m5

mycobot 280 m5 gripper

280 m5 gripper

mycobot 280 m5 pump

280 m5 pump

mycobot 280 m5 camera flange

280 m5 camera flange

mycobot 280 m5 camera flange & pump

280 m5 camera flange & pump

mycobot 280 pi

280 pi

mycobot 280 pi pump

280 pi pump

mycobot 280 pi camera flange

280 pi camera flange

mycobot 280 pi camera flange & pump

280 pi camera flange pump

mycobot 280 JetsonNano

280 jn

mycobot 280 Arduino

280 ar

mechArm 270 m5

270 m5

mechArm 270 pi

270 pi

myPalletizer 260 m5

260 m5

myPalletizer 260 pi

260 pi

mycobot 320 m5 2020

320 m5 2020

mycobot 320 m5 2022

320 m5 2022

mycobot 320 m5 2022 gripper

320 m5 2022 gripper

mycobot 320 pi 2022

320 pi 2022

ultraArm P340

p340

mycobot 280 pi aikit

aikit 280pi

mycobot 320 pi aikit

aikit 320pi

mybuddy

mybuddy

mycobot pro 600

pro600

myArm 300 Pi

myarm

mycobot pro 630

pro630

Contributors

Thanks goes to these people (Emoji Key):

Alex Thiele
Alex Thiele

πŸ’»
Shinya Nishimoto
Shinya Nishimoto

πŸ’» πŸ“–
Takashi Ogura
Takashi Ogura

πŸ’»
Ryuichiro Toyoshi
Ryuichiro Toyoshi

πŸ“–
Ryo Kabutan
Ryo Kabutan

🎨
Takafumi Watanabe
Takafumi Watanabe

πŸ’» πŸ“–
Yoshiaki Watanabe
Yoshiaki Watanabe

πŸ’»
Masato Kobayashi
Masato Kobayashi

πŸ’»
Daisuke Sato
Daisuke Sato

πŸ“– πŸ’»
Eric Cousineau
Eric Cousineau

πŸ’»
thandal
thandal

πŸ’»
nakano16180
nakano16180

πŸ“–
Akihiro Komori
Akihiro Komori

πŸ’»
Jason Skowronski
Jason Skowronski

πŸ’»
2929ss
2929ss

πŸ’»
TAKASU Masakazu
TAKASU Masakazu

πŸ“£
SAITO, Tetsuya
SAITO, Tetsuya

πŸ“£

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

Licensed under standard three-clause BSD license (same as ROS Core), Copyright 2020-2023 Elephant Robotics. Copy of the license.