提交 4831bf88 编写于 作者: S sjiang2018 提交者: Qi Luo

Control: added pad message to lat+lon submodule.

上级 98c75d29
......@@ -77,6 +77,13 @@ bool LatLonControllerSubmodule::Proc(
const auto start_time = Clock::Now();
ControlCommand control_core_command;
// recording pad msg
if (preprocessor_status->received_pad_msg()) {
control_core_command.mutable_pad_msg()->CopyFrom(
preprocessor_status->local_view().pad_msg());
}
ADEBUG << "Lat+Lon controller submodule started ....";
// skip produce control command when estop for lat+lon controller
StatusPb pre_status = preprocessor_status->header().status();
if (pre_status.error_code() != ErrorCode::OK) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册