make the code compile without roscpp