ok cool
Added platform position sensing code