DRCL-USC / Hector_Simulation

Simulation Software (ROS/MATLAB) for HECTOR Humanoid Robot Locomotion Control/Bipedal Locomotion Control/Force-and-moment-based MPC
https://youtu.be/NcW-NFwjMh0
Other
370 stars 115 forks source link

and there is an problem like that when i press the keyborad up and down key,the robot walk will fall down #2

Closed dbdxnuliba closed 10 months ago

dbdxnuliba commented 10 months ago

thanks for your nice work and there is an problem like that when i press the keyborad up and down key,the robot walk will fail image

yiyuc commented 10 months ago

Hi, in src/interface/keyboard.cpp, we defined w and s keys for forward and backward velocity commands. We are checking both from the command interface side and the controller side to fix it.

junhengl commented 10 months ago

Up and down arrow keys shouldn't do anything. I have tested the other keyboard commands, it seems working fine for me. The only problem was the velocity command when using the keyboard was a bit large, please check out the new update. The keyboard control instruction is also updated in the readme file.