Rugged inductive sensor detects position of forklift forks when opening container lid