changed some parameters for wall detection