The invention relates to the technical field of robots, and discloses a leg structure and a
humanoid robot. A motor template; the hip joint
assembly is mounted on the
thigh bracket and comprises a rotary mounting frame which is in
assembly connection with the motor template; the first end of the hip
linear actuator is rotationally connected with the
thigh support, and the second end of the hip
linear actuator is connected with the hip joint
assembly; the shank support is connected with the lower portion of the
thigh support through a
knee joint assembly; the
knee joint linear actuator is arranged on the thigh support, and the driving end is connected with the
knee joint assembly; the foot support is connected with the lower portion of the shank support through an
ankle joint assembly; the first end of the
ankle linear
actuator is rotationally connected with the shank support, and the second end of the
ankle linear
actuator is rotationally connected with the foot support. According to the
humanoid robot, the corresponding linear actuators are arranged on the thigh support and the shank support, the space on the thigh support and the space on the shank support are fully utilized, the
inertia of the leg structure is reduced, the response speed is high when the leg structure conducts corresponding actions, and the dynamic stability of the
humanoid robot is improved.