Skip to content

Online time optimal trajectory generation for bounded vel and acc

License

Notifications You must be signed in to change notification settings

yzhao334/accOpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Trajectory Generation

Online trajectory generation with bounded velocity and acceleration. Works for multiple direction case.

Dependency: Robotics Toolbox for MATLAB (Peter Corke) http://petercorke.com/wordpress/toolboxes/robotics-toolbox

Instruction on running demo in MATLAB:

Rename folder to accOpt

the folder structure should look like

.
├── accOpt
│   ├── acc_optimal
│   ├── RobClass
│   ├── Utils
│   ├── judp.m
│   ├── LICENSE
│   └── README.md

Add path

>> addpath(genpath('./accOpt'));

Construct robot object for visualization

>> rob = RobVizLRMate;

Initialize visualization

>> rob.InitPlot;

Run trajectory generation simulation

determine maximum linear velocity Vm, maximum linear acceleration Am, and sampling time dt

>> rob.anim( Vm, Am, dt );

e.g. Vm=1 m/s, Am=10 m/s^2, dt=1/30 s, use rob.anim(1,10,1/30);

then drag blue ball using mouse. The robot should try to reach the blue ball with Vm and Am in real time. Orientation will be determined automatically.

Terminate simulation by pressing the ESC key in the figure window

====

License: BSD (https://github.com/yzhao334/accOpt/blob/master/LICENSE)

About

Online time optimal trajectory generation for bounded vel and acc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published