Go to Post Tinkerer math = engineer - MikeE [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 24-02-2016, 20:38
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 242
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Stop a cam at top dead center TDC

Well bag and tag is over. We have a cam on the output of a Toughbox mini with a mini cim powering the box. We have an encoder sensing the rotation. We where unable to create, test, and troubleshoot code to have the cam retun to TDC after the button is released. We are using the command bassed template. The cam may spin any number of rotations in either direction. When we are done we want to return to the top either continueing in the same direction or reverse. What might be a good way to do this? Should we check the current count by modulus 360 and continue to the next 360 increment. Any input. Its going to be tough to test now without a rio
 


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 09: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