Skip to content
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

Added support for Xbox 360 controller based tele-operation in tutorials. #130

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

dosssman
Copy link
Contributor

@dosssman dosssman commented Feb 1, 2024

Hello @vikashplus

Here is the PR that adds tele-operation based on the Xbox 360 controller added to vtils recently (thanks for the merge).

The tele-operation assumes the camera is facing the robot and the table when tele-operating to collect data for example.
I have followed the poll_keybaord function while adaption to sensor data from the Gamepad class.
One original addition is the use of the controller's X button to slow down the movement of the gripper arm for finer grained tele-operation.

I tested it with:

python robohive/tutorials/ee_teleop.py --input_device gamepad --horizon 5000

Hope this helps.
Best regards.

Copy link
Owner

@vikashplus vikashplus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dosssman -- Thanks for your contributions.

@vikashplus vikashplus merged commit 777edf3 into vikashplus:dev Mar 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants