Go to Post I know what "finished" means, and I know what "robot" means, but what is this "finished robot" of which you speak? - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-02-2012, 18:00
bs7280 bs7280 is offline
Registered User
FRC #3734
Team Role: Leadership
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Lake Forest
Posts: 80
bs7280 has a spectacular aura aboutbs7280 has a spectacular aura aboutbs7280 has a spectacular aura about
modifying tank drive

Hello everyone, I hope you are all having a great last few days building and driving.

As we were driving our robot, we realized with the total weight of our robot on our 2 cim motors, we found that our robot had very bad handling. In order to fix this we need to add code to the tank drive function that first wrote. the code itself I want to add is not a problem and is designed to, instead of if we were to go full out on the joysticks, it would accelerate over a given set of time to the final speed. but the problem is that we cant edit the code in the tank drive function given by first that i need to edit. not much I can say there,
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2012, 19:32
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,042
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: modifying tank drive

Quote:
Originally Posted by bs7280 View Post
instead of if we were to go full out on the joysticks, it would accelerate over a given set of time to the final speed
This is easy to do. Put a slew-rate limiter filter on your joysticks:

http://www.chiefdelphi.com/forums/sh...23&postcount=2


Reply With Quote
Reply


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


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

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