Fix division by zero when running the tutorial experiment #109
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
when running
% python benchmarks/run.py -e randrot_noise_10distinctobj_surf_agent # or % python benchmarks/run_parallel.py -e randrot_noise_10distinctobj_surf_agent
the following run-time errors can be observed:
as these might affect numeric results, an analysis is necessary. This has implications for published benchmarks that were affected.
Analysis
interestingly in the shell context this is a run-time error. Is this somehow (mis-)configured to be ignored?
Fix
Fix
orienting_angle_from_normal
to not be affected by division by zeroResult
> python benchmarks/run.py -e randrot_noise_10distinctobj_surf_agent ... overall/percent_correct 100