Public Member Functions | Public Attributes | List of all members
olfati_saber_flocking::OlfatiSaberFlocking Class Reference

#include <olfati_saber_flocking.h>

Inheritance diagram for olfati_saber_flocking::OlfatiSaberFlocking:
Inheritance graph
[legend]

Public Member Functions

void baseCallback (const nav_msgs::Odometry &lmsg)
 
virtual void init ()
 
 OlfatiSaberFlocking ()
 
void publish_cmd (const ros::TimerEvent &)
 
virtual void start ()
 
virtual void stop ()
 
 ~OlfatiSaberFlocking ()
 
- Public Member Functions inherited from micros_swarm::Application
 Application ()
 
const Baseget_base ()
 
float get_dis ()
 
const int get_id ()
 
void set_base (const Base &robot_base)
 
void set_dis (float neighbor_distance)
 
virtual ~Application ()
 

Public Attributes

int hz
 
double interval
 
ros::Publisher pub
 
ros::Subscriber sub
 
ros::Timer timer
 

Detailed Description

Definition at line 42 of file olfati_saber_flocking.h.

Constructor & Destructor Documentation

olfati_saber_flocking::OlfatiSaberFlocking::OlfatiSaberFlocking ( )

Definition at line 166 of file olfati_saber_flocking.cpp.

olfati_saber_flocking::OlfatiSaberFlocking::~OlfatiSaberFlocking ( )

Definition at line 168 of file olfati_saber_flocking.cpp.

Member Function Documentation

void olfati_saber_flocking::OlfatiSaberFlocking::baseCallback ( const nav_msgs::Odometry &  lmsg)

Definition at line 213 of file olfati_saber_flocking.cpp.

void olfati_saber_flocking::OlfatiSaberFlocking::init ( )
virtual

Implements micros_swarm::Application.

Definition at line 172 of file olfati_saber_flocking.cpp.

void olfati_saber_flocking::OlfatiSaberFlocking::publish_cmd ( const ros::TimerEvent )

Definition at line 179 of file olfati_saber_flocking.cpp.

void olfati_saber_flocking::OlfatiSaberFlocking::start ( )
virtual

Implements micros_swarm::Application.

Definition at line 225 of file olfati_saber_flocking.cpp.

void olfati_saber_flocking::OlfatiSaberFlocking::stop ( )
virtual

Implements micros_swarm::Application.

Definition at line 170 of file olfati_saber_flocking.cpp.

Member Data Documentation

int olfati_saber_flocking::OlfatiSaberFlocking::hz

Definition at line 49 of file olfati_saber_flocking.h.

double olfati_saber_flocking::OlfatiSaberFlocking::interval

Definition at line 50 of file olfati_saber_flocking.h.

ros::Publisher olfati_saber_flocking::OlfatiSaberFlocking::pub

Definition at line 46 of file olfati_saber_flocking.h.

ros::Subscriber olfati_saber_flocking::OlfatiSaberFlocking::sub

Definition at line 47 of file olfati_saber_flocking.h.

ros::Timer olfati_saber_flocking::OlfatiSaberFlocking::timer

Definition at line 45 of file olfati_saber_flocking.h.


The documentation for this class was generated from the following files:


olfati_saber_flocking
Author(s):
autogenerated on Mon Jun 10 2019 14:02:21