Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Robot Control Touchy (http://www.chiefdelphi.com/forums/showthread.php?t=103176)

Redstone 18-02-2012 14:35

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);
}

Ether 18-02-2012 14:39

Re: Robot Control Touchy
 
Quote:

Originally Posted by Redstone (Post 1129563)
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



Intel i7 18-02-2012 16:23

Re: Robot Control Touchy
 
Use Squared inputs

drive.arcadeDrive(speed, rotate, true);

jesusrambo 18-02-2012 17:11

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.


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

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