Go to Post It's in the RUMOR MILL section, hence it is a RUMOR. Personally I find it entertaining to see what gets started in this particular forum section and have people go off the deep end. - Gary Dillard [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
  #1   Spotlight this post!  
Unread 24-01-2011, 09:28
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Watch Dog stopping robot from working?

Quote:
Originally Posted by MaxMax161 View Post
PWMs were in backwards which was shorting out the digital sidecar.
Wow. No that's not the problem.
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2011, 21:30
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Watch Dog stopping robot from working?

I discovered that the loop timing info is described in the Troubleshooting link on the Getting Started window.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2011, 16:29
xYinx161 xYinx161 is offline
Registered User
FRC #1208
 
Join Date: Jan 2011
Location: O'Fallon
Posts: 1
xYinx161 is an unknown quantity at this point
Re: Watch Dog stopping robot from working?

This is team 1208's time from an elapsed time function. With default code (on the right) the time is 40 miliseconds and with our code (on the left) it is on 90 miliseconds on average. We have also included our teleop.vi. Is this a problem and if so what can we do to fix this.
Attached Thumbnails
Click image for larger version

Name:	Starting_Code.jpg
Views:	19
Size:	106.6 KB
ID:	9844  Click image for larger version

Name:	Current code.jpg
Views:	18
Size:	100.4 KB
ID:	9848  
Attached Files
File Type: vi Teleop.vi (54.8 KB, 15 views)

Last edited by xYinx161 : 27-01-2011 at 17:15.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2011, 17:25
U5ER NAM3's Avatar
U5ER NAM3 U5ER NAM3 is offline
AKA: Big Sexy
FRC #3312 (eaglebots)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Onigum
Posts: 8
U5ER NAM3 is an unknown quantity at this point
Re: Watch Dog stopping robot from working?

i need help on the motor control Set Speed icon but i cant find it so i cant finsh the while loop until i get the Set Speed icon can u help me?
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2011, 22:30
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,833
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: Watch Dog stopping robot from working?

Quote:
Originally Posted by xYinx161 View Post
This is team 1208's time from an elapsed time function. With default code (on the right) the time is 40 miliseconds and with our code (on the left) it is on 90 miliseconds on average. We have also included our teleop.vi. Is this a problem and if so what can we do to fix this.
If it's an average of 90ms, that will be a problem. It's right on the edge of the Safety vi timeout at 100ms and since it's an average nearly half will be beyond the tripping point.
I don't see anything obvious that's slowing you down, although it's easy to isolate the slowdown using Disable structures on the stand-alone blocks of code.

It looks like you are also setting your motors in two different places. Those two conflicting sets will be fighting for control of your robot when the time comes. You need a way to choose one or the other, not both at the same time.

Quote:
Originally Posted by DavidGitz View Post
Since we are pulling the same reference (default "Left and Right Motors") and using Arcade on one mode and Tank on another mode that can be changed back and forth, could this result in the error noted above due to the Arcade/Tank difference?
The Arcade/Tank mixture shouldn't be a problem. They don't remember who was called last and they both reset the Safety vi.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-01-2011 at 22:34.
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 21:14.

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