21#include "modules/common_msgs/basic_msgs/drive_event.pb.h"
37 drive_event_msg.ParseFromString(msg.
content);
38 const uint64_t header_time =
static_cast<uint64_t
>(
40 AINFO <<
"drive event trigger is pulled: " << header_time <<
" - "
void Pull(const cyber::record::RecordMessage &msg) override
uint64_t SecondsToNanoSeconds(const double seconds) const
std::unique_ptr< Trigger > trigger_obj_
void TriggerIt(const uint64_t msg_time) const
std::string trigger_name_
optional apollo::common::Header header
Basic data struct of record message.
std::string content
The content of the message.
std::string channel_name
The channel name of the message.