19 #if ROS_VERSION_MINIMUM(1,14,0) // melodic 28 int main(
int argc,
char **argv)
30 ros::init (argc, argv,
"collision_monitor_node");
34 #if ROS_VERSION_MINIMUM(1,14,0) // melodic 42 double state_update_frequency;
43 if(nh.
getParam(
"state_update_frequency", state_update_frequency))
44 psm->setStateUpdateFrequency(state_update_frequency);
46 if(nh.
param(
"start_scene_monitor",
true))
47 psm->startSceneMonitor();
48 if(nh.
param(
"start_world_geometry_monitor",
true))
49 psm->startWorldGeometryMonitor();
50 psm->startStateMonitor();
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL void spin(Spinner &spinner)
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
bool getParam(const std::string &key, std::string &s) const
int main(int argc, char **argv)