One of the basic assumptions in the static gait design for a walking robot is that the weight of leg should be negligible compared to that of body, so that the total gravity center is not affected by swing of a leg. Based on the ideal assumption of zero leg-weight, conventional static gait has been simply designed for the gravity center of body to be inside the support polygon, consisting of each support leg's tip position. In case that the weight of leg is relatively heavy, however, while the gravity center of body is kept inside the support polygon, the total gravity center of walking robot can be out of the polygon due to weight of a swinging leg, which causes instability in walking. Thus, it is necessary in the static gait design of a real robot a compensation scheme for the fluctuation in the gravity center. In this paper, a body impedance control is proposed to obtain the total gravity center based on foot forces measured from load cells of a real walking robot and to adjust its position to track the pre-designed trajectory of the corresponding ideal robot's body center. Therefore, the walking stability is secured even in case that the weight of leg has serious influence on the total gravity center of robot.