Public Member Functions | Public Attributes | List of all members
gazebo_flocking::GazeboFlocking Class Reference

#include <gazebo_flocking.h>

Inheritance diagram for gazebo_flocking::GazeboFlocking:
Inheritance graph
[legend]

Public Member Functions

void baseCallback (const nav_msgs::Odometry &lmsg)
 
 GazeboFlocking ()
 
virtual void init ()
 
void publish_cmd (const ros::TimerEvent &)
 
virtual void start ()
 
virtual void stop ()
 
 ~GazeboFlocking ()
 
- 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 gazebo_flocking.h.

Constructor & Destructor Documentation

gazebo_flocking::GazeboFlocking::GazeboFlocking ( )

Definition at line 172 of file gazebo_flocking.cpp.

gazebo_flocking::GazeboFlocking::~GazeboFlocking ( )

Definition at line 174 of file gazebo_flocking.cpp.

Member Function Documentation

void gazebo_flocking::GazeboFlocking::baseCallback ( const nav_msgs::Odometry &  lmsg)

Definition at line 313 of file gazebo_flocking.cpp.

void gazebo_flocking::GazeboFlocking::init ( )
virtual

Implements micros_swarm::Application.

Definition at line 178 of file gazebo_flocking.cpp.

void gazebo_flocking::GazeboFlocking::publish_cmd ( const ros::TimerEvent )

Definition at line 196 of file gazebo_flocking.cpp.

void gazebo_flocking::GazeboFlocking::start ( )
virtual

Implements micros_swarm::Application.

Definition at line 325 of file gazebo_flocking.cpp.

void gazebo_flocking::GazeboFlocking::stop ( )
virtual

Implements micros_swarm::Application.

Definition at line 176 of file gazebo_flocking.cpp.

Member Data Documentation

int gazebo_flocking::GazeboFlocking::hz

Definition at line 49 of file gazebo_flocking.h.

double gazebo_flocking::GazeboFlocking::interval

Definition at line 50 of file gazebo_flocking.h.

ros::Publisher gazebo_flocking::GazeboFlocking::pub

Definition at line 46 of file gazebo_flocking.h.

ros::Subscriber gazebo_flocking::GazeboFlocking::sub

Definition at line 47 of file gazebo_flocking.h.

ros::Timer gazebo_flocking::GazeboFlocking::timer

Definition at line 45 of file gazebo_flocking.h.


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


gazebo_flocking
Author(s):
autogenerated on Mon Jun 10 2019 14:02:17