11 #include "vda5050_msgs/AGVPosition.h" 14 int main(
int argc,
char **argv)
21 float goal_x = 16.413757;
22 float goal_y = 19.216549;
32 vda5050_msgs::AGVPosition posMsg;
33 posMsg.x = start_x+(goal_x-start_x)/10*i;
34 posMsg.y = start_y+(goal_y-start_y)/10*i;
36 posMsg.deviationRange = 0.1;
37 posMsg.mapId =
"6d673fe4-8660-4dec-9b06-8d2b6e4ee8d2";
38 posMsg.mapDescription =
"Map Id 6d673fe4-8660-4dec-9b06-8d2b6e4ee8d2";
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
void publish(const boost::shared_ptr< M > &message) const
int main(int argc, char **argv)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
ROSCPP_DECL void spinOnce()