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

control_via_keyboard doesn't work #66

Open
Peterxjerk opened this issue Aug 26, 2023 · 3 comments
Open

control_via_keyboard doesn't work #66

Peterxjerk opened this issue Aug 26, 2023 · 3 comments

Comments

@Peterxjerk
Copy link

After entering the command "roslaunch unitree_legged_real keyboard_control.launch", the control loop is running. However, the getchar() function always returns -1 and the key "wsad" cannot change the value of the variable "ch".
control_via_keyboard

@vchint6
Copy link

vchint6 commented Sep 28, 2023

Hello, Even I am facing same problem. did you find any solution?

@Peterxjerk
Copy link
Author

You can ask chatgpt to help you solve this problem or modify your code according to #50 (comment)

@vchint6
Copy link

vchint6 commented Oct 3, 2023

Thank you, now it works!

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

No branches or pull requests

2 participants