Revision dd5d7f53
Converted back to msgs, before pushing to roboclub VCS
buggysim/tutorials/draw_square.cpp | ||
---|---|---|
1 | 1 |
#include <boost/bind.hpp> |
2 | 2 |
#include <ros/ros.h> |
3 |
#include <turtlesim/Pose.h>
|
|
4 |
#include <turtlesim/Velocity.h>
|
|
3 |
#include <buggymsgs/Pose.h>
|
|
4 |
#include <buggymsgs/Velocity.h>
|
|
5 | 5 |
#include <std_srvs/Empty.h> |
6 | 6 |
|
7 | 7 |
turtlesim::PoseConstPtr g_pose; |
... | ... | |
20 | 20 |
|
21 | 21 |
#define PI 3.141592 |
22 | 22 |
|
23 |
void poseCallback(const turtlesim::PoseConstPtr& pose)
|
|
23 |
void poseCallback(const buggymsgs::PoseConstPtr& pose)
|
|
24 | 24 |
{ |
25 | 25 |
g_pose = pose; |
26 | 26 |
} |
Also available in: Unified diff