Go to Post I'm sure you can come up with something, with a bit of warped thought! ... and if not, warped thinking is what your team's Engineers are for! :) - kmcclary [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 27-03-2012, 18:01
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,512
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Vision Processing and Periodic Tasks stops working

We are having an intermittent issue that is increasing in frequency.

What we are seeing is that when we are running the code from our laptop (i530 quad core, lots of memory, nothing other than labview running, CPU not maxed out) using our classmate as the driver station (basic dashboard with no modifications), our vision processing .vi and periodic tasks .vi will stop functioning, and probing of either will result in the probe showing 'not executed'.

Our code normally runs at about 70% CPU utilization until the fire button is pressed, then the vision runs and the cpu jumps to 100% until the trigger is released.

Each of our periodic tasks has a wait in it, with no weight shorter than 20 ms.

Why would periodic / vision processing stop executing? Is there some built in safety that shuts them off? This does not happen that we've seen with a permanent deploy to the robot.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-03-2012, 18:34
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,748
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: Vision Processing and Periodic Tasks stops working

About an hour ago I filed a bug report that demonstrated probes not working when run on the RT target. It is a particular team's periodic tasks. I have never seen this before, and I don't have details yet as to what contributes to the bug. Before you believe that your code isn't running, place an indicator or a global in the loop and verify.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 27-03-2012, 23:51
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Vision Processing and Periodic Tasks stops working

Quote:
Originally Posted by Greg McKaskle View Post
About an hour ago I filed a bug report that demonstrated probes not working when run on the RT target. It is a particular team's periodic tasks. I have never seen this before, and I don't have details yet as to what contributes to the bug. Before you believe that your code isn't running, place an indicator or a global in the loop and verify.

Greg McKaskle
I'll add to this.

It seems like probes won't work unless the parts of the code are probed before running/temporarily deploying the code. I think this has been a bug for some time, but I saw it as just a limitation of the system.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #4   Spotlight this post!  
Unread 28-03-2012, 01:44
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,512
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Vision Processing and Periodic Tasks stops working

I can verify that the tasks are no longer running, because the targetting information no longer gets passed to the turret. I.e. - we lose turret tracking and our velocity PID control when periodic tasks and the vision .vi stop executing.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-03-2012, 01:52
androb4's Avatar
androb4 androb4 is offline
..is trying to take this year off.
AKA: Andrew A.
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Houston, TX
Posts: 220
androb4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to behold
Re: Vision Processing and Periodic Tasks stops working

Quote:
Originally Posted by Tom Line View Post
I can verify that the tasks are no longer running, because the targetting information no longer gets passed to the turret. I.e. - we lose turret tracking and our velocity PID control when periodic tasks and the vision .vi stop executing.
The same exact thing happend to us today!

What's going on!?!!?! The world is going to end!!
__________________
FRC 441 Mentor 2012-2015
FRC 441 Alumni 2009-2012
FTC 4673 Alumni 2011-2012
FRC 1484 Alumni 2006-2008

Reply With Quote
  #6   Spotlight this post!  
Unread 28-03-2012, 07:42
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,748
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: Vision Processing and Periodic Tasks stops working

Probes should not need to be added to the VI before running in order to work, and that didn't impact the issue in the bug report I filed. It appeared that the node identifier used to describe where the probe or breakpoint was added didn't match where the compiled code's offsets were. As I said, I've never seen this before and it currently seems to be RT specific. I'll know more in a few days. In the meantime, probes in most VIs work fine. If they claim not to be updated, that could be a false statement. I also saw issues with breakpoints not working.

I'll be happy to try and reproduce and explain what is going on with the code that is no longer running, but I'll need something to reproduce it. I asked Tom for his code. If you also have a repeatable case, either go through support or PM me.

Greg McKaskle
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 08:36.

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