Commit 3d3f34c7 authored by jaczhangnv's avatar jaczhangnv Committed by Kelly Guo

Improves teleop performance towards to 45 FPS (#277)

# Description

This MR improves the teleoperation performance to 45 FPS.

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
parent 7de6d6fe
...@@ -199,7 +199,7 @@ def main(): ...@@ -199,7 +199,7 @@ def main():
current_recorded_demo_count = 0 current_recorded_demo_count = 0
success_step_count = 0 success_step_count = 0
with contextlib.suppress(KeyboardInterrupt) and torch.inference_mode(): with contextlib.suppress(KeyboardInterrupt) and torch.inference_mode():
while True: while simulation_app.is_running():
# get keyboard command # get keyboard command
delta_pose, gripper_command = teleop_interface.advance() delta_pose, gripper_command = teleop_interface.advance()
# convert to torch # convert to torch
......
...@@ -184,7 +184,7 @@ class StackEnvCfg(ManagerBasedRLEnvCfg): ...@@ -184,7 +184,7 @@ class StackEnvCfg(ManagerBasedRLEnvCfg):
self.episode_length_s = 30.0 self.episode_length_s = 30.0
# simulation settings # simulation settings
self.sim.dt = 0.01 # 100Hz self.sim.dt = 0.01 # 100Hz
self.sim.render_interval = self.decimation self.sim.render_interval = 2
self.sim.physx.bounce_threshold_velocity = 0.2 self.sim.physx.bounce_threshold_velocity = 0.2
self.sim.physx.bounce_threshold_velocity = 0.01 self.sim.physx.bounce_threshold_velocity = 0.01
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment