00001 #ifndef FAKE_TRACKING_H 00002 #define FAKE_TRACKING_H 00003 00004 #include <nav_msgs/Odometry.h> 00005 #include <dynamic_obs_msgs/DynamicObstacles.h> 00006 #include <ros/ros.h> 00007 00008 using namespace std; 00009 using namespace ros; 00010 00011 class FakeTracking{ 00012 public: 00013 FakeTracking(); 00014 void dynamicObstacleCallback1(const nav_msgs::OdometryConstPtr& msg); 00015 void dynamicObstacleCallback2(const nav_msgs::OdometryConstPtr& msg); 00016 void dynamicObstacleCallback3(const nav_msgs::OdometryConstPtr& msg); 00017 void dynamicObstacleCallback4(const nav_msgs::OdometryConstPtr& msg); 00018 //void initCallback(roslib::Time& t){ 00019 private: 00020 ros::Publisher dynObs_pub; 00021 ros::Subscriber dynObs1_sub; 00022 ros::Subscriber dynObs2_sub; 00023 ros::Subscriber dynObs3_sub; 00024 ros::Subscriber dynObs4_sub; 00025 ros::NodeHandle n; 00026 dynamic_obs_msgs::DynamicObstacles d; 00027 }; 00028 00029 #endif 00030