#include <app1.h>
Public Member Functions | |
App1 () | |
void | baseCallback (const nav_msgs::Odometry &lmsg) |
XY | direction () |
float | force_mag (float dist) |
XY | force_sum (micros_swarm::NeighborBase n, XY &s) |
virtual void | init () |
void | motion () |
void | publish_cmd (const ros::TimerEvent &) |
virtual void | start () |
virtual void | stop () |
~App1 () | |
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 | delta |
int | epsilon |
ros::Publisher | pub |
ros::Subscriber | sub |
ros::Timer | timer |
void app1::App1::baseCallback | ( | const nav_msgs::Odometry & | lmsg | ) |
XY app1::App1::force_sum | ( | micros_swarm::NeighborBase | n, |
XY & | s | ||
) |
|
virtual |
Implements micros_swarm::Application.
void app1::App1::publish_cmd | ( | const ros::TimerEvent & | ) |
|
virtual |
Implements micros_swarm::Application.
|
virtual |
Implements micros_swarm::Application.
ros::Publisher app1::App1::pub |
ros::Subscriber app1::App1::sub |
ros::Timer app1::App1::timer |