Practical visual odometry for small embedded systems