Go to the documentation of this file.
39 #include "laser_assembler/AssembleScans.h"
42 #include "sensor_msgs/PointCloud.h"
92 ROS_INFO(
"Published Cloud with %u points", (uint32_t)(srv.response.cloud.points.size())) ;
97 ROS_ERROR(
"Error making service call\n") ;
113 int main(
int argc,
char **argv)
115 ros::init(argc, argv,
"periodic_snapshotter");
117 ROS_INFO(
"Waiting for [build_cloud] to be advertised");
119 ROS_INFO(
"Found build_cloud! Starting the snapshotter");
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros::ServiceClient client_
ServiceClient serviceClient(const std::string &service_name, bool persistent=false, const M_string &header_values=M_string())
void publish(const boost::shared_ptr< M > &message) const
Publisher advertise(AdvertiseOptions &ops)
void timerCallback(const ros::TimerEvent &e)
bool call(const MReq &req, MRes &resp, const std::string &service_md5sum)
ROSCPP_DECL bool waitForService(const std::string &service_name, int32_t timeout)
int main(int argc, char **argv)
Timer createTimer(Duration period, const TimerCallback &callback, bool oneshot=false, bool autostart=true) const
laser_assembler
Author(s): Vijay Pradeep
autogenerated on Sat Aug 10 2024 02:10:39