Go to Post I bet Andy Baker would totally own JVN in a 1v1 dodgeball fight. - Greg Marra [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #22   Spotlight this post!  
Unread 14-04-2010, 08:37
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,083
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Teleop Issue - Motor Control Seems to Freeze

Quote:
Originally Posted by compwiztobe View Post
Since the delays total to 3 seconds, I think it will take 3 seconds to run this while loop once when you start the kicker sequence... [which] may cause some undesirable overhead.
I believe the "watchdog delay and feed" blocks waiting for the specified time so the overhead should be minimal.


Quote:
Originally Posted by compwiztobe View Post
A state machine is probably what you want here,
A state machine is a viable alternate way to do this sort of thing, but many teams have successfully used a concurrent periodic task.

We were successful using both approaches. We started out using state machines, then switched to using event-triggered periodic tasks. The periodic tasks approach is easier to look at and see the sequential flow. Makes it easier for peer review, particularly for inexperienced programmers.

~
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview Servo Control Issue EricWilliams Programming 5 22-01-2010 14:24
Jaguars Slow Yellow Blink - Possible Control System Issue MikeDubreuil FRC Control System 3 26-01-2009 23:04
Driver Station Watch Dog / Motor Won't Spin Issue RMiller FRC Control System 5 20-01-2009 09:58
Small Banebots Motor Issue - Lessened torque and smoke sanddrag Motors 10 12-02-2007 21:41
CIM motor issue dmellich Motors 4 11-02-2005 11:10


All times are GMT -5. The time now is 01:00.

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