20#include <cav_msgs/ByteArray.h>
43 unsigned int getRate()
override;
Mock Comms driver. Operates as a passthrough for bag data which updates the timestamps on received me...
const std::string outbound_binary_topic_
uint8_t getDriverStatus() override
Pure Virtual method. Returns an integer value which corresponds to the cav_msgs/DriverStatus enum fel...
unsigned int getRate() override
Pure virtual method that returns the desired operational rate of a child class.
std::vector< DriverType > getDriverTypes() override
Pure Virtual method which child classes must override that returns the list of all driver types that ...
const std::string inbound_binary_topic_
int onRun() override
Pure virtual method which must be implemented by child classes. This method will be run once at start...
ConstPtrRefROSCommsPtr< cav_msgs::ByteArray > outbound_sub_ptr_
MockCommsDriver(bool dummy=false)
void outboundCallback(const cav_msgs::ByteArray::ConstPtr &msg) const
The template node for the mock drivers that will handle all of the default driver logic.
ROSCommsPtr< ConstPtrRef< T > > ConstPtrRefROSCommsPtr