Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   De-Accelerating (http://www.chiefdelphi.com/forums/showthread.php?t=64093)

popnbrown 14-02-2008 18:12

De-Accelerating
 
When ever the driver for our robot puts the joystick in neutral

AdamHeard 14-02-2008 18:21

Re: De-Accelerating
 
That is happening? or you want that to happen?

Can you be more specific?

647techangel 14-02-2008 18:48

Re: De-Accelerating
 
what is it that you want the robot to do while the joystick is in nuetral

D_Price 14-02-2008 18:49

Re: De-Accelerating
 
huuh?

BigWhiteYeti 14-02-2008 20:50

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.

seanl 14-02-2008 23:31

Re: De-Accelerating
 
did you check your trim? im not really sure what you are asking.

Jon Stratis 15-02-2008 10:35

Re: De-Accelerating
 
Quote:

Originally Posted by BigWhiteYeti (Post 699085)
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

Uberbots 15-02-2008 14:53

Re: De-Accelerating
 
Quote:

Originally Posted by popnbrown (Post 699024)
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

popnbrown 15-02-2008 18:43

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%.


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

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