Go to Post Also, If I am not mistaken, the name indicates that your robot is female :P They're all female... like cars, ships, and airplanes. - JVN [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-02-2005, 00:54
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Absolute Positioning System Help

I am in the process of creating a robot absolute positioning system, such as stangPS, and was wondering if any teams or programmers could help me with a few concepts.

I am keeping track of robot x and y values (relative to the origin at bottom left of field, field would be quadrant 1 on a Cartesian plane) in integer variables, and trying to keep track of the robots 2d position. I understand how I can increment these value by keeping track of distance traveled with shaft encoders and a yaw gyro. But, my theory only works with straight line movement. Heres why:

When the robot moves straight from its starting position, I could increase the x variable with the distance traveled. Then if I turn and drive a distance I could find the y and x value of change by taking the sin and cosine of the angle I turned, multiplied by the distance of that line traveled (hypotenuse of a right triangle).

But, I am totally stuck on how to code this for arcing robot movement. The robot does not always travel in a linear fashion, and I am not sure how to compensate for this.

Has anyone ever used the same method as I am, and know what to do to solve my problem?
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
White Paper Discuss: Code and Walkthrough for Global Positioning System using IR Sensors CD47-Bot Extra Discussion 2 20-05-2004 21:22
What do you wish you knew about the new control system? Joe Ross Control System 2 09-01-2004 21:47
positioning system srjjs Technical Discussion 5 05-04-2003 14:49
control system worth more than $500 archiver 2001 8 24-06-2002 02:00
New Innovation FIRST control system and the dashboard archiver 2000 0 23-06-2002 22:15


All times are GMT -5. The time now is 18:21.

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