Main Page
Namespaces
Classes
Files
File List
File Members
include
olfati_saber_flocking
olfati_saber_flocking.h
Go to the documentation of this file.
1
23
#ifndef OLFATI_SABER_FLOCKING_H_
24
#define OLFATI_SABER_FLOCKING_H_
25
26
#include <string>
27
#include <list>
28
#include <vector>
29
#include <iostream>
30
#include <utility>
31
#include <cmath>
32
#include <ctime>
33
34
#include <std_msgs/String.h>
35
#include <nav_msgs/Odometry.h>
36
#include <geometry_msgs/Twist.h>
37
38
#include "
micros_swarm/micros_swarm.h
"
39
40
namespace
olfati_saber_flocking
{
41
42
class
OlfatiSaberFlocking
:
public
micros_swarm::Application
43
{
44
public
:
45
ros::Timer
timer
;
46
ros::Publisher
pub
;
47
ros::Subscriber
sub
;
48
49
int
hz
;
50
double
interval
;
51
52
OlfatiSaberFlocking
();
53
~OlfatiSaberFlocking
();
54
virtual
void
init
();
55
virtual
void
start
();
56
virtual
void
stop
();
57
58
//app functions
59
void
publish_cmd
(
const
ros::TimerEvent
&);
60
void
baseCallback
(
const
nav_msgs::Odometry& lmsg);
61
};
62
};
63
64
#endif
olfati_saber_flocking::OlfatiSaberFlocking::init
virtual void init()
Definition:
olfati_saber_flocking.cpp:172
olfati_saber_flocking::OlfatiSaberFlocking::hz
int hz
Definition:
olfati_saber_flocking.h:49
olfati_saber_flocking::OlfatiSaberFlocking::publish_cmd
void publish_cmd(const ros::TimerEvent &)
Definition:
olfati_saber_flocking.cpp:179
olfati_saber_flocking::OlfatiSaberFlocking::start
virtual void start()
Definition:
olfati_saber_flocking.cpp:225
olfati_saber_flocking::OlfatiSaberFlocking::pub
ros::Publisher pub
Definition:
olfati_saber_flocking.h:46
olfati_saber_flocking::OlfatiSaberFlocking::timer
ros::Timer timer
Definition:
olfati_saber_flocking.h:45
olfati_saber_flocking::OlfatiSaberFlocking
Definition:
olfati_saber_flocking.h:42
olfati_saber_flocking
Definition:
olfati_saber_flocking.h:40
ros::Subscriber
micros_swarm.h
olfati_saber_flocking::OlfatiSaberFlocking::~OlfatiSaberFlocking
~OlfatiSaberFlocking()
Definition:
olfati_saber_flocking.cpp:168
micros_swarm::Application
olfati_saber_flocking::OlfatiSaberFlocking::OlfatiSaberFlocking
OlfatiSaberFlocking()
Definition:
olfati_saber_flocking.cpp:166
olfati_saber_flocking::OlfatiSaberFlocking::sub
ros::Subscriber sub
Definition:
olfati_saber_flocking.h:47
olfati_saber_flocking::OlfatiSaberFlocking::stop
virtual void stop()
Definition:
olfati_saber_flocking.cpp:170
olfati_saber_flocking::OlfatiSaberFlocking::interval
double interval
Definition:
olfati_saber_flocking.h:50
ros::Publisher
ros::Timer
ros::TimerEvent
olfati_saber_flocking::OlfatiSaberFlocking::baseCallback
void baseCallback(const nav_msgs::Odometry &lmsg)
Definition:
olfati_saber_flocking.cpp:213
olfati_saber_flocking
Author(s):
autogenerated on Mon Jun 10 2019 14:02:21