Go to Post Don't get mad, learn, and get even. - Eric O [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

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 07-02-2015, 22:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Error problems

The problem is your motor code only runs once when the robot starts and never again, because of where you placed it in Periodic Tasks.

Two solutions:
  1. Move the motor code to Teleop.vi, because Teleop gets called over and over again by Robot Main, so your motor code will get called every time new joystick commands are received.
  2. Move the motor code into the 10ms loop in Periodic Tasks. Because that loop gets repeated over and over again, calling your motor code over and over again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #17   Spotlight this post!  
Unread 08-02-2015, 08:47
Team5709 Team5709 is offline
Registered User
FRC #5709
 
Join Date: Jan 2015
Location: Michigan
Posts: 21
Team5709 is an unknown quantity at this point
Re: Error problems

ok i will try it today and i'll let u know if it works
Reply With Quote
  #18   Spotlight this post!  
Unread 24-03-2015, 15:05
Team5709 Team5709 is offline
Registered User
FRC #5709
 
Join Date: Jan 2015
Location: Michigan
Posts: 21
Team5709 is an unknown quantity at this point
Thanks to every one who helped we did get are robot running in time to compete
Reply With Quote
  #19   Spotlight this post!  
Unread 13-05-2015, 08:45
aeastet aeastet is offline
Programming Mentor
AKA: Tim Easterling
FRC #6043 (Allegan Tigers Robotics)
Team Role: Coach
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Holland, MI
Posts: 116
aeastet is an unknown quantity at this point
Re: Error problems

Where are you at in Michigan? I might be able to help. If not I know other teams all over Michigan. This might be useful for next year.

Tim
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 03:53.

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