GithubHelp home page GithubHelp logo

nuc_ros's Introduction

Non-revisiting Uniform Coverage (NUC)

This repository is the ROS package for the journal paper entitled "Template-free Non-revisiting Uniform Coverage Path Planning on Curved Surfaces", IEEE/ASME Transactions on Mechatronics (T-Mech).

Paper Link

This paper claimed that a physically uniform coverage path should be designed based on a physically uniform representation of the target surface, such as a triangular mesh, rather than enforcing a curvilinear coordinate. Typically resultant coverage paths generated by the proposed algorithm are as follows:

The supplementary code in this repo is capable of generating the non-repetitive coverage path on ARBITRARY connected triangular mesh. Input a uniform mesh, and you will get a uniform coverage.

Video Link

Supplementary Video

Dependencies

  1. trimesh (only if you want to test my python script first)
pip3 install trimesh

Usage

  1. Clone the code in the src folder of a ROS workspace
git clone https://github.com/ZJUTongYang/nuc_ros.git
  1. Compile the workspace
catkin_make

This will create a python module named nuc, as well as ros messages and services.

  1. Start the algorithm
roslaunch nuc demo.launch

If everything is correct, there should be two rostopics, "/nuc_mesh" (of type nuc/MeshWithFrame) and "/nuc_path" (of type nav_msgs/Path). If a mesh is sent to the algorithm through "/nuc_mesh", a coverage path will be generated and published to "/nuc_path" whose frame was "nuc_demo_test_frame", designated in "/nuc_mesh".

  1. If you want to try my demo python script, start a new terminal and run (I assume you are still in the workspace directory)
rosrun nuc demo.py src/nuc_ros/mesh_data/remeshed_saddle.stl
  1. Start a new terminal and open a rviz window by typing
rosrun rviz rviz

add the topic "/nuc_path", and type the frame of rviz as "nuc_demo_test_frame" (you have to type in it instead of choose it). Finally, you will be able to see a coverage path designed for a saddle-shaped surface.

Bug Report

The code does not have any randomness so bugs can be easily reproduced. If your surface triggers a bug in my code, please send the mesh data to me.

Cite This Paper

@article{Yang2023Template,
  title={Template-Free Nonrevisiting Uniform Coverage Path Planning on Curved Surfaces},
  author={Yang, Tong and Miro, Jaime Valls and Nguyen, Minh and Wang, Yue and Xiong, Rong},
  journal={IEEE/ASME Transactions on Mechatronics},
  year={2023},
  volume={28},
  number={4},
  pages={1853--1861},
  publisher={IEEE}
}

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.