Public Member Functions | Public Attributes | List of all members
app3::App3 Class Reference

#include <app3.h>

Inheritance diagram for app3::App3:
Inheritance graph
[legend]

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 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 app3.h.

Constructor & Destructor Documentation

app3::App3::App3 ( )

Definition at line 166 of file app3.cpp.

app3::App3::~App3 ( )

Definition at line 168 of file app3.cpp.

Member Function Documentation

void app3::App3::baseCallback ( const nav_msgs::Odometry &  lmsg)

Definition at line 215 of file app3.cpp.

void app3::App3::init ( )
virtual

Implements micros_swarm::Application.

Definition at line 172 of file app3.cpp.

void app3::App3::publish_cmd ( const ros::TimerEvent )

Definition at line 179 of file app3.cpp.

void app3::App3::start ( )
virtual

Implements micros_swarm::Application.

Definition at line 227 of file app3.cpp.

void app3::App3::stop ( )
virtual

Implements micros_swarm::Application.

Definition at line 170 of file app3.cpp.

Member Data Documentation

int app3::App3::hz

Definition at line 49 of file app3.h.

double app3::App3::interval

Definition at line 50 of file app3.h.

ros::Publisher app3::App3::pub

Definition at line 46 of file app3.h.

ros::Subscriber app3::App3::sub

Definition at line 47 of file app3.h.

ros::Timer app3::App3::timer

Definition at line 45 of file app3.h.


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


app3
Author(s):
autogenerated on Mon Jun 10 2019 14:02:15