Go to Post While in the Navy, we had an apparent leak in one of our systems and it took me 7 months to track it down. Just because you haven't found it, doesn't mean it doesn't exist. - TubaMorg [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 22-01-2015, 22:06
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Extracting Current Logs

In the lead up to beta testing, I recall a lot of talk about both the current monitoring and logging on the PDP. Currently we're struggling to find any way/documentation of how to access these logs. We understand how to read the current in real time in code, but we want to access the rumoroud logging. Does anyone have any insight into how we can get to past PDP logs?
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2015, 22:36
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,751
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: Extracting Current Logs

They are located in C:\Users\Public\Documents\FRC\Log Files and have the extension .pdplog.

But the log file viewer that shows other things such as battery voltage, CPU usage, and the like has not been modified to show them yet. I believe that CTR has a parser that shows them in table form, but there is still some work to do there.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2015, 05:34
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Extracting Current Logs

in that folder we can only find .dslog and .dsevent, is there something we need to do to enable the PDP logging?
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
Reply With Quote
  #4   Spotlight this post!  
Unread 23-01-2015, 05:52
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,751
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: Extracting Current Logs

If you are using the 2015 DS, a roboRIO, a PDP with the latest firmware, with CAN connected between them, you should receive the files when the robot is disabled following an enabled period.

Does that help identify why they aren't produced?

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 23-01-2015, 05:53
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Extracting Current Logs

We haven't done anything to the firmware on the PDP, so that may be why we're not getting the logs. Other than that, we've got everything else hooked up and configured.
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
Reply With Quote
  #6   Spotlight this post!  
Unread 23-01-2015, 05:55
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,751
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: Extracting Current Logs

Please use the roboRIO web page to verify the version and update the FW of the PDP. I believe it will start working at that point.

Any particular visualization you were hoping to see for the currents other than plots over time?

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 23-01-2015, 06:44
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Extracting Current Logs

Yup, we'll do that first thing tomorrow.

Plots over time, integrated with voltage and the rest of the DS logs would be good. I think a cool visualisation would be percentage current draw (of total) or a running total energy used (this may be a bit crude/inaccurate). How useful would they be? I'm not as sure.
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
Reply With Quote
  #8   Spotlight this post!  
Unread 23-02-2015, 08:26
thrashercharged thrashercharged is offline
Registered User
FRC #3940 (Cybertooth)
 
Join Date: Jan 2014
Rookie Year: 2009
Location: Kokomo IN
Posts: 8
thrashercharged is an unknown quantity at this point
Re: Extracting Current Logs

Sorry to bring up an old thread but is there a log view available to read the .pdplog files yet? We update our PDP firmware and we're getting the .pdplog files now, but couldn't find anything to read it?
Reply With Quote
  #9   Spotlight this post!  
Unread 03-03-2015, 14:25
adamm adamm is offline
Registered User
AKA: Michael Adam
FRC #1671 (The Bird Brains)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2002
Location: Fresno, CA
Posts: 29
adamm is just really niceadamm is just really niceadamm is just really niceadamm is just really niceadamm is just really nice
Re: Extracting Current Logs

Quote:
Originally Posted by thrashercharged View Post
Sorry to bring up an old thread but is there a log view available to read the .pdplog files yet? We update our PDP firmware and we're getting the .pdplog files now, but couldn't find anything to read it?
I think that FIRST is testing this internally right now... They want to make sure it works as expected before giving it to teams.
__________________
Michael Adam
Director, Central Valley Robotics

FLL and FLL Jr. Affiliate Partner, Central California (2009-Present)
Member, Central Valley Regional Planning Committee (2012-Present)
Volunteer of the Year, Central Valley Regional (2015)
FRC Control System Advisor (2013-Present)
FRC Scorekeeper (2015-Present)
Mentor, Team 1671 (2009-Present)
Member, Team 1671 (2005-2009)

Last edited by adamm : 03-03-2015 at 14:36.
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 22:49.

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