Init ros node before getting parameters

Fix a problem where the pip and pport parameters are always set to their
default values when using the parameter server and not command line arguments.