Public Member Functions | Protected Attributes | List of all members
BaseSensor Class Reference

#include <sensor_base.hpp>

Inheritance diagram for BaseSensor:
Inheritance graph
[legend]

Public Member Functions

 BaseSensor ()=delete
 
 BaseSensor (ros::NodeHandle *nh, double period)
 
void disable ()
 
void enable ()
 

Protected Attributes

bool _isEnabled {false}
 
double nextPubTimeSec_ = 0
 
ros::NodeHandlenode_handler_
 
std::normal_distribution< double > normalDistribution_ {std::normal_distribution<double>(0.0, 1.0)}
 
const double PERIOD
 
ros::Publisher publisher_
 
std::default_random_engine randomGenerator_
 

Detailed Description

Definition at line 26 of file sensor_base.hpp.

Constructor & Destructor Documentation

◆ BaseSensor() [1/2]

BaseSensor::BaseSensor ( )
delete

◆ BaseSensor() [2/2]

BaseSensor::BaseSensor ( ros::NodeHandle nh,
double  period 
)
inline

Definition at line 29 of file sensor_base.hpp.

Member Function Documentation

◆ disable()

void BaseSensor::disable ( )
inline

Definition at line 31 of file sensor_base.hpp.

◆ enable()

void BaseSensor::enable ( )
inline

Definition at line 30 of file sensor_base.hpp.

Member Data Documentation

◆ _isEnabled

bool BaseSensor::_isEnabled {false}
protected

Definition at line 34 of file sensor_base.hpp.

◆ nextPubTimeSec_

double BaseSensor::nextPubTimeSec_ = 0
protected

Definition at line 37 of file sensor_base.hpp.

◆ node_handler_

ros::NodeHandle* BaseSensor::node_handler_
protected

Definition at line 33 of file sensor_base.hpp.

◆ normalDistribution_

std::normal_distribution<double> BaseSensor::normalDistribution_ {std::normal_distribution<double>(0.0, 1.0)}
protected

Definition at line 40 of file sensor_base.hpp.

◆ PERIOD

const double BaseSensor::PERIOD
protected

Definition at line 35 of file sensor_base.hpp.

◆ publisher_

ros::Publisher BaseSensor::publisher_
protected

Definition at line 36 of file sensor_base.hpp.

◆ randomGenerator_

std::default_random_engine BaseSensor::randomGenerator_
protected

Definition at line 39 of file sensor_base.hpp.


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


inno_vtol_dynamics
Author(s): Roman Fedorenko, Dmitry Ponomarev, Ezra Tal, Winter Guerra
autogenerated on Sat Jul 1 2023 02:13:44