Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
5537348e
Commit
5537348e
authored
3 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
test log, binary format still not supported
parent
954bad60
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java
+8
-2
8 additions, 2 deletions
src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java
with
8 additions
and
2 deletions
src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java
+
8
−
2
View file @
5537348e
...
...
@@ -149,6 +149,8 @@ public class PduPlayer {
pduLogEncoding
=
PduRecorder
.
ENCODING_PLAINTEXT
;
else
pduLogEncoding
=
PduRecorder
.
ENCODING_BINARY
;
System
.
out
.
flush
();
System
.
err
.
flush
();
System
.
out
.
println
(
"Replaying PDU log file with "
+
pduLogEncoding
+
": "
+
f
.
getAbsolutePath
());
for
(
String
line
:
lines
)
...
...
@@ -215,6 +217,10 @@ public class PduPlayer {
// get timestamp pduTimeBytes, i.e. 8 bytes represented by a Java long
switch
(
pduLogEncoding
)
{
case
PduRecorder
.
ENCODING_BINARY
:
// TODO
break
;
case
PduRecorder
.
ENCODING_BASE64
:
// no longer computed separately in BASE64, one single block is decompressed instead of two
// pduTimeBytes = base64Decoder.decode(sa[0]);
...
...
@@ -382,8 +388,8 @@ public class PduPlayer {
//create X3D components - methods will create console output
if
(
netSend
)
{
x3dInterpolators
.
makeX3dInterpolator
();
x3dLineSet
.
makeX3dLineSet
();
//
x3dInterpolators.makeX3dInterpolator();
//
x3dLineSet.makeX3dLineSet();
}
}
if
(
rawListener
!=
null
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment