GithubHelp home page GithubHelp logo

wordplayer / dvrk_dynamics_identification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wpi-aim/dvrk_dynamics_identification

0.0 0.0 0.0 147.86 MB

Dynamic model identification of the DVRK

Jupyter Notebook 99.40% Python 0.58% MATLAB 0.01% M 0.01%

dvrk_dynamics_identification's Introduction

A dynamic model identification package for the da Vinci Research Kit (under development)

There are parallelograms, springs, tendon couplings, cables, and counterweight in da Vinci Research Kit (dVRK) so that we can not use existing tools to identify the dynamic parameters of it. This software framework was developed to solve these problems. Although this package was initially developed for the dVRK, it is also very easy to use it to identify the dynamic parameters of other robots.

Procedure

Features

Finished

  • Symbolic dynamic modelling based on DH parameters and geometric tree

    • Geometrical modelling
    • Dynamic modelling
    • Base parameter generation using QR decomposition
  • Optimal excitation trajectory generation based on fourier-series

  • Excitation of robots, using dVRK ROS stack

  • Data processing

    • Derive velocity and acceleration from position measurements
    • Zero-phase low-pass filter for original data
    • Remove the data whose velocity is close to zero to decrease the noise for Coulomb friction
  • Identification

    • Joint cable torque identification
    • Ordinary Least Square (OLS)
    • Weighted Least Square (WLS)
    • Convex Optimization
  • Output of the identified parameters to json files

Requirements

  • Python 2.7
  • Python modules
    • NumPy, SciPy, SymPy, CvxOpt, Matplotlib, PyOpt, cloudpickle

Anaconda is recommended.

Reference paper

A paper describing the modeling and identification of the dVRK using this package can be downloaded here.

A dynamic model identification package for the da Vinci Research Kit

The bibtex code for including this citation is provided:

@misc{dynamic_model_iden,
    author = {Wang, Yan and Gondokaryono, Radian and Munawar, Adnan and Fischer, Gregory S},
    title = "{A Dynamic Model Identification Package for the da Vinci Research Kit}",
    archivePrefix = "arXiv", 
    note = {arXiv:1902.10875},
    year = 2019,
    month = feb,
}

Examples

Author

Yan Wang and Radian Gondokaryono, from WPI AIM Lab

Other similar packages

When developing this work, we referred a lot from the following places:

Some problems

When I was using PyOpt, I found some problems with it. In pySLSQP.py file, these changes should be made to make it work.

gg = numpy.zeros([la], numpy.float) ==> gg = numpy.zeros(la, numpy.float)

dg = numpy.zeros([la,n+1], numpy.float) ==> dg = numpy.zeros([la[0], n + 1], numpy.float)

w = numpy.zeros([lw], numpy.float) ==> w = numpy.zeros(lw, numpy.float)

jw = numpy.zeros([ljw], numpy.intc) ==> jw = numpy.zeros(ljw, numpy.intc)

Or simply replace the pySOLVOPT.py file in anaconda2/lib/python2.7/site-packages/pyOpt/pySOLVOPT/ with the file in dyn_ident_py/design of this repository.

dvrk_dynamics_identification's People

Contributors

wangyanhit avatar radiang avatar nsujumnong avatar adnanmunawar 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.