OCCRA   [more] Florida Regional : 110d 06h 27m ...
Go to Post If you are "retiring" the old ball, make all the lights green, hang it 8 feet in the air, line up a bunch of 'bots and let 'em shoot poofs. RoboPinata! (warning kids - don't eat the "candy" that falls out!) - Taylor [more]
Home
Go Back   Chief Delphi > CD-Media > White Papers
Team 47   CD-Events   CD-Media   CD-Swap   CD-Spy   FRC-Spy   Unsung FIRST Heroes   WFA
portal register members calendar search Today's Posts Mark Forums Read FAQ rules
Innovation First, Inc.
The Chief Delphi Forums are sponsored by Innovation First, Inc.
ITT Tech
ADVERTISEMENT

photos

papers

everything



Waypoint trajectory demo java applet

RyanCahoon

By: RyanCahoon
New: 08-30-2009 06:48 AM
Updated: 08-31-2009 02:17 AM
Total downloads: 52 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: 08-30-2009 06:48 AM
    filetype: zip
    filesize: 15.11kb
    downloads: 50



Recent Downloaders

  • Guest

Discussion

view entire thread

Reply

08-31-2009 02:19 AM

RyanCahoon


Old 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:32 AM.

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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © Delphi and Pontiac Central High School