Commit 8c1287ab authored by CY Chen's avatar CY Chen Committed by Kelly Guo

Updates keyboard logs in replay_demos.py (#203)

# Description

This PR updates `replay_demos.py` to print info about specific key press
features rather than the info of the keyboard device class.

## 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`
- [ ] I have made corresponding changes to the documentation
- [ ] 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 ffa89092
...@@ -138,7 +138,7 @@ def main(): ...@@ -138,7 +138,7 @@ def main():
teleop_interface = Se3Keyboard(pos_sensitivity=0.1, rot_sensitivity=0.1) teleop_interface = Se3Keyboard(pos_sensitivity=0.1, rot_sensitivity=0.1)
teleop_interface.add_callback("N", play_cb) teleop_interface.add_callback("N", play_cb)
teleop_interface.add_callback("B", pause_cb) teleop_interface.add_callback("B", pause_cb)
print(teleop_interface) print('Press "B" to pause and "N" to resume the replayed actions.')
# Determine if state validation should be conducted # Determine if state validation should be conducted
state_validation_enabled = False state_validation_enabled = False
......
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