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
4d017bcb
Commit
4d017bcb
authored
3 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
pduRecorder.setVerbose(true) and related methods now available
parent
175944c0
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
examples/src/OpenDis7Examples/ExampleSimulationProgram.java
+2
-2
2 additions, 2 deletions
examples/src/OpenDis7Examples/ExampleSimulationProgram.java
with
2 additions
and
2 deletions
examples/src/OpenDis7Examples/ExampleSimulationProgram.java
+
2
−
2
View file @
4d017bcb
...
@@ -72,7 +72,7 @@ public class ExampleSimulationProgram
...
@@ -72,7 +72,7 @@ public class ExampleSimulationProgram
entityStatePdu_2
.
setForceId
(
ForceID
.
OPPOSING
);
entityStatePdu_2
.
setForceId
(
ForceID
.
OPPOSING
);
FirePdu
firePdu_1a
=
pduFactory
.
makeFirePdu
();
// for entity 1 first weapon (if any)
FirePdu
firePdu_1a
=
pduFactory
.
makeFirePdu
();
// for entity 1 first weapon (if any)
FirePdu
firePdu_1b
=
pduFactory
.
makeFirePdu
();
// for entity 1 second weapon (if any)
//
FirePdu firePdu_1b = pduFactory.makeFirePdu(); // for entity 1 second weapon (if any)
// should we customize this munition? what is it for your simulation?
// should we customize this munition? what is it for your simulation?
// TODO simulation management PDUs for startup, planning to design special class support
// TODO simulation management PDUs for startup, planning to design special class support
...
@@ -250,7 +250,7 @@ public class ExampleSimulationProgram
...
@@ -250,7 +250,7 @@ public class ExampleSimulationProgram
System
.
out
.
println
(
"Beginning pdu save to directory "
+
outputDirectory
);
System
.
out
.
println
(
"Beginning pdu save to directory "
+
outputDirectory
);
pduRecorder
=
new
PduRecorder
(
outputDirectory
,
getNetworkAddress
(),
getNetworkPort
());
// assumes save
pduRecorder
=
new
PduRecorder
(
outputDirectory
,
getNetworkAddress
(),
getNetworkPort
());
// assumes save
pduRecorder
.
setDescriptor
(
"ExampleSimulationProgram pduRecorder"
);
pduRecorder
.
setDescriptor
(
"ExampleSimulationProgram pduRecorder"
);
//
pduRecorder.setVerbose(true);
// TODO
pduRecorder
.
setVerbose
(
true
);
pduRecorder
.
start
();
// begin running
pduRecorder
.
start
();
// begin running
}
}
...
...
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