#include <gazebo_flocking.h>
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 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 gazebo_flocking.h.
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.
void gazebo_flocking::GazeboFlocking::baseCallback | ( | const nav_msgs::Odometry & | lmsg | ) |
Definition at line 313 of file gazebo_flocking.cpp.
|
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.
|
virtual |
Implements micros_swarm::Application.
Definition at line 325 of file gazebo_flocking.cpp.
|
virtual |
Implements micros_swarm::Application.
Definition at line 176 of file gazebo_flocking.cpp.
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.