39#include "modules/common_msgs/drivers_msgs/can_card_parameter.pb.h"
40#include "modules/drivers/canbus/proto/sensor_canbus_conf.pb.h"
42#include "modules/common_msgs/sensor_msgs/racobit_radar.pb.h"
52namespace racobit_radar {
85 void RegisterCanClients();
87 Status OnError(
const std::string &error_msg);
88 std::shared_ptr<CanClient> can_client_;
90 std::unique_ptr<RacobitRadarMessageManager> sensor_message_manager_;
92 int64_t last_timestamp_ = 0;
94 bool start_success_ =
false;
97 std::shared_ptr<cyber::Writer<RacobitRadar>> racobit_radar_writer_;
Defines the CanFrame struct and CanClient interface.
Defines the CanClientFactory class.
Defines CanReceiver class.
Defines SenderMessage class and CanSender class.
A general class to denote the return status of an API call.
Cyber has builtin time type Time.
CanClientFactory inherites apollo::common::util::Factory.
The class which defines the CAN client to send and receive message.
This class defines the message to send.
~RacobitRadarCanbusComponent()
RacobitRadarCanbusComponent()
bool Init() override
module initialization function
#define CYBER_REGISTER_COMPONENT(name)
The class of MessageManager
The class of MonitorLogBuffer
The class of RacobitRadarMessageManager