-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent gets outside environment and collision=False always (v=0.1.4) #16
Comments
Could you share the configurations you used? |
Hi Zac, here's the config i used:
|
When i removed step_rate=20, collision is working but faced this problem - #7 |
Thanks for sharing! When the step rate is enabled, are collisions always off? Or does the agent only go objects at certain times or places? |
Yes, with step_rate the collisions are always returned off. Initially when agent is not hitting walls and in the environment, it take right steps. If it goes in the corner, then it gets out of the environment. |
Let's double check that colliders are enabled in the simulation. Could you share the output of the following command: >>> from tesse.env import Env
>>> from tesse.msgs import *
>>> print(Env().request(MetadataRequest()).metadata) We expect the output to be like the following, with <TESSE_Agent_Metadata_v0.5>
<position x='5.361372' y='0.4999866' z='-0.3182806'/>
<quaternion x='0' y='0.9816272' z='0' w='-0.1908088'/>
<velocity x_dot='8.147203E-08' y_dot='4.670983E-06' z_dot='-3.785611E-08'/>
<angular_velocity x_ang_dot='0' y_ang_dot='9.039034E-07' z_ang_dot='0'/>
<acceleration x_ddot='-4.079843E-08' y_ddot='6.688271E-06' z_ddot='1.88659E-08'/>
<angular_acceleration x_ang_ddot='0' y_ang_ddot='-1.82603E-06' z_ang_ddot='0'/>
<time>8.171613</time>
<collision status='false' name=''/>
<collider status='true'/>
</TESSE_Agent_Metadata_v0.5> |
I got the following output: <TESSE_Agent_Metadata_v0.5>
<position x='-6.0352' y='0.5000085' z='11.28761'/>
<quaternion x='0' y='0.9366722' z='0' w='0.3502073'/>
<velocity x_dot='0' y_dot='-4.953397E-06' z_dot='0'/>
<angular_velocity x_ang_dot='0' y_ang_dot='0' z_ang_dot='0'/>
<acceleration x_ddot='0' y_ddot='0' z_ddot='0'/>
<angular_acceleration x_ang_ddot='0' y_ang_ddot='0' z_ang_ddot='0'/>
<time>6.145</time>
<collision status='false' name=''/>
<collider status='true'/>
</TESSE_Agent_Metadata_v0.5> |
Ok, it looks like collisions are enabled in the simulator. Would it be possible to share a screenshot of where you see the agent moving through objects? This could help us diagnose the issue on our end. |
Ah, that's helpful. Thanks for sharing! And do you remember in what scene(s) this happened? |
Scene id = 1 |
Got it, thanks for letting us know! We'll take a look to see what's going on. |
Am I loading the configurations incorrectly?
The text was updated successfully, but these errors were encountered: