No description
Find a file
2021-04-11 21:32:01 -07:00
config fix: urdf fixed. 2021-04-08 15:50:32 +08:00
launch update: ros package support atom 2.6 2021-03-22 16:11:16 +08:00
scripts update: ros package support atom 2.6 2021-03-22 16:11:16 +08:00
urdf fix: urdf fixed. 2021-04-08 15:50:32 +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
CHNAGELOG.md doc: add PDF of install ROS 2021-01-15 11:13:49 +08:00
CMakeLists.txt init 2020-12-24 16:42:56 +08:00
docker-compose.yml Added first working version of docker environment 2021-04-11 21:32:01 -07:00
Dockerfile Added first working version of docker environment 2021-04-11 21:32:01 -07: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 serial as dependencies in package.xml 2021-01-18 11:46:52 +09:00
README.md update chinese README 2021-04-01 20:06:19 +08:00
READMEcn.md update chinese README 2021-04-01 20:06:19 +08:00
Screenshot-1.png fix: urdf fixed. 2021-04-08 15:50:32 +08:00

myCobotROS

jaywcjlove/sb

English | 中文

Demo

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

If your Atom is 2.3 or before, or pymycobot is 1.*, Please check branch before

Download ROS http://wiki.ros.org/ROS/Installation

1. Installation

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/myCobotROS.git
$ cd ~/catkin_ws
$ catkin_make

1.3 Test Python API

cd ~/catkin_ws/src/myCobotROS
python scripts/test.py

2. Package Modules

2.1 Nodes

  • display is a display node. When the node is running, the model of ROS will show the movement of mycobot synchronously.
  • control_slider is the node which slider bar control.
  • control_marker is the node which use interactive marker control.

2.2 Topics

  • joint_states - control mycobot status.

    Message_type: std_msgs/JointState
    Data: position[float, float, float, float, float, float]
    

3. Visualization in RViz

3.1 Functions

  • Visualization -- display.launch: This function will display robot arm movement in realtime when you manually move mycobot.

  • Control -- control.launch: This function will allow you use slider bar to control movement of the robot arm.

3.2 Lanuch and Run

  • Use slide bar to control

    • launch ros and rviz
    roslaunch myCobotROS control_slider.launch
    
    • run python script
    rosrun myCobotROS control_slider.py
    
  • The model moves with the real manipulator

    • launch ros and rviz
    roslanuch myCobotROS mycobot.launch
    
    • run python script
    rosrun myCobotROS display.py
    

Q & A

Q: error[101]

A: Make sure that the serial port is not occupied, and that the correct firmware is burned in for atom and basic