Code Monkey home page Code Monkey logo

trajectory-smoothing-ros's Introduction

trajectory-smoothing-ros

This package integrates trajectory smoothing methods in the ROS framework.

Description

The input is a list of 3D points which correspond to a movement with initial and final velocity equal to zero (reaching motion). The functionality of the package is to use the selected smoothing function (Bezier Curves or Smoothing Splines) in order to extrat a smooth trajectory from the input 3D points. In addition, an empirical statistical method is used based on the profiles of a reaching motion in order to excude the points that are concentrated in the beginning and ending of the input movement which do not offer any usefull information about the actual trajectory.

Implementation

In order to implement the smoothing function this repo is using soucre based on the following repos:

  1. Bezier Curves smoothing: https://github.com/Hrisi/Python---Spline-curves
  2. Smoothing splines: a) Initial off-ROS implementaton (in Python3): https://github.com/espdev/csaps b) Sklearn-based implementation (+ Polunomial smoothing): https://github.com/madrury/basis-expansions

The above above smoothing fuctions are offered as a ros-service by the smooth_server.py script (server). Default option is the Bezier Curve based smoothing.

Test cases

This package was tested using as input 3D points that represent reaching motions of the human wrist inside the workspace of a UR3 robotic arm which where tracked by a RGB-D camera using Openpose as part of the following pipeline (currently not integrated):

https://github.com/Roboskel-Manipulation/openpose_utils

trajectory-smoothing-ros's People

Contributors

smarnakis avatar thanasists avatar

Stargazers

 avatar  avatar  avatar  avatar  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.