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.

set_physics_state and teleport functions only set location (develop branch)

See original GitHub issue

Note: I’m working on the develop branch.

For some reason, only location seems to be getting set correctly when using the set_state function. I’m using the UAV agent.

The other state values (rotation, velocity, and angular velocity) don’t seem to be affected at all when calling the function. I’ve stepped through the code and it seems that the state values are carried all the way down to HolodeckEnvironment.tick(), but only the LocationSensor (index 9 in _sensor_map) is returned from self._get_full_state() with a correctly modified value.

I get the same behavior when using teleport as well. Also, are both the RotationSensor and OrientationSensor working correctly for the UAV?


Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

nickwaltoncommented, Mar 18, 2019

Hey sorry I didn’t get it done before I left on my cruise but I’ll work to try it done right away now that I’m back

On Thu, Mar 14, 2019, 5:07 PM sethmnielsen wrote:

@nickwalton any updates on this issue?

I noticed that on master, teleport does correctly set the orientation. However, on either the BoatAgent or develop branches, teleport is broken and has no effect on the agent’s orientation (but location is set just fine).

Also, somewhat related to this - is there any way the UAV agent can be given a RotationSensor? It would be really convenient to know the drone’s yaw, pitch and roll. Adding the sensor to Holodeck’s config.json only creates another field in state that always reads [0, 0, 0].

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread .

mattpow35commented, Nov 18, 2020

Added tests #436

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Teleport Schrödinger's Cat - YouTube
Support me on Patreon: video on No Cloning: to teleport ...
Read more >
Teleportation Physics Study - Government Secrecy
Chapter 2 proposes two quasi-classical physics concepts for teleportation: the first is based on engineering the spacetime metric to induce a traversable ...
Read more >
What's New | Babylon.js Documentation
Added property useMaxLine to GridMaterial , which affects the brightness of line intersections. · Added an OcclusionMaterial to simplify depth-only rendering of ...
Read more >
Teleportation is possible, it just depends on scale
Scientists call this teleportation in the sense that a particle with a particular set of properties disappears at one location and one with ......
Read more >
Is teleportation possible? Yes, in the quantum world | NSF
It's the command issued when a character wishes to teleport from a remote location back to the Starship Enterprise. While human teleportation ......
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 Post

No results found

github_iconTop Related Hashnode Post

No results found