Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   modifying tank drive (http://www.chiefdelphi.com/forums/showthread.php?t=103416)

bs7280 20-02-2012 18:00

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,

Ether 20-02-2012 19:32

Re: modifying tank drive
 
Quote:

Originally Posted by bs7280 (Post 1131126)
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




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

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