Bin files being created despite output_type of summary
Opened this issue · 4 comments
Answer the following questions:
-
What are you trying to do?
Run SCRIMMAGE without generating.bin
output files. -
What is the problem and how can it be recreated?
Recreation steps, verified on two systems, both running Ubuntu 18.04:
- Modify
missions/straight-no-gui.xml
to haveoutput_type
ofsummary
, as below:
<output_type>summary</output_type>
- Run
$ source ~/.scrimmage/setup.bash && scrimmage missions/straight-no-gui.xml
and verify that the command line output looks correct for running this mission; it looked fine for me.
-
Check that run's results directory (while I did use
~/.scrimmage/logs/latest
, I made sure to verify that the timestamp of the results directory was indeed for the run in question) -
Results directory is filled with the following:
contact_visual.bin
frames.bin
log.txt
mission.orig.xml
mission.xml
runtime_seconds.txt
shapes.bin
summary.csv
utm_terrain.bin
Unfortunately, .bin
files are still being generated even when I choose an output_type
that shouldn't let them be saved. This problem even persists if I delete the <terrain>
line in the mission file (my sanity check to ensure SCRIMMAGE has absolutely no reason to save any terrain-related .bin
files).
-
What scrimmage commit are you on? You can see this with
git rev-parse HEAD
f9cd355 -
Describe any changes you made to scrimmage.
- Modifications to
missions/straight-no-gui.xml
(see above) - SCRIMMAGE was compiled with gRPC enabled and with Python bindings for Python3.6
- Modifications to
-
If you can recreate the issue using only plugins in the scrimmage repository, what mission file are you running?
straight-no-gui.xml
, modified as above
I may take a look at MissionParse and other code that interacts with it to see if I can figure out why these .bin
files are still getting created, though if you get a chance to take a look into this, @SyllogismRXS, I would appreciate it--you probably know much more readily where to start looking to fix this! :) Please let me know if I can provide any more info for debugging. Thank you!
EDITED (5/4/2020 14:58) to reflect that <output_type>nothing</output_type>
is not a valid output_type
, but summary
is still valid
Oops, I just noticed that for outputting nothing, the output_type
line should be
<output_type></output_type>
The above line means that no log directory is created at all. I'll edit my earlier comment (and issue title, if I can do that) to reflect this. I'd still like to figure out why .bin
files are being created when I'm not asking SCRIMMAGE to output frames
or all
, though. Thanks!
@laurathepluralized cleaning up issues in scrimmage. Is this still one?
I have not had time to look at this. If this is still a priority, please let me know.