21 #include "cyber/examples/proto/examples.pb.h" 27 using apollo::cyber::examples::proto::Driver;
35 std::shared_ptr<Writer<Driver>> driver_writer_ =
nullptr;
TimerComponent is a timer component. Your component can inherit from Component, and implement Init() ...
Definition: timer_component.h:35
Definition: component_base.h:41
bool Proc() override
The Proc logic of the component, which called by the CyberRT frame.
Definition: timer_component_example.h:29
#define CYBER_REGISTER_COMPONENT(name)
Definition: component.h:551
The Component can process up to four channels of messages. The message type is specified when the com...
Definition: component.h:58
apollo::cyber::Writer< T > Writer
Definition: sensor_canbus.h:67