Go to Post Meh, wear safety glasses. - Mike Schreiber [more]
Home
Go Back   Chief Delphi > CD-Media > White Papers
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

photos

papers

everything



Waypoint trajectory demo java applet

RyanCahoon

By: RyanCahoon
New: 30-08-2009 06:48
Updated: 31-08-2009 02:17
Total downloads: 329 times


Java applet for experimenting with trajectory generation from waypoints using different interpolation methods. Source, online version available.

A java applet I made up to experiment with waypoint-based trajectory generation for robots. Includes bezier, parabolic, and cubic spline interpolation methods.

I've tried to separate out the trajectory generation code from the applet/display code (which gets messy in places) to make reading easier. Code is commented.

Instructions for use are included in the applet itself (displays at start or press 'H'). Online version at http://www.andrew.cmu.edu/user/rcaho...aj/wptraj.html

Attached Files

  • zip Waypoint trajectory applet java source bundle

    WPTraj_src.zip

    downloaddownload file

    uploaded: 30-08-2009 06:48
    filetype: zip
    filesize: 15.11kb
    downloads: 327



Recent Downloaders

Discussion

view entire thread

Reply

31-08-2009 02:19

RyanCahoon


Unread Re: paper: Waypoint trajectory demo java applet

General idea could be applied to a robot by using a gyro and encoders to track (x,y) position on the field and running a PID loop, perhaps somewhat similar to line following. However, this code has not been tested with a real robot, and would probably need some modification for use in that purpose (I have a feeling that velocities would need to be controlled better). This applet should hopefully provide a starting point however.

--Ryan



view entire thread

Reply

Tags

loading ...



All times are GMT -5. The time now is 06:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi