Go to Post Is it really that bad to ask a team to be able to do more than just drive? It's like asking a student to do more than just show up to class... - Katie_UPS [more]
Home
Go Back   Chief Delphi > Technical > Control System
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
  #11   Spotlight this post!  
Unread 13-03-2016, 21:15
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: Alternate viewer for Driver Station Logs (dslog)?

The data you are looking for is in the binary .dslog file. It starts with an I32 version. The current version is 3. Next is a LV timestamp which is sixteen bytes and described on our website if you wanna decode it. The rest of the files is a stream of entries every 20ms -- described below.

The numbers are often packed, and described as I.D(int.dec). For example, 7.1 is 7 bits above decimal and 1 below.

Trip time is a 7.1 int of milliseconds for round trip.
Lost packets is a byte of packets per half second, ranging from 0 to 25. So multiplying by four gives percent loss for the period.
Voltage is 8.8 volts.
CPU is 7.1 as a percentage.


Flags is a byte, with bits for
Robot Disable, Auto, Tele (what the robot reported running)
DS Disable, Auto, Tele (what the DS asked it to do)
Watchdog
Brownout


CAN utilization is 7.1 as a percentage.
Signal Strength is 7.1 as dB (not reported yet)
Bandwidth is 8.8 in megaBits (not logged yet)

PDP data is 24 bytes defined by the PDP.
First byte is an ID of which PDP is being reported.
Then 16 10 bit numbers (7.3) at bit offsets (8, 18, 28, 38, 52, 62, 72, 82, 92, 102, 116, 126, 136, 146, 156, and 166).
Remaining three bytes are resistance, voltage, and temperature with special values for scaling.

Hope that helps.
Greg McKaskle
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


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

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