Go to Post I have way too much time on my hands. - Brandon Martus [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-01-2013, 21:03
arithehun arithehun is offline
Registered User
AKA: Ari Falkner
FRC #3024
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Ashland, Oregon
Posts: 27
arithehun is an unknown quantity at this point
Ramping Motors?

Does anyone have any experience with ramping motors in a command based system? I tried adding a for loop to a subsystem method but then I couldn't drive the robot asynchronously. So I tried adding a command to make the subsystem drive at a variable speed and then creating a command group that uses a for-loop to add a series of that command, each with an increasing parameter. This worked asynchronously, but I needed to be able to change the variables continually throughout the program, not have them be statically set like commands do (if you use them correctly, of course). I could. I know these are both terrible ways to accomplish this besides the caveats I mentioned (the second one particularly bad), but I was desperate.

In short, is there a better way to do this by making the variables both adjustable via the dashboard (instead of being initially set when the robot turns on) AND make this loop operate asynchronously?
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 10:10.

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