1. A method comprising: acquiring image data of a space about which a walking robot walks and rotational angle data of rotary joints relating to walking of the walking robot; calculating, by a computer, odometry data using kinematic data of respective links constituting the walking robot and the rotational angle data; and localizing the walking robot and mapping the space about which the walking robot walks using the image data and the odometry data.