Go to Post I'd be upset if someone threw away my robotics shirts. Because then I'd have no shirts. - evulish [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 03-03-2016, 19:31
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,251
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: Lift Mechanism - Victor Coding

Is there a reason you are wanting to run for a period of time instead of until a limit switch is hit? This would allow you to stop the mechanism based on where it is instead of how long it runs.

This will help you if you are running the lift (in either direction) and then the robot is disabled (end of match/e-stop) and you need to move the mechanism to one of the end points (other points can be added as well) from wherever it stopped. If you run it up or down based on time it will move past the desired end point.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-03-2016, 06:03
pblankenbaker pblankenbaker is offline
Registered User
FRC #0868
 
Join Date: Feb 2012
Location: Carmel, IN, USA
Posts: 102
pblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of light
Re: Lift Mechanism - Victor Coding

Performing a timed task depends a lot on which framework you are using for your Robot code and whether you are doing it in an autonomous state where nothing else needs to be done or a teleop state where other things need to be happening at the same time.

Are you using the Command based framework, the Iterative based framework or the Sample (simple) framework?

Can you post some of your source code (showing how your victors are constructed and where you want to activate them)? It would help in making suggestions.
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 10:19.

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