Open Peterxjerk opened 1 year ago
Hello, Even I am facing same problem. did you find any solution?
You can ask chatgpt to help you solve this problem or modify your code according to https://github.com/unitreerobotics/unitree_ros_to_real/issues/50#issuecomment-1369425998
Thank you, now it works!
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".