GithubHelp home page GithubHelp logo

zhaodong1986 / stopp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abdelrhmanbassiouny/stopp

0.0 0.0 0.0 229 KB

Safe Time Optimal Path Parameterization (STOPP) for serial robots

License: MIT License

Python 100.00%

stopp's Introduction

STOPP

Safe Time Optimal Path Parameterization (STOPP) for serial robots, this produces a jerk limited, joint synchronized trajectories for smooth and safe robot motion for a given predefined path.

Dependencies

numpy >= 1.12.0

Installation

$ pip install stopp

Sample Usage

import stopp
import numpy as np
from math import pi

robot_path = np.array([np.linspace(0, 150, 30), np.linspace(50, 100, 30)])*(pi/180) # Convert to rad
my_robot = stopp.Robot(n_joints=robot_path.shape[0], j_max=800, a_max=50, v_max=6)
trajectory = my_robot.TimeParameterizePath(robot_path, interp_time_step=0.004)

first_joint_trajectory = trajectory[0]
second_joint_trajectory = trajectory[1]

first_joint_time = first_joint_trajectory.t
firs_joint_pos = first_joint_trajectory.pos
first_joint_vel = first_joint_trajectory.vel
first_joint_acc = first_joint_trajectory.acc

Sample Result

stopp's People

Contributors

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