Git Product home page Git Product logo

a-ture / mearm-robot Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 15.88 MB

This project showcases the integration of the MeArm robotic arm with ROS (Robot Operating System) using an Arduino as the intermediary controller. It demonstrates how to control the MeArm robot's servo motors through ROS topics and services, allowing for precise and flexible manipulation tasks.

CMake 66.63% Python 25.83% C++ 7.55%
arduino robotic-arm ros

mearm-robot's Introduction

MeArm Robot ROS-Arduino Integration

This project showcases the integration of the MeArm robotic arm with ROS (Robot Operating System) using an Arduino as the intermediary controller. It demonstrates how to control the MeArm robot's servo motors through ROS topics and services, allowing for precise and flexible manipulation tasks.

The project was developed for the course of Robot Programming (2023/2024) in University of Salerno, final paper and presentation can be found in (MeArm/doc)

Project Overview

The goal of this project is to leverage the capabilities of ROS for high-level control while using Arduino for low-level hardware interfacing. This approach enables a modular and scalable system that can be extended for various robotic applications.

Features

  • Control MeArm servo motors through ROS messages.
  • Set predefined poses for the MeArm using ROS services.
  • Real-time manipulation and feedback through the integration of ROS and Arduino.
  • Modular and scalable architecture suitable for educational purposes and robotic experiments.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • ROS Noetic installed on Ubuntu 20.04.
  • Arduino IDE for programming the Arduino board.
  • MeArm robot kit assembled with an Arduino compatible board.

Usage

  1. Clone the repository to your local machine:

    git clone https://github.com/yourrepository/MeArm_ROS_Arduino.git
  2. Navigate to the cloned directory:

    cd MeArm_ROS_Arduino
  3. Compile any necessary ROS packages:

    catkin_make
    source devel/setup.bash
  4. Connect the Arduino to your computer and upload the provided Arduino sketch (MeArm/mearm.ino) using the Arduino IDE.

  5. Run the ROS nodes for manual control of the robot ():

    roslaunch mearm_move display.launch
    rosrun rosserial_python serial_node.py _port:=/dev/ttyACM0 _baud:=115200

This command will open the RViz interface, as we see in figure below: Example Image

  1. To control the robot using a service:
    roslaunch mearm_move service.launch
    rosrun rosserial_python serial_node.py _port:=/dev/ttyACM0 _baud:=115200
    rosservice call /select_position_set "set_name: 'set3'"

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

mearm-robot's People

Contributors

a-ture avatar

Stargazers

Elpidio Mazza avatar Abdullah Amal Khan avatar  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.