Go to Post Everyone knows the best way to lose weight is to turn the robot upside down, shake vigourously, and throw away anything that falls out. - Mark Hamilton [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-02-2012, 02:29
Batman Batman is offline
Registered User
AKA: Evan Wiederspan
FRC #3663 (CPR)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Bothell, WA
Posts: 4
Batman is an unknown quantity at this point
More motors cause joystick to get slow

When we try to create more than 5 motor objects (RobotDrive, Jaguar, Victor using C++), our joystick starts responding very slowly so the ArcadeDrive doesn't move the robot until a half second or more after the joystick is moved. This is only our second year, so we could easily be doing things wrong, but we can't find a problem like this mentioned anywhere else. We've tried increasing the Wait time in our main and task loops to 20 and 50 ms but that hasn't helped much. We've seen teams talk about using 10 or more drives, so it seems like we shouldn't be having these problems.

Any help with be greatly appreciated!
Reply With Quote
 


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 17:38.

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