29 #include "modules/canbus/proto/chassis.pb.h" 30 #include "modules/control/proto/control_cmd.pb.h" 31 #include "modules/guardian/proto/guardian.pb.h" 32 #include "modules/guardian/proto/guardian_conf.pb.h" 33 #include "modules/monitor/proto/system_status.pb.h" 48 void PassThroughControlCommand();
49 void TriggerSafetyMode();
51 apollo::guardian::GuardianConf guardian_conf_;
52 apollo::canbus::Chassis chassis_;
53 apollo::monitor::SystemStatus system_status_;
54 apollo::control::ControlCommand control_cmd_;
55 apollo::guardian::GuardianCommand guardian_cmd_;
57 double last_status_received_s_{};
59 std::shared_ptr<apollo::cyber::Reader<apollo::canbus::Chassis>>
61 std::shared_ptr<apollo::cyber::Reader<apollo::control::ControlCommand>>
63 std::shared_ptr<apollo::cyber::Reader<apollo::monitor::SystemStatus>>
64 system_status_reader_;
65 std::shared_ptr<apollo::cyber::Writer<apollo::guardian::GuardianCommand>>
Definition: guardian_component.h:42
TimerComponent is a timer component. Your component can inherit from Component, and implement Init() ...
Definition: timer_component.h:35
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
#define CYBER_REGISTER_COMPONENT(name)
Definition: component.h:551
bool Proc() override
The Proc logic of the component, which called by the CyberRT frame.