Added a ROS parameter to change the resampling frequency