Formatting stuff, calling detector from ros node