Call ros::init() before creating the first NodeHandle.