Giter VIP home page Giter VIP logo

ros_teleop's Introduction

Robotics Control System Repository

This repository contains the code for implementing motor control and encoder functionality on both Arduino and Raspberry Pi platforms.

Arduino Code

The Arduino code is responsible for controlling motors using L298N drivers and reading encoder values from the motor shafts. The code is located in the Arduino_Code directory.

Instructions

  1. Upload the Arduino code to your Arduino Mega board.
  2. Make sure to connect the motor drivers and encoders properly to the Arduino Mega.

Raspberry Pi Code

The Raspberry Pi code acts as a ROS node to receive motor control commands and encoder values from the Arduino, and it publishes them to ROS topics. The code is located in the RaspberryPi_Code directory.

Instructions

  1. Install ROS on your Raspberry Pi.
  2. Run the ROS node using the provided Python script.
  3. Make sure to adjust the serial port (/dev/ttyACM0) in the Python code if your Arduino is connected to a different port.
  4. Adjust the publishing rate (rate) as needed.
  5. Adjust the mapping of velocities to motor speeds according to your specific robot configuration.

Additional Information

If you need any additional information or assistance, feel free to contact me.

ros_teleop's People

Contributors

yash-3339 avatar

Stargazers

Joel Georgie Jacob 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.