question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inconsistent distance for same moving commands.

See original GitHub issue

I’ve tried the following code and it plots images with different distance to a next door. OS: Windows 10.

for i in range(10):
    env.seed(8)
    env.floor(1)
    obs = env.reset()

    for _ in range(20):
        obs, reward, done, info = env.step([1, 0, 0 ,0])

    plt.figure(figsize=(3,3))
    plt.imshow(obs[0])
    plt.show()

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
awjulianicommented, Feb 1, 2019

Hi @mortido and @seungjaeryanlee

Thanks to both of you for doing this investigation. I have been able to reproduce similar results myself. Especially your recent post @mortido leads me to believe this inconsistency is due to some aspect of the environment not being completely reset on reset. I will look into this and make sure it is resolved before the launch of the contest on Feb 11.

0reactions
awjulianicommented, Feb 11, 2019

Hi all,

We just pushed a new release and binary (v1.1). This includes a fix for resetting the character animator between floors and resets. This should result in much more reproducible behavior between floors. It still won’t be 100% due to inherent indeterminism in the Unity physics, but it is no longer nearly as extreme as shown above, and we believe within an acceptable range.

Thanks again to those who pointed this out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bearing and Distance Inconsistencies - Civil 3D Plus
So, here's the problem, two lines drawn from the same location using the Bearing and Distance transparent command end up with different bearings ......
Read more >
Inconsistent bed distance after homing w/ Marlin 2.0 #11272
Hey all, with the current Version of Marlin 2.0 I am having trouble with inconsistent bed distance after homing in millimeter range.
Read more >
Inconsistent speed animating with linear interpolation
I'm trying to animate objects around my canvas between two calculated points. However, the method I'm using doesn't seem to take into account...
Read more >
Mapping Toolbox 'distance' command inconsistent results with ' ...
I am currently performing some geographical coordinate calculations that use radians as their base units. In trying to leverage the distance command found ......
Read more >
How to Correct Inconsistent Golf Drives
It would be nice to draw and cut the ball on command as you move around the course, but doing so requires a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found