Changed so that left wall is 1 and right wall is -1 (like rotation direction) in motor controller