testvstig.h
Go to the documentation of this file.
00001 
00023 #ifndef TESTVSTIG_H_
00024 #define TESTVSTIG_H_
00025 
00026 #include "std_msgs/String.h"
00027 #include "std_msgs/Int32.h"
00028 #include "nav_msgs/Odometry.h"
00029 #include "geometry_msgs/Twist.h"
00030 
00031 #include "micros_swarm/micros_swarm.h"
00032 #include "micros_swarm/random.h"
00033 
00034 namespace testvstig{
00035     
00036     class TestVstig : public micros_swarm::Application
00037     {
00038         public:
00039             ros::Timer timer;
00040             ros::Publisher pub;
00041             ros::Subscriber sub;
00042             
00043             micros_swarm::VirtualStigmergy<std_msgs::Int32> vs;
00044             void loop_puts(const ros::TimerEvent&);
00045             void loop_gets(const ros::TimerEvent&);
00046             void loop_put(const ros::TimerEvent&);
00047             void loop_get(const ros::TimerEvent&);
00048 
00049             void not_loop_put(const ros::TimerEvent&);
00050             void not_loop_get(const ros::TimerEvent&);
00051 
00052             void baseCallback(const nav_msgs::Odometry& lmsg);
00053 
00054         TestVstig();
00055             ~TestVstig();
00056             virtual void init();
00057             virtual void start();
00058             virtual void stop();
00059     };
00060 };
00061 
00062 #endif


testvstig
Author(s):
autogenerated on Thu Jun 6 2019 18:52:46