Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
fastrack::environment::Environment< M, P > Class Template Referenceabstract

#include <environment.h>

Inheritance diagram for fastrack::environment::Environment< M, P >:
Inheritance graph
[legend]

Public Member Functions

bool AreValid (const std::vector< Vector3d > &positions, const TrackingBound &bound, double time=std::numeric_limits< double >::quiet_NaN()) const
 
bool Initialize (const ros::NodeHandle &n)
 
virtual bool IsValid (const Vector3d &position, const TrackingBound &bound, double time=std::numeric_limits< double >::quiet_NaN()) const =0
 
virtual M SimulateSensor (const P &params) const =0
 
virtual void Visualize () const =0
 
virtual ~Environment ()
 

Protected Member Functions

 Environment ()
 
virtual bool LoadParameters (const ros::NodeHandle &n)
 
virtual bool RegisterCallbacks (const ros::NodeHandle &n)
 
virtual void SensorCallback (const typename M::ConstPtr &msg)=0
 

Protected Attributes

std::string fixed_frame_
 
bool initialized_
 
Vector3d lower_
 
std::string name_
 
ros::Subscriber sensor_sub_
 
std::string sensor_topic_
 
ros::Publisher updated_pub_
 
std::string updated_topic_
 
Vector3d upper_
 
ros::Publisher vis_pub_
 
std::string vis_topic_
 

Detailed Description

template<typename M, typename P>
class fastrack::environment::Environment< M, P >

Definition at line 69 of file environment.h.

Constructor & Destructor Documentation

template<typename M, typename P>
virtual fastrack::environment::Environment< M, P >::~Environment ( )
inlinevirtual

Definition at line 71 of file environment.h.

template<typename M, typename P>
fastrack::environment::Environment< M, P >::Environment ( )
inlineexplicitprotected

Definition at line 101 of file environment.h.

Member Function Documentation

template<typename M, typename P>
bool fastrack::environment::Environment< M, P >::AreValid ( const std::vector< Vector3d > &  positions,
const TrackingBound &  bound,
double  time = std::numeric_limits<double>::quiet_NaN() 
) const
inline

Definition at line 83 of file environment.h.

template<typename M , typename P >
bool fastrack::environment::Environment< M, P >::Initialize ( const ros::NodeHandle &  n)

Definition at line 140 of file environment.h.

template<typename M, typename P>
virtual bool fastrack::environment::Environment< M, P >::IsValid ( const Vector3d &  position,
const TrackingBound &  bound,
double  time = std::numeric_limits< double >::quiet_NaN() 
) const
pure virtual
template<typename M , typename P >
bool fastrack::environment::Environment< M, P >::LoadParameters ( const ros::NodeHandle &  n)
protectedvirtual
template<typename M , typename P >
bool fastrack::environment::Environment< M, P >::RegisterCallbacks ( const ros::NodeHandle &  n)
protectedvirtual

Definition at line 188 of file environment.h.

template<typename M, typename P>
virtual void fastrack::environment::Environment< M, P >::SensorCallback ( const typename M::ConstPtr &  msg)
protectedpure virtual
template<typename M, typename P>
virtual M fastrack::environment::Environment< M, P >::SimulateSensor ( const P &  params) const
pure virtual
template<typename M, typename P>
virtual void fastrack::environment::Environment< M, P >::Visualize ( ) const
pure virtual

Member Data Documentation

template<typename M, typename P>
std::string fastrack::environment::Environment< M, P >::fixed_frame_
protected

Definition at line 129 of file environment.h.

template<typename M, typename P>
bool fastrack::environment::Environment< M, P >::initialized_
protected

Definition at line 133 of file environment.h.

template<typename M, typename P>
Vector3d fastrack::environment::Environment< M, P >::lower_
protected

Definition at line 116 of file environment.h.

template<typename M, typename P>
std::string fastrack::environment::Environment< M, P >::name_
protected

Definition at line 132 of file environment.h.

template<typename M, typename P>
ros::Subscriber fastrack::environment::Environment< M, P >::sensor_sub_
protected

Definition at line 122 of file environment.h.

template<typename M, typename P>
std::string fastrack::environment::Environment< M, P >::sensor_topic_
protected

Definition at line 126 of file environment.h.

template<typename M, typename P>
ros::Publisher fastrack::environment::Environment< M, P >::updated_pub_
protected

Definition at line 121 of file environment.h.

template<typename M, typename P>
std::string fastrack::environment::Environment< M, P >::updated_topic_
protected

Definition at line 125 of file environment.h.

template<typename M, typename P>
Vector3d fastrack::environment::Environment< M, P >::upper_
protected

Definition at line 117 of file environment.h.

template<typename M, typename P>
ros::Publisher fastrack::environment::Environment< M, P >::vis_pub_
protected

Definition at line 120 of file environment.h.

template<typename M, typename P>
std::string fastrack::environment::Environment< M, P >::vis_topic_
protected

Definition at line 124 of file environment.h.


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


fastrack
Author(s): David Fridovich-Keil
autogenerated on Mon Aug 3 2020 21:28:37