Coder Social home page Coder Social logo

aanirudh07 / vision-for-robot-path-planning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karthik-d/vision-for-robot-path-planning

0.0 0.0 0.0 167.6 MB

Vision-based path planning for Mobile Robots

Shell 0.01% C++ 0.02% Python 0.97% MATLAB 0.08% TeX 0.03% HTML 0.02% CMake 0.01% Jupyter Notebook 98.88%

vision-for-robot-path-planning's Introduction

Vision-For-Robot-Path-Planning

Vision-based path planning for Mobile Robots

Hardware Recommendation

The system used to run both the segmentation models and the path planning code had the following specifications:

  • CPU: AMD Ryzen 7 6800H with Radeon Graphics (3.20 GHz)
  • GPU: NVIDIA GeForce RTX 3050Ti
  • RAM: 16 GB (15.3 GB usable)

Software Requirements

  • Segmentation: PyTorch and Scikit-learn
  • Path planning: Matlab and RVCTools
  • Web Application: Flask, SciPy, Scikit, Plotly, and Pandas

Application

The Flask application is designed to run on a local machine and requires MATLAB R2022b installed.

Installation

  1. Install MATLAB R2022b on your local machine.

  2. Navigate to the app folder.

  3. Create a virtual environment using your preferred method. For example, using python, run the following command in your terminal:

    python3 -m venv venv
  4. Activate the virtual environment by running the following command:

    source venv/bin/activate
  5. Install the required dependencies by running the following command:

    pip install -r requirements.txt

Usage

Once the virtual environment has been activated and the dependencies have been installed, run the following command in your terminal:

python app.py

This will start the Flask app, which can be accessed by navigating to http://localhost:5000 in your web browser.

Module 1: Segmentation Models

All the stroke segmentation models are implemented in python notebooks. These notebooks can be downloaded and executed on a GPU, after obtaining the dataset and setting the filepath in the notebook suitably.

Module 2: Path-Planning

The MATLAB scripts are designed to perform path planning using Q-Learning with a 6-DOF robotic arm in an environment with obstacles.

Installation

  1. Install MATLAB R2022b on your local machine.

  2. Install the Robotics Toolbox for MATLAB (RVCTools) by following the instructions provided on the official website.

  3. Add the RVCTools folder to the MATLAB search path. To do this, run the following command in the MATLAB command window:

    addpath(genpath('/path/to/rvctools'));

    Replace "/path/to/rvctools" with the actual path to the RVCTools folder on your local machine.

  4. Run the RVCTools startup script by running the following command in the MATLAB command window:

    startup_rvc

    This will set up the RVCTools environment and add it to the MATLAB search path.

Usage

Once the dependencies have been installed, you can run the path planning script in MATLAB by running the following command:

Pose_Schedule_with_Reschedule([x , y, z])

Replace x, y and z with the coordinates of the target.

vision-for-robot-path-planning's People

Contributors

aanirudh07 avatar karthik-d 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.