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

#include <funvehiclemotionstateconverter.h>

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

Public Member Functions

 VehicleExtendedStateWriter (ros::NodeHandle *n, const std::string &gearStateTopic, const std::string &accelerationTopic, const std::string &accelerationActiveTopic, const std::string &steeringTopic, const std::string &leftIndicatorTopic, const std::string &rightIndicatorTopic, const std::string &checkpointClearanceTopic, int qsize)
 
virtual bool canWriteMore () const override
 
virtual void write (const adore::fun::VehicleExtendedState &value) override
 write sends out data value More...
 
- Public Member Functions inherited from adore::mad::AWriter< adore::fun::VehicleExtendedState >
virtual std::string getDesc ()
 
virtual uint32_t getNumberOfSubscribers () const
 

Private Attributes

ros::Publisher gearStatePublisher_
 
ros::Publisher accelerationOnPublisher_
 
ros::Publisher accelerationAcivePublisher_
 
ros::Publisher steeringOnPublisher_
 
ros::Publisher leftIndicatorStatePublisher_
 
ros::Publisher rightIndicatorStatePublisher_
 
ros::Publisher checkpointClearancePublisher_
 

Detailed Description

ROS specific implementation of AWriter for adore::fun::VehicleExtendedState. Transmits a adore::fun::VehicleExtendedState by sending several ROS std_msgs.

Constructor & Destructor Documentation

◆ VehicleExtendedStateWriter()

adore::if_ROS::VehicleExtendedStateWriter::VehicleExtendedStateWriter ( ros::NodeHandle *  n,
const std::string &  gearStateTopic,
const std::string &  accelerationTopic,
const std::string &  accelerationActiveTopic,
const std::string &  steeringTopic,
const std::string &  leftIndicatorTopic,
const std::string &  rightIndicatorTopic,
const std::string &  checkpointClearanceTopic,
int  qsize 
)
inline

Member Function Documentation

◆ canWriteMore()

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

canWriteMore indicates whether more data can be written

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

◆ write()

virtual void adore::if_ROS::VehicleExtendedStateWriter::write ( const adore::fun::VehicleExtendedState value)
inlineoverridevirtual

write sends out data value

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

Here is the call graph for this function:

Member Data Documentation

◆ accelerationAcivePublisher_

ros::Publisher adore::if_ROS::VehicleExtendedStateWriter::accelerationAcivePublisher_
private

◆ accelerationOnPublisher_

ros::Publisher adore::if_ROS::VehicleExtendedStateWriter::accelerationOnPublisher_
private

◆ checkpointClearancePublisher_

ros::Publisher adore::if_ROS::VehicleExtendedStateWriter::checkpointClearancePublisher_
private

◆ gearStatePublisher_

ros::Publisher adore::if_ROS::VehicleExtendedStateWriter::gearStatePublisher_
private

◆ leftIndicatorStatePublisher_

ros::Publisher adore::if_ROS::VehicleExtendedStateWriter::leftIndicatorStatePublisher_
private

◆ rightIndicatorStatePublisher_

ros::Publisher adore::if_ROS::VehicleExtendedStateWriter::rightIndicatorStatePublisher_
private

◆ steeringOnPublisher_

ros::Publisher adore::if_ROS::VehicleExtendedStateWriter::steeringOnPublisher_
private

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