Git Product home page Git Product logo

mercury_ros's Introduction

mercury_ros

All Contributors

jaywcjlove/sb jaywcjlove/sb

中文文档 | English Documentation

Control or simulate Mercury series robots in ROS.

Demo

Notes:

  • Supported ROS versions:
    • Ubuntu 20.04 / ROS Noetic

Installation

Local

1 Pre-Requriements

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

pip install pymycobot --user

Before installing the package, you need to create a ros workspace.

mkdir -p ~/catkin_ws/src  # Create folder
cd ~/catkin_ws/src        # Enter the folder
catkin_init_workspace     # Initialize the current directory into a ROS workspace
cd ..                     # Return to the upper directory
catkin_make               # Build the code in the workspace.

Add a workspace environment

$ echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
$ source ~/.bashrc

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/mercury_ros.git
$ cd ~/catkin_ws
$ catkin_make
$ source devel/setup.bash

Run

Here we take Mercury A1 as an example

1 test

roslaunch merury_a1 test.launch

2 slider control

roslaunch mercury_a1 slider_control.launch
rosrun mercury_a1 slider_control.py

3 model follow

rosrun mercury_a1 follow_display.py
roslaunch mercury_a1 mercury_follow.launch

4 GUI control

roslaunch mercury_a1 simple_gui.launch

5 keyboard control

roslaunch mercury_a1 teleop_keyboard.launch
rosrun mercury_a1 teleop_keyboard.py

5 Moveit control

roslaunch mercury_a1_moveit mercury_a1.launch
rosrun mercury_a1_moveit sync_plan.py

URDF Model Graph

Mercury A1

A1

Mercury B1

B1

Where to get help

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

Important Links & Docs

mercury_ros's People

Contributors

wangwking avatar

Watchers

 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.