#include <app3.h>
Public Member Functions | |
App3 () | |
void | baseCallback (const nav_msgs::Odometry &lmsg) |
virtual void | init () |
void | publish_cmd (const ros::TimerEvent &) |
virtual void | start () |
virtual void | stop () |
~App3 () | |
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 |
void app3::App3::baseCallback | ( | const nav_msgs::Odometry & | lmsg | ) |
|
virtual |
Implements micros_swarm::Application.
void app3::App3::publish_cmd | ( | const ros::TimerEvent & | ) |
|
virtual |
Implements micros_swarm::Application.
|
virtual |
Implements micros_swarm::Application.
ros::Publisher app3::App3::pub |
ros::Subscriber app3::App3::sub |
ros::Timer app3::App3::timer |