File tree Expand file tree Collapse file tree
include/ur_client_library/primary Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,10 +193,9 @@ class PrimaryConsumer : public AbstractPrimaryConsumer
193193 *
194194 * \returns True
195195 */
196- virtual bool consume (MasterboardData& pkg ) override
196+ virtual bool consume (MasterboardData&) override
197197 {
198- std::scoped_lock lock (masterboard_data_mutex_);
199- masterboard_data_ = std::make_shared<MasterboardData>(pkg);
198+ // Nothing to do here for now.
200199 return true ;
201200 }
202201
@@ -282,8 +281,6 @@ class PrimaryConsumer : public AbstractPrimaryConsumer
282281 std::mutex configuration_data_mutex_;
283282 std::mutex safety_mode_mutex_;
284283 std::shared_ptr<SafetyModeMessage> safety_mode_;
285- std::mutex masterboard_data_mutex_;
286- std::shared_ptr<MasterboardData> masterboard_data_;
287284};
288285
289286} // namespace primary_interface
You can’t perform that action at this time.
0 commit comments