first step of detections in there (showing sensor location wrongly)
fix some compiler warnings