Go to Post Without programmers there would only be a robotic beauty contest. - mallot1243 [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
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
  #22   Spotlight this post!  
Unread 19-11-2009, 23:41
reversed_rocker's Avatar
reversed_rocker reversed_rocker is offline
Alumni
AKA: Ken Condon
FRC #0706 (Cyberhawks)
Team Role: College Student
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Hartland
Posts: 69
reversed_rocker is on a distinguished road
Re: pic: Cyber Blue Swerve Chassis - Rear View

when we built our crab drive, one problem we had was that the motor would over shoot the intended position, then try to swing back, and the process repeats.

we multiplied the difference between the wheels position and the intended position (the value read from the controller, translated to the same value range as the wheel position) by a constant less than 1 (ours ended up being around .57, but this is something you can define at the top of your code and mess around with) this way your wheels slow down as they approach the intended destination.

how did you solve the problem? maybe we could trade some code
Reply With Quote
 


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
Cyber Blue and Team 221 LLC "Wild Swerve" Chris Fultz General Forum 27 08-02-2010 14:47
pic: FRC-34 2009 Frame Concept (Rear View) Ed Sparks Extra Discussion 2 09-03-2009 11:00
pic: Cyber Blue Midieval Coast Chassis Chris Fultz Extra Discussion 7 10-12-2008 13:31
pic: Rear view of our 07 'bot Cody Carey Robot Showcase 7 16-02-2007 12:29
pic: 857 rear view programming CD47-Bot Robot Showcase 1 25-02-2003 22:24


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

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