Text this: Legged odometry based on fusion of leg kinematics and IMU information in a humanoid robot