Main Page
Namespaces
Classes
Files
File List
File Members
include
testscdspso
testscdspso.h
Go to the documentation of this file.
1
23
#ifndef TESTSCDSPSO_H_
24
#define TESTSCDSPSO_H_
25
26
#include "std_msgs/String.h"
27
#include "nav_msgs/Odometry.h"
28
#include "geometry_msgs/Twist.h"
29
30
#include "
micros_swarm/scds_pso.h
"
31
#include "
micros_swarm/micros_swarm.h
"
32
33
namespace
testscdspso
{
34
35
class
TestSCDSPSO
:
public
micros_swarm::Application
36
{
37
public
:
38
ros::Timer
timer
;
39
ros::Publisher
pub
;
40
ros::Subscriber
sub
;
41
42
micros_swarm::Agent
agent
;
43
micros_swarm::SCDSPSOTuple
tuple
;
44
void
loop
(
const
ros::TimerEvent
&);
45
void
baseCallback
(
const
nav_msgs::Odometry& lmsg);
46
47
float
fitness
(
const
std::vector<float>& vec);
48
49
TestSCDSPSO
();
50
~TestSCDSPSO
();
51
virtual
void
init
();
52
virtual
void
start
();
53
virtual
void
stop
();
54
};
55
};
56
57
#endif
testscdspso::TestSCDSPSO::stop
virtual void stop()
Definition:
testscdspso.cpp:38
testscdspso::TestSCDSPSO::baseCallback
void baseCallback(const nav_msgs::Odometry &lmsg)
Definition:
testscdspso.cpp:53
testscdspso::TestSCDSPSO::TestSCDSPSO
TestSCDSPSO()
Definition:
testscdspso.cpp:32
testscdspso::TestSCDSPSO::sub
ros::Subscriber sub
Definition:
testscdspso.h:40
testscdspso::TestSCDSPSO::init
virtual void init()
Definition:
testscdspso.cpp:36
testscdspso::TestSCDSPSO
Definition:
testscdspso.h:35
micros_swarm::Agent
testscdspso::TestSCDSPSO::tuple
micros_swarm::SCDSPSOTuple tuple
Definition:
testscdspso.h:43
testscdspso::TestSCDSPSO::pub
ros::Publisher pub
Definition:
testscdspso.h:39
ros::Subscriber
micros_swarm.h
testscdspso::TestSCDSPSO::agent
micros_swarm::Agent agent
Definition:
testscdspso.h:42
micros_swarm::Application
testscdspso::TestSCDSPSO::~TestSCDSPSO
~TestSCDSPSO()
Definition:
testscdspso.cpp:34
testscdspso::TestSCDSPSO::timer
ros::Timer timer
Definition:
testscdspso.h:38
micros_swarm::SCDSPSOTuple
testscdspso::TestSCDSPSO::fitness
float fitness(const std::vector< float > &vec)
Definition:
testscdspso.cpp:65
ros::Publisher
scds_pso.h
ros::Timer
ros::TimerEvent
testscdspso::TestSCDSPSO::loop
void loop(const ros::TimerEvent &)
Definition:
testscdspso.cpp:40
testscdspso::TestSCDSPSO::start
virtual void start()
Definition:
testscdspso.cpp:73
testscdspso
Definition:
testscdspso.h:33
testscdspso
Author(s):
autogenerated on Mon Jun 10 2019 14:02:35