Public Member Functions | List of all members
DiffPressureSensor Class Reference

#include <differential_pressure.hpp>

Inheritance diagram for DiffPressureSensor:
Inheritance graph
[legend]

Public Member Functions

 DiffPressureSensor (ros::NodeHandle *nh, const char *topic, double period)
 
bool publish (float diffPressureHpa)
 
- Public Member Functions inherited from BaseSensor
 BaseSensor ()=delete
 
 BaseSensor (ros::NodeHandle *nh, double period)
 
void disable ()
 
void enable ()
 

Additional Inherited Members

- Protected Attributes inherited from BaseSensor
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 24 of file differential_pressure.hpp.

Constructor & Destructor Documentation

◆ DiffPressureSensor()

DiffPressureSensor::DiffPressureSensor ( ros::NodeHandle nh,
const char *  topic,
double  period 
)

Definition at line 24 of file differential_pressure.cpp.

Member Function Documentation

◆ publish()

bool DiffPressureSensor::publish ( float  diffPressureHpa)

Definition at line 27 of file differential_pressure.cpp.


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


inno_vtol_dynamics
Author(s): Roman Fedorenko, Dmitry Ponomarev, Ezra Tal, Winter Guerra
autogenerated on Mon Dec 9 2024 03:13:35