#include <olfati_saber_flocking.h>
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 Base & | get_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 |
Definition at line 42 of file olfati_saber_flocking.h.
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.
void olfati_saber_flocking::OlfatiSaberFlocking::baseCallback | ( | const nav_msgs::Odometry & | lmsg | ) |
Definition at line 213 of file olfati_saber_flocking.cpp.
|
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.
|
virtual |
Implements micros_swarm::Application.
Definition at line 225 of file olfati_saber_flocking.cpp.
|
virtual |
Implements micros_swarm::Application.
Definition at line 170 of file olfati_saber_flocking.cpp.
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.