Go to Post Excited and motivated students and teachers can do amazing things. - Wetzel [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2008, 18:12
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
De-Accelerating

When ever the driver for our robot puts the joystick in neutral
  #2   Spotlight this post!  
Unread 14-02-2008, 18:21
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: De-Accelerating

That is happening? or you want that to happen?

Can you be more specific?
  #3   Spotlight this post!  
Unread 14-02-2008, 18:48
647techangel's Avatar
647techangel 647techangel is offline
K.I.S.S (Keep It Simple Stupid!!)
AKA: Tech_Angel
FRC #0647 (Cyber Wolf Corps)
Team Role: Driver
 
Join Date: Feb 2008
Rookie Year: 2006
Location: killeen,texas
Posts: 63
647techangel has a spectacular aura about647techangel has a spectacular aura about
Re: De-Accelerating

what is it that you want the robot to do while the joystick is in nuetral
  #4   Spotlight this post!  
Unread 14-02-2008, 18:49
D_Price's Avatar
D_Price D_Price is offline
Engineer/Mentor
AKA: Derek
FRC #1708 (Amp'd Robotics (formally Natural Selection))
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: McKeesport, Pa
Posts: 408
D_Price has much to be proud ofD_Price has much to be proud ofD_Price has much to be proud ofD_Price has much to be proud ofD_Price has much to be proud ofD_Price has much to be proud ofD_Price has much to be proud ofD_Price has much to be proud ofD_Price has much to be proud of
Re: De-Accelerating

huuh?
  #5   Spotlight this post!  
Unread 14-02-2008, 20:50
BigWhiteYeti's Avatar
BigWhiteYeti BigWhiteYeti is offline
FIRST class flier
AKA: Patrick M.
FRC #0857 (Superior Roboworks)
Team Role: Driver
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Houghton, Michigan
Posts: 49
BigWhiteYeti has a spectacular aura aboutBigWhiteYeti has a spectacular aura aboutBigWhiteYeti has a spectacular aura about
Re: De-Accelerating

The joystick in neutral means no power to the motors unless you have your programming really weird. The friction in the system when moving will usually stop you when you release the joysticks within about 15 feet or so depending on your speed and drive setup. To brake faster, give the joystick a quick tap backwards.
__________________
-you're fired
  #6   Spotlight this post!  
Unread 14-02-2008, 23:31
seanl's Avatar
seanl seanl is offline
"The Everything person"
FRC #0867 (Absolute Value)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Arcadia, CA
Posts: 267
seanl will become famous soon enoughseanl will become famous soon enough
Re: De-Accelerating

did you check your trim? im not really sure what you are asking.
__________________
, Sean

TEAM 867
-electrical
-pneumatics
-programming



2008 Autodesk Visualization Grand Prize Winner
  #7   Spotlight this post!  
Unread 15-02-2008, 10:35
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: De-Accelerating

Quote:
Originally Posted by BigWhiteYeti View Post
The joystick in neutral means no power to the motors unless you have your programming really weird. The friction in the system when moving will usually stop you when you release the joysticks within about 15 feet or so depending on your speed and drive setup. To brake faster, give the joystick a quick tap backwards.
There's also the coast and break headers on the victors. The above is true with coast, but if you have the break headers on the robot will stop almost imediately
  #8   Spotlight this post!  
Unread 15-02-2008, 14:53
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: De-Accelerating

Quote:
Originally Posted by popnbrown View Post
When ever the driver for our robot puts the joystick in neutral
if you have a feedback system, you can map the speed of the motors to absolutely follow the speed vector that the joystick will provide. If implemented correctly, you should see a quick deceleration that will stop your robot.

another thing you could try is speed ramping
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #9   Spotlight this post!  
Unread 15-02-2008, 18:43
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: De-Accelerating

Sorry about that, I did not finish typing my question because I didnt think we needed to.

The thing is that when the joystick goes to neutral, the bot suddenly stops and it kind of jerks. We're trying to get it come to a slow stop instead of jerking.

I'm currently using WPILib and using the Tank2 Drive function.

My idea was to create my own drive function and put in a deadzone of maybe 10%.
Closed Thread


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
[URC]: Project accelerating for post-season Mike Ciance FIRST-related Organizations 0 26-04-2005 15:51


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

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