Go to Post No matter what you do and how well you try to protect them, some people are just out there to be candidates for the Darwin Awards! - Jay H 237 [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 18-02-2012, 14:35
Redstone's Avatar
Redstone Redstone is offline
Me gusta java
AKA: Ben Beals
FRC #4043 (Nerd Herd)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: McMinnville, Oregon
Posts: 22
Redstone is an unknown quantity at this point
Robot Control Touchy

Is there a way to make the robot start up more gradually in tankdrive and in arcadedrive? Right now i am just using the RobotDrive class to control our Sim motors.

if(driveMode==0){
drive.tankDrive(rightstick, leftstick);
}

if(driveMode==1){
drive.arcadeDrive(rightstick);
}
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2012, 14:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
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: Robot Control Touchy

Quote:
Originally Posted by Redstone View Post
Is there a way to make the robot start up more gradually in tankdrive and in arcadedrive?
Joystick sensitivity:
http://www.chiefdelphi.com/media/papers/2421

Slew rate limit:
http://www.chiefdelphi.com/forums/sh...7&postcount=30



Last edited by Ether : 18-02-2012 at 17:16. Reason: added another link
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2012, 16:23
Intel i7 Intel i7 is offline
Registered User
FRC #3540 (Wildcat Robotics)
Team Role: Driver
 
Join Date: Feb 2010
Rookie Year: 2010
Location: N.C.
Posts: 39
Intel i7 is an unknown quantity at this point
Re: Robot Control Touchy

Use Squared inputs

drive.arcadeDrive(speed, rotate, true);
__________________
Driver
Programmer
Webcoder/Designer

Code:
http://www.chiefdelphi.com/forums/showthread.php?t=102329
Making our own custom dashboard system/framework!
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2012, 17:11
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Robot Control Touchy

Write your own filter into the Jaguar class in the libraries. I personally don't like the squared inputs method because it makes handling at higher speeds wierd.
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 22:41.

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