ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::if_ROS::IndicatorCommandWriter Class Reference

#include <indicatorcommandconverter.h>

Inheritance diagram for adore::if_ROS::IndicatorCommandWriter:
Inheritance graph
Collaboration diagram for adore::if_ROS::IndicatorCommandWriter:
Collaboration graph

Public Member Functions

 IndicatorCommandWriter (ros::NodeHandle *n, const std::string lefttopic, const std::string righttopic, int qsize)
 
virtual bool canWriteMore () const override
 canWriteMore indicates whether more data can be written More...
 
virtual void write (const adore::fun::IndicatorCommand &value) override
 write sends out data value More...
 
- Public Member Functions inherited from adore::mad::AWriter< adore::fun::IndicatorCommand >
virtual std::string getDesc ()
 
virtual uint32_t getNumberOfSubscribers () const
 

Private Attributes

ros::Publisher leftPublisher_
 
ros::Publisher rightPublisher_
 

Detailed Description

ROS specific implementation of AWriter for adore::fun::IndicatorCommand. Transmits adore::fun::IndicatorCommand by sending two ROS std_msgs::Bool.

Constructor & Destructor Documentation

◆ IndicatorCommandWriter()

adore::if_ROS::IndicatorCommandWriter::IndicatorCommandWriter ( ros::NodeHandle *  n,
const std::string  lefttopic,
const std::string  righttopic,
int  qsize 
)
inline

Member Function Documentation

◆ canWriteMore()

virtual bool adore::if_ROS::IndicatorCommandWriter::canWriteMore ( ) const
inlineoverridevirtual

canWriteMore indicates whether more data can be written

Implements adore::mad::AWriter< adore::fun::IndicatorCommand >.

◆ write()

virtual void adore::if_ROS::IndicatorCommandWriter::write ( const adore::fun::IndicatorCommand value)
inlineoverridevirtual

write sends out data value

Implements adore::mad::AWriter< adore::fun::IndicatorCommand >.

Here is the call graph for this function:

Member Data Documentation

◆ leftPublisher_

ros::Publisher adore::if_ROS::IndicatorCommandWriter::leftPublisher_
private

◆ rightPublisher_

ros::Publisher adore::if_ROS::IndicatorCommandWriter::rightPublisher_
private

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