Improbable-AI / walk-these-ways

Sim-to-real RL training and deployment tools for the Unitree Go1 robot.
https://gmargo11.github.io/walk-these-ways/
Other
488 stars 129 forks source link

When deployed, Go1 still moves despite neutral commands are given #43

Closed breakds closed 11 months ago

breakds commented 12 months ago

Hi Gabe,

I was able to deploy the provided checkpoint on the Go1 EDU. Under neutral commands, i.e. when the 15 individual commands are

cmd_x = 0
cmd_y = 0
cmd_yaw = 0 
cmd_height = 0
cmd_freq = 3.0
# Mode = 1
cmd_phase = 0.5
cmd_offset = 0.0
cmd_bound = 0.0
cmd_duration = 0.5
cmd_footswing = 0.08
cmd_ori_pitch = 0.0
cmd_ori_roll = 0.0
cmd_stance_width = 0.33
cmd_stance_length = 0.4
cmd_aux_reward = 0.0

I expect the robot to stay where it is (with feet lifting and dropping). However there was a positive v_x and nonzero v_y observed so that the robot is actually walking towards front-right. Is this because I misunderstood some of the command above?

Thanks a lot!

gmargo11 commented 11 months ago

Hi @breakds,

Yes, I've noticed the same thing. There are a few ways to fix it; I think many production-quality systems add at least one of these:

-Gabe