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