// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: wj_lidar_conf.proto

#include "wj_lidar_conf.pb.h"

#include <algorithm>

#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
extern PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fconf_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CalibParameter_wj_5flidar_5fconf_2eproto;
extern PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fconf_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Region_wj_5flidar_5fconf_2eproto;
extern PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fconf_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Transform2d_wj_5flidar_5fconf_2eproto;
extern PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fconf_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_lidarExtrinsic_wj_5flidar_5fconf_2eproto;
extern PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fconf_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_netConfig_wj_5flidar_5fconf_2eproto;
extern PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fconf_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_scanLimit_wj_5flidar_5fconf_2eproto;
extern PROTOBUF_INTERNAL_EXPORT_wj_5flidar_5fconf_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_wjLidarParams_wj_5flidar_5fconf_2eproto;
namespace wj {
class wjManagerParamsDefaultTypeInternal {
 public:
  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<wjManagerParams> _instance;
} _wjManagerParams_default_instance_;
class CalibParameterDefaultTypeInternal {
 public:
  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<CalibParameter> _instance;
} _CalibParameter_default_instance_;
class lidarExtrinsicDefaultTypeInternal {
 public:
  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<lidarExtrinsic> _instance;
} _lidarExtrinsic_default_instance_;
class RegionDefaultTypeInternal {
 public:
  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Region> _instance;
} _Region_default_instance_;
class wjLidarParamsDefaultTypeInternal {
 public:
  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<wjLidarParams> _instance;
} _wjLidarParams_default_instance_;
class netConfigDefaultTypeInternal {
 public:
  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<netConfig> _instance;
} _netConfig_default_instance_;
class Transform2dDefaultTypeInternal {
 public:
  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Transform2d> _instance;
} _Transform2d_default_instance_;
class scanLimitDefaultTypeInternal {
 public:
  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<scanLimit> _instance;
} _scanLimit_default_instance_;
}  // namespace wj
static void InitDefaultsscc_info_CalibParameter_wj_5flidar_5fconf_2eproto() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  {
    void* ptr = &::wj::_CalibParameter_default_instance_;
    new (ptr) ::wj::CalibParameter();
    ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  }
  ::wj::CalibParameter::InitAsDefaultInstance();
}

::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CalibParameter_wj_5flidar_5fconf_2eproto =
    {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_CalibParameter_wj_5flidar_5fconf_2eproto}, {}};

static void InitDefaultsscc_info_Region_wj_5flidar_5fconf_2eproto() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  {
    void* ptr = &::wj::_Region_default_instance_;
    new (ptr) ::wj::Region();
    ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  }
  ::wj::Region::InitAsDefaultInstance();
}

::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Region_wj_5flidar_5fconf_2eproto =
    {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Region_wj_5flidar_5fconf_2eproto}, {
      &scc_info_lidarExtrinsic_wj_5flidar_5fconf_2eproto.base,}};

static void InitDefaultsscc_info_Transform2d_wj_5flidar_5fconf_2eproto() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  {
    void* ptr = &::wj::_Transform2d_default_instance_;
    new (ptr) ::wj::Transform2d();
    ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  }
  ::wj::Transform2d::InitAsDefaultInstance();
}

::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Transform2d_wj_5flidar_5fconf_2eproto =
    {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Transform2d_wj_5flidar_5fconf_2eproto}, {}};

static void InitDefaultsscc_info_lidarExtrinsic_wj_5flidar_5fconf_2eproto() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  {
    void* ptr = &::wj::_lidarExtrinsic_default_instance_;
    new (ptr) ::wj::lidarExtrinsic();
    ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  }
  ::wj::lidarExtrinsic::InitAsDefaultInstance();
}

::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_lidarExtrinsic_wj_5flidar_5fconf_2eproto =
    {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_lidarExtrinsic_wj_5flidar_5fconf_2eproto}, {
      &scc_info_CalibParameter_wj_5flidar_5fconf_2eproto.base,}};

static void InitDefaultsscc_info_netConfig_wj_5flidar_5fconf_2eproto() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  {
    void* ptr = &::wj::_netConfig_default_instance_;
    new (ptr) ::wj::netConfig();
    ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  }
  ::wj::netConfig::InitAsDefaultInstance();
}

::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_netConfig_wj_5flidar_5fconf_2eproto =
    {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_netConfig_wj_5flidar_5fconf_2eproto}, {}};

static void InitDefaultsscc_info_scanLimit_wj_5flidar_5fconf_2eproto() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  {
    void* ptr = &::wj::_scanLimit_default_instance_;
    new (ptr) ::wj::scanLimit();
    ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  }
  ::wj::scanLimit::InitAsDefaultInstance();
}

::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_scanLimit_wj_5flidar_5fconf_2eproto =
    {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_scanLimit_wj_5flidar_5fconf_2eproto}, {}};

static void InitDefaultsscc_info_wjLidarParams_wj_5flidar_5fconf_2eproto() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  {
    void* ptr = &::wj::_wjLidarParams_default_instance_;
    new (ptr) ::wj::wjLidarParams();
    ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  }
  ::wj::wjLidarParams::InitAsDefaultInstance();
}

::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_wjLidarParams_wj_5flidar_5fconf_2eproto =
    {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_wjLidarParams_wj_5flidar_5fconf_2eproto}, {
      &scc_info_netConfig_wj_5flidar_5fconf_2eproto.base,
      &scc_info_Transform2d_wj_5flidar_5fconf_2eproto.base,
      &scc_info_scanLimit_wj_5flidar_5fconf_2eproto.base,}};

static void InitDefaultsscc_info_wjManagerParams_wj_5flidar_5fconf_2eproto() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.DefaultConstruct();
  *::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get_mutable() = std::string("192.168.0.1", 11);
  ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyString(
      ::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get_mutable());
  {
    void* ptr = &::wj::_wjManagerParams_default_instance_;
    new (ptr) ::wj::wjManagerParams();
    ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  }
  ::wj::wjManagerParams::InitAsDefaultInstance();
}

::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_wjManagerParams_wj_5flidar_5fconf_2eproto =
    {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_wjManagerParams_wj_5flidar_5fconf_2eproto}, {
      &scc_info_wjLidarParams_wj_5flidar_5fconf_2eproto.base,
      &scc_info_Region_wj_5flidar_5fconf_2eproto.base,}};

static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_wj_5flidar_5fconf_2eproto[8];
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_wj_5flidar_5fconf_2eproto = nullptr;
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_wj_5flidar_5fconf_2eproto = nullptr;

const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_wj_5flidar_5fconf_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  PROTOBUF_FIELD_OFFSET(::wj::wjManagerParams, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::wj::wjManagerParams, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  PROTOBUF_FIELD_OFFSET(::wj::wjManagerParams, wj_lidar_),
  PROTOBUF_FIELD_OFFSET(::wj::wjManagerParams, regions_),
  PROTOBUF_FIELD_OFFSET(::wj::wjManagerParams, fence_data_path_),
  PROTOBUF_FIELD_OFFSET(::wj::wjManagerParams, fence_log_path_),
  PROTOBUF_FIELD_OFFSET(::wj::wjManagerParams, plc_ip_address_),
  PROTOBUF_FIELD_OFFSET(::wj::wjManagerParams, distribution_mode_),
  ~0u,
  ~0u,
  0,
  1,
  2,
  3,
  PROTOBUF_FIELD_OFFSET(::wj::CalibParameter, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::wj::CalibParameter, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  PROTOBUF_FIELD_OFFSET(::wj::CalibParameter, r_),
  PROTOBUF_FIELD_OFFSET(::wj::CalibParameter, p_),
  PROTOBUF_FIELD_OFFSET(::wj::CalibParameter, y_),
  PROTOBUF_FIELD_OFFSET(::wj::CalibParameter, cx_),
  PROTOBUF_FIELD_OFFSET(::wj::CalibParameter, cy_),
  PROTOBUF_FIELD_OFFSET(::wj::CalibParameter, cz_),
  0,
  1,
  2,
  3,
  4,
  5,
  PROTOBUF_FIELD_OFFSET(::wj::lidarExtrinsic, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::wj::lidarExtrinsic, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  PROTOBUF_FIELD_OFFSET(::wj::lidarExtrinsic, lidar_id_),
  PROTOBUF_FIELD_OFFSET(::wj::lidarExtrinsic, calib_),
  1,
  0,
  PROTOBUF_FIELD_OFFSET(::wj::Region, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  PROTOBUF_FIELD_OFFSET(::wj::Region, minx_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, maxx_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, miny_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, maxy_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, minz_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, maxz_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, region_id_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, lidar_exts_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, turnplate_cx_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, turnplate_cy_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, border_minx_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, border_maxx_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, plc_offsetx_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, plc_offsety_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, plc_offset_degree_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, plc_border_miny_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, car_min_width_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, car_max_width_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, car_min_wheelbase_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, car_max_wheelbase_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, turnplate_angle_limit_anti_clockwise_),
  PROTOBUF_FIELD_OFFSET(::wj::Region, turnplate_angle_limit_clockwise_),
  0,
  1,
  2,
  3,
  4,
  5,
  6,
  ~0u,
  7,
  8,
  9,
  10,
  11,
  12,
  13,
  14,
  15,
  16,
  17,
  18,
  19,
  20,
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, angle_min_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, angle_max_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, angle_increment_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, time_increment_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, range_min_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, range_max_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, net_config_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, transform_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, scan_limit_),
  PROTOBUF_FIELD_OFFSET(::wj::wjLidarParams, lidar_id_),
  6,
  7,
  8,
  9,
  3,
  5,
  0,
  1,
  2,
  4,
  PROTOBUF_FIELD_OFFSET(::wj::netConfig, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::wj::netConfig, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  PROTOBUF_FIELD_OFFSET(::wj::netConfig, ip_address_),
  PROTOBUF_FIELD_OFFSET(::wj::netConfig, port_),
  0,
  1,
  PROTOBUF_FIELD_OFFSET(::wj::Transform2d, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::wj::Transform2d, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  PROTOBUF_FIELD_OFFSET(::wj::Transform2d, m00_),
  PROTOBUF_FIELD_OFFSET(::wj::Transform2d, m01_),
  PROTOBUF_FIELD_OFFSET(::wj::Transform2d, m02_),
  PROTOBUF_FIELD_OFFSET(::wj::Transform2d, m10_),
  PROTOBUF_FIELD_OFFSET(::wj::Transform2d, m11_),
  PROTOBUF_FIELD_OFFSET(::wj::Transform2d, m12_),
  4,
  0,
  1,
  2,
  5,
  3,
  PROTOBUF_FIELD_OFFSET(::wj::scanLimit, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::wj::scanLimit, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  PROTOBUF_FIELD_OFFSET(::wj::scanLimit, dist_limit_),
  PROTOBUF_FIELD_OFFSET(::wj::scanLimit, minx_),
  PROTOBUF_FIELD_OFFSET(::wj::scanLimit, maxx_),
  PROTOBUF_FIELD_OFFSET(::wj::scanLimit, miny_),
  PROTOBUF_FIELD_OFFSET(::wj::scanLimit, maxy_),
  1,
  2,
  3,
  4,
  0,
};
static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  { 0, 11, sizeof(::wj::wjManagerParams)},
  { 17, 28, sizeof(::wj::CalibParameter)},
  { 34, 41, sizeof(::wj::lidarExtrinsic)},
  { 43, 70, sizeof(::wj::Region)},
  { 92, 107, sizeof(::wj::wjLidarParams)},
  { 117, 124, sizeof(::wj::netConfig)},
  { 126, 137, sizeof(::wj::Transform2d)},
  { 143, 153, sizeof(::wj::scanLimit)},
};

static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::wj::_wjManagerParams_default_instance_),
  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::wj::_CalibParameter_default_instance_),
  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::wj::_lidarExtrinsic_default_instance_),
  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::wj::_Region_default_instance_),
  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::wj::_wjLidarParams_default_instance_),
  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::wj::_netConfig_default_instance_),
  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::wj::_Transform2d_default_instance_),
  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::wj::_scanLimit_default_instance_),
};

const char descriptor_table_protodef_wj_5flidar_5fconf_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  "\n\023wj_lidar_conf.proto\022\002wj\"\317\001\n\017wjManagerP"
  "arams\022#\n\010wj_lidar\030\001 \003(\0132\021.wj.wjLidarPara"
  "ms\022\033\n\007regions\030\002 \003(\0132\n.wj.Region\022\031\n\017fence"
  "_data_path\030\003 \001(\t:\000\022\030\n\016fence_log_path\030\004 \001"
  "(\t:\000\022#\n\016plc_ip_address\030\005 \001(\t:\013192.168.0."
  "1\022 \n\021distribution_mode\030\006 \002(\010:\005false\"g\n\016C"
  "alibParameter\022\014\n\001r\030\001 \001(\002:\0010\022\014\n\001p\030\002 \001(\002:\001"
  "0\022\014\n\001y\030\003 \001(\002:\0010\022\r\n\002cx\030\004 \001(\002:\0010\022\r\n\002cy\030\005 \001"
  "(\002:\0010\022\r\n\002cz\030\006 \001(\002:\0010\"E\n\016lidarExtrinsic\022\020"
  "\n\010lidar_id\030\001 \002(\005\022!\n\005calib\030\002 \001(\0132\022.wj.Cal"
  "ibParameter\"\206\004\n\006Region\022\014\n\004minx\030\001 \002(\002\022\014\n\004"
  "maxx\030\002 \002(\002\022\014\n\004miny\030\003 \002(\002\022\014\n\004maxy\030\004 \002(\002\022\014"
  "\n\004minz\030\005 \002(\002\022\014\n\004maxz\030\006 \002(\002\022\021\n\tregion_id\030"
  "\007 \002(\005\022&\n\nlidar_exts\030\010 \003(\0132\022.wj.lidarExtr"
  "insic\022\024\n\014turnplate_cx\030\t \002(\002\022\024\n\014turnplate"
  "_cy\030\n \002(\002\022\023\n\013border_minx\030\013 \002(\002\022\023\n\013border"
  "_maxx\030\014 \002(\002\022\023\n\013plc_offsetx\030\r \002(\002\022\023\n\013plc_"
  "offsety\030\016 \002(\002\022\031\n\021plc_offset_degree\030\017 \002(\002"
  "\022\027\n\017plc_border_miny\030\020 \002(\002\022\025\n\rcar_min_wid"
  "th\030\021 \002(\002\022\025\n\rcar_max_width\030\022 \002(\002\022\031\n\021car_m"
  "in_wheelbase\030\023 \002(\002\022\031\n\021car_max_wheelbase\030"
  "\024 \002(\002\022,\n$turnplate_angle_limit_anti_cloc"
  "kwise\030\025 \002(\002\022\'\n\037turnplate_angle_limit_clo"
  "ckwise\030\026 \002(\002\"\273\002\n\rwjLidarParams\022\035\n\tangle_"
  "min\030\001 \001(\002:\n-2.3561945\022\034\n\tangle_max\030\002 \001(\002"
  ":\t2.3561945\022 \n\017angle_increment\030\003 \001(\002:\0070."
  "00582\022\037\n\016time_increment\030\004 \001(\002:\0076.2e-05\022\024"
  "\n\trange_min\030\005 \001(\005:\0010\022\025\n\trange_max\030\006 \001(\005:"
  "\00230\022!\n\nnet_config\030\007 \002(\0132\r.wj.netConfig\022\""
  "\n\ttransform\030\010 \002(\0132\017.wj.Transform2d\022!\n\nsc"
  "an_limit\030\t \002(\0132\r.wj.scanLimit\022\023\n\010lidar_i"
  "d\030\n \002(\005:\0010\"5\n\tnetConfig\022\024\n\nip_address\030\001 "
  "\001(\t:\000\022\022\n\004port\030\002 \001(\005:\0048000\"m\n\013Transform2d"
  "\022\016\n\003m00\030\001 \001(\002:\0011\022\016\n\003m01\030\002 \001(\002:\0010\022\016\n\003m02\030"
  "\003 \001(\002:\0010\022\016\n\003m10\030\004 \001(\002:\0010\022\016\n\003m11\030\005 \001(\002:\0011"
  "\022\016\n\003m12\030\006 \001(\002:\0010\"o\n\tscanLimit\022\025\n\ndist_li"
  "mit\030\001 \001(\002:\0018\022\020\n\004minx\030\002 \001(\002:\002-6\022\022\n\004maxx\030\003"
  " \001(\002:\004-0.2\022\022\n\004miny\030\004 \001(\002:\004-3.5\022\021\n\004maxy\030\005"
  " \001(\002:\0033.5"
  ;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_wj_5flidar_5fconf_2eproto_deps[1] = {
};
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_wj_5flidar_5fconf_2eproto_sccs[8] = {
  &scc_info_CalibParameter_wj_5flidar_5fconf_2eproto.base,
  &scc_info_Region_wj_5flidar_5fconf_2eproto.base,
  &scc_info_Transform2d_wj_5flidar_5fconf_2eproto.base,
  &scc_info_lidarExtrinsic_wj_5flidar_5fconf_2eproto.base,
  &scc_info_netConfig_wj_5flidar_5fconf_2eproto.base,
  &scc_info_scanLimit_wj_5flidar_5fconf_2eproto.base,
  &scc_info_wjLidarParams_wj_5flidar_5fconf_2eproto.base,
  &scc_info_wjManagerParams_wj_5flidar_5fconf_2eproto.base,
};
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_wj_5flidar_5fconf_2eproto_once;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_wj_5flidar_5fconf_2eproto = {
  false, false, descriptor_table_protodef_wj_5flidar_5fconf_2eproto, "wj_lidar_conf.proto", 1529,
  &descriptor_table_wj_5flidar_5fconf_2eproto_once, descriptor_table_wj_5flidar_5fconf_2eproto_sccs, descriptor_table_wj_5flidar_5fconf_2eproto_deps, 8, 0,
  schemas, file_default_instances, TableStruct_wj_5flidar_5fconf_2eproto::offsets,
  file_level_metadata_wj_5flidar_5fconf_2eproto, 8, file_level_enum_descriptors_wj_5flidar_5fconf_2eproto, file_level_service_descriptors_wj_5flidar_5fconf_2eproto,
};

// Force running AddDescriptors() at dynamic initialization time.
static bool dynamic_init_dummy_wj_5flidar_5fconf_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_wj_5flidar_5fconf_2eproto)), true);
namespace wj {

// ===================================================================

void wjManagerParams::InitAsDefaultInstance() {
}
class wjManagerParams::_Internal {
 public:
  using HasBits = decltype(std::declval<wjManagerParams>()._has_bits_);
  static void set_has_fence_data_path(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static void set_has_fence_log_path(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static void set_has_plc_ip_address(HasBits* has_bits) {
    (*has_bits)[0] |= 4u;
  }
  static void set_has_distribution_mode(HasBits* has_bits) {
    (*has_bits)[0] |= 8u;
  }
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000008) ^ 0x00000008) != 0;
  }
};

::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_;
wjManagerParams::wjManagerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena),
  wj_lidar_(arena),
  regions_(arena) {
  SharedCtor();
  RegisterArenaDtor(arena);
  // @@protoc_insertion_point(arena_constructor:wj.wjManagerParams)
}
wjManagerParams::wjManagerParams(const wjManagerParams& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_),
      wj_lidar_(from.wj_lidar_),
      regions_(from.regions_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  fence_data_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  if (from._internal_has_fence_data_path()) {
    fence_data_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_fence_data_path(),
      GetArena());
  }
  fence_log_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  if (from._internal_has_fence_log_path()) {
    fence_log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_fence_log_path(),
      GetArena());
  }
  plc_ip_address_.UnsafeSetDefault(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
  if (from._internal_has_plc_ip_address()) {
    plc_ip_address_.Set(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), from._internal_plc_ip_address(),
      GetArena());
  }
  distribution_mode_ = from.distribution_mode_;
  // @@protoc_insertion_point(copy_constructor:wj.wjManagerParams)
}

void wjManagerParams::SharedCtor() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_wjManagerParams_wj_5flidar_5fconf_2eproto.base);
  fence_data_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  fence_log_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  plc_ip_address_.UnsafeSetDefault(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
  distribution_mode_ = false;
}

wjManagerParams::~wjManagerParams() {
  // @@protoc_insertion_point(destructor:wj.wjManagerParams)
  SharedDtor();
  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

void wjManagerParams::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
  fence_data_path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  fence_log_path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  plc_ip_address_.DestroyNoArena(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get());
}

void wjManagerParams::ArenaDtor(void* object) {
  wjManagerParams* _this = reinterpret_cast< wjManagerParams* >(object);
  (void)_this;
}
void wjManagerParams::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void wjManagerParams::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const wjManagerParams& wjManagerParams::default_instance() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_wjManagerParams_wj_5flidar_5fconf_2eproto.base);
  return *internal_default_instance();
}


void wjManagerParams::Clear() {
// @@protoc_insertion_point(message_clear_start:wj.wjManagerParams)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  wj_lidar_.Clear();
  regions_.Clear();
  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    if (cached_has_bits & 0x00000001u) {
      fence_data_path_.ClearNonDefaultToEmpty();
    }
    if (cached_has_bits & 0x00000002u) {
      fence_log_path_.ClearNonDefaultToEmpty();
    }
    if (cached_has_bits & 0x00000004u) {
      plc_ip_address_.ClearToDefault(&::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), GetArena());
    }
  }
  distribution_mode_ = false;
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* wjManagerParams::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // repeated .wj.wjLidarParams wj_lidar = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
          ptr -= 1;
          do {
            ptr += 1;
            ptr = ctx->ParseMessage(_internal_add_wj_lidar(), ptr);
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
        } else goto handle_unusual;
        continue;
      // repeated .wj.Region regions = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
          ptr -= 1;
          do {
            ptr += 1;
            ptr = ctx->ParseMessage(_internal_add_regions(), ptr);
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
        } else goto handle_unusual;
        continue;
      // optional string fence_data_path = 3 [default = ""];
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
          auto str = _internal_mutable_fence_data_path();
          ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
          #ifndef NDEBUG
          ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "wj.wjManagerParams.fence_data_path");
          #endif  // !NDEBUG
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // optional string fence_log_path = 4 [default = ""];
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
          auto str = _internal_mutable_fence_log_path();
          ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
          #ifndef NDEBUG
          ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "wj.wjManagerParams.fence_log_path");
          #endif  // !NDEBUG
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // optional string plc_ip_address = 5 [default = "192.168.0.1"];
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
          auto str = _internal_mutable_plc_ip_address();
          ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
          #ifndef NDEBUG
          ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "wj.wjManagerParams.plc_ip_address");
          #endif  // !NDEBUG
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // required bool distribution_mode = 6 [default = false];
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
          _Internal::set_has_distribution_mode(&has_bits);
          distribution_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

::PROTOBUF_NAMESPACE_ID::uint8* wjManagerParams::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:wj.wjManagerParams)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // repeated .wj.wjLidarParams wj_lidar = 1;
  for (unsigned int i = 0,
      n = static_cast<unsigned int>(this->_internal_wj_lidar_size()); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(1, this->_internal_wj_lidar(i), target, stream);
  }

  // repeated .wj.Region regions = 2;
  for (unsigned int i = 0,
      n = static_cast<unsigned int>(this->_internal_regions_size()); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(2, this->_internal_regions(i), target, stream);
  }

  cached_has_bits = _has_bits_[0];
  // optional string fence_data_path = 3 [default = ""];
  if (cached_has_bits & 0x00000001u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_fence_data_path().data(), static_cast<int>(this->_internal_fence_data_path().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "wj.wjManagerParams.fence_data_path");
    target = stream->WriteStringMaybeAliased(
        3, this->_internal_fence_data_path(), target);
  }

  // optional string fence_log_path = 4 [default = ""];
  if (cached_has_bits & 0x00000002u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_fence_log_path().data(), static_cast<int>(this->_internal_fence_log_path().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "wj.wjManagerParams.fence_log_path");
    target = stream->WriteStringMaybeAliased(
        4, this->_internal_fence_log_path(), target);
  }

  // optional string plc_ip_address = 5 [default = "192.168.0.1"];
  if (cached_has_bits & 0x00000004u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_plc_ip_address().data(), static_cast<int>(this->_internal_plc_ip_address().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "wj.wjManagerParams.plc_ip_address");
    target = stream->WriteStringMaybeAliased(
        5, this->_internal_plc_ip_address(), target);
  }

  // required bool distribution_mode = 6 [default = false];
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_distribution_mode(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:wj.wjManagerParams)
  return target;
}

size_t wjManagerParams::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:wj.wjManagerParams)
  size_t total_size = 0;

  // required bool distribution_mode = 6 [default = false];
  if (_internal_has_distribution_mode()) {
    total_size += 1 + 1;
  }
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // repeated .wj.wjLidarParams wj_lidar = 1;
  total_size += 1UL * this->_internal_wj_lidar_size();
  for (const auto& msg : this->wj_lidar_) {
    total_size +=
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  }

  // repeated .wj.Region regions = 2;
  total_size += 1UL * this->_internal_regions_size();
  for (const auto& msg : this->regions_) {
    total_size +=
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  }

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    // optional string fence_data_path = 3 [default = ""];
    if (cached_has_bits & 0x00000001u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_fence_data_path());
    }

    // optional string fence_log_path = 4 [default = ""];
    if (cached_has_bits & 0x00000002u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_fence_log_path());
    }

    // optional string plc_ip_address = 5 [default = "192.168.0.1"];
    if (cached_has_bits & 0x00000004u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_plc_ip_address());
    }

  }
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void wjManagerParams::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:wj.wjManagerParams)
  GOOGLE_DCHECK_NE(&from, this);
  const wjManagerParams* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<wjManagerParams>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:wj.wjManagerParams)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:wj.wjManagerParams)
    MergeFrom(*source);
  }
}

void wjManagerParams::MergeFrom(const wjManagerParams& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:wj.wjManagerParams)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  wj_lidar_.MergeFrom(from.wj_lidar_);
  regions_.MergeFrom(from.regions_);
  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x0000000fu) {
    if (cached_has_bits & 0x00000001u) {
      _internal_set_fence_data_path(from._internal_fence_data_path());
    }
    if (cached_has_bits & 0x00000002u) {
      _internal_set_fence_log_path(from._internal_fence_log_path());
    }
    if (cached_has_bits & 0x00000004u) {
      _internal_set_plc_ip_address(from._internal_plc_ip_address());
    }
    if (cached_has_bits & 0x00000008u) {
      distribution_mode_ = from.distribution_mode_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

void wjManagerParams::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:wj.wjManagerParams)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void wjManagerParams::CopyFrom(const wjManagerParams& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:wj.wjManagerParams)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool wjManagerParams::IsInitialized() const {
  if (_Internal::MissingRequiredFields(_has_bits_)) return false;
  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(wj_lidar_)) return false;
  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(regions_)) return false;
  return true;
}

void wjManagerParams::InternalSwap(wjManagerParams* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  wj_lidar_.InternalSwap(&other->wj_lidar_);
  regions_.InternalSwap(&other->regions_);
  fence_data_path_.Swap(&other->fence_data_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  fence_log_path_.Swap(&other->fence_log_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  plc_ip_address_.Swap(&other->plc_ip_address_, &::wj::wjManagerParams::_i_give_permission_to_break_this_code_default_plc_ip_address_.get(), GetArena());
  swap(distribution_mode_, other->distribution_mode_);
}

::PROTOBUF_NAMESPACE_ID::Metadata wjManagerParams::GetMetadata() const {
  return GetMetadataStatic();
}


// ===================================================================

void CalibParameter::InitAsDefaultInstance() {
}
class CalibParameter::_Internal {
 public:
  using HasBits = decltype(std::declval<CalibParameter>()._has_bits_);
  static void set_has_r(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static void set_has_p(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static void set_has_y(HasBits* has_bits) {
    (*has_bits)[0] |= 4u;
  }
  static void set_has_cx(HasBits* has_bits) {
    (*has_bits)[0] |= 8u;
  }
  static void set_has_cy(HasBits* has_bits) {
    (*has_bits)[0] |= 16u;
  }
  static void set_has_cz(HasBits* has_bits) {
    (*has_bits)[0] |= 32u;
  }
};

CalibParameter::CalibParameter(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  SharedCtor();
  RegisterArenaDtor(arena);
  // @@protoc_insertion_point(arena_constructor:wj.CalibParameter)
}
CalibParameter::CalibParameter(const CalibParameter& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::memcpy(&r_, &from.r_,
    static_cast<size_t>(reinterpret_cast<char*>(&cz_) -
    reinterpret_cast<char*>(&r_)) + sizeof(cz_));
  // @@protoc_insertion_point(copy_constructor:wj.CalibParameter)
}

void CalibParameter::SharedCtor() {
  ::memset(&r_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&cz_) -
      reinterpret_cast<char*>(&r_)) + sizeof(cz_));
}

CalibParameter::~CalibParameter() {
  // @@protoc_insertion_point(destructor:wj.CalibParameter)
  SharedDtor();
  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

void CalibParameter::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
}

void CalibParameter::ArenaDtor(void* object) {
  CalibParameter* _this = reinterpret_cast< CalibParameter* >(object);
  (void)_this;
}
void CalibParameter::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void CalibParameter::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const CalibParameter& CalibParameter::default_instance() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CalibParameter_wj_5flidar_5fconf_2eproto.base);
  return *internal_default_instance();
}


void CalibParameter::Clear() {
// @@protoc_insertion_point(message_clear_start:wj.CalibParameter)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x0000003fu) {
    ::memset(&r_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&cz_) -
        reinterpret_cast<char*>(&r_)) + sizeof(cz_));
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* CalibParameter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // optional float r = 1 [default = 0];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) {
          _Internal::set_has_r(&has_bits);
          r_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float p = 2 [default = 0];
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) {
          _Internal::set_has_p(&has_bits);
          p_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float y = 3 [default = 0];
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) {
          _Internal::set_has_y(&has_bits);
          y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float cx = 4 [default = 0];
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) {
          _Internal::set_has_cx(&has_bits);
          cx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float cy = 5 [default = 0];
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) {
          _Internal::set_has_cy(&has_bits);
          cy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float cz = 6 [default = 0];
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) {
          _Internal::set_has_cz(&has_bits);
          cz_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

::PROTOBUF_NAMESPACE_ID::uint8* CalibParameter::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:wj.CalibParameter)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // optional float r = 1 [default = 0];
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_r(), target);
  }

  // optional float p = 2 [default = 0];
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_p(), target);
  }

  // optional float y = 3 [default = 0];
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_y(), target);
  }

  // optional float cx = 4 [default = 0];
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_cx(), target);
  }

  // optional float cy = 5 [default = 0];
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_cy(), target);
  }

  // optional float cz = 6 [default = 0];
  if (cached_has_bits & 0x00000020u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(6, this->_internal_cz(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:wj.CalibParameter)
  return target;
}

size_t CalibParameter::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:wj.CalibParameter)
  size_t total_size = 0;

  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x0000003fu) {
    // optional float r = 1 [default = 0];
    if (cached_has_bits & 0x00000001u) {
      total_size += 1 + 4;
    }

    // optional float p = 2 [default = 0];
    if (cached_has_bits & 0x00000002u) {
      total_size += 1 + 4;
    }

    // optional float y = 3 [default = 0];
    if (cached_has_bits & 0x00000004u) {
      total_size += 1 + 4;
    }

    // optional float cx = 4 [default = 0];
    if (cached_has_bits & 0x00000008u) {
      total_size += 1 + 4;
    }

    // optional float cy = 5 [default = 0];
    if (cached_has_bits & 0x00000010u) {
      total_size += 1 + 4;
    }

    // optional float cz = 6 [default = 0];
    if (cached_has_bits & 0x00000020u) {
      total_size += 1 + 4;
    }

  }
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void CalibParameter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:wj.CalibParameter)
  GOOGLE_DCHECK_NE(&from, this);
  const CalibParameter* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<CalibParameter>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:wj.CalibParameter)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:wj.CalibParameter)
    MergeFrom(*source);
  }
}

void CalibParameter::MergeFrom(const CalibParameter& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:wj.CalibParameter)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x0000003fu) {
    if (cached_has_bits & 0x00000001u) {
      r_ = from.r_;
    }
    if (cached_has_bits & 0x00000002u) {
      p_ = from.p_;
    }
    if (cached_has_bits & 0x00000004u) {
      y_ = from.y_;
    }
    if (cached_has_bits & 0x00000008u) {
      cx_ = from.cx_;
    }
    if (cached_has_bits & 0x00000010u) {
      cy_ = from.cy_;
    }
    if (cached_has_bits & 0x00000020u) {
      cz_ = from.cz_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

void CalibParameter::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:wj.CalibParameter)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void CalibParameter::CopyFrom(const CalibParameter& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:wj.CalibParameter)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool CalibParameter::IsInitialized() const {
  return true;
}

void CalibParameter::InternalSwap(CalibParameter* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(CalibParameter, cz_)
      + sizeof(CalibParameter::cz_)
      - PROTOBUF_FIELD_OFFSET(CalibParameter, r_)>(
          reinterpret_cast<char*>(&r_),
          reinterpret_cast<char*>(&other->r_));
}

::PROTOBUF_NAMESPACE_ID::Metadata CalibParameter::GetMetadata() const {
  return GetMetadataStatic();
}


// ===================================================================

void lidarExtrinsic::InitAsDefaultInstance() {
  ::wj::_lidarExtrinsic_default_instance_._instance.get_mutable()->calib_ = const_cast< ::wj::CalibParameter*>(
      ::wj::CalibParameter::internal_default_instance());
}
class lidarExtrinsic::_Internal {
 public:
  using HasBits = decltype(std::declval<lidarExtrinsic>()._has_bits_);
  static void set_has_lidar_id(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static const ::wj::CalibParameter& calib(const lidarExtrinsic* msg);
  static void set_has_calib(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000002) ^ 0x00000002) != 0;
  }
};

const ::wj::CalibParameter&
lidarExtrinsic::_Internal::calib(const lidarExtrinsic* msg) {
  return *msg->calib_;
}
lidarExtrinsic::lidarExtrinsic(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  SharedCtor();
  RegisterArenaDtor(arena);
  // @@protoc_insertion_point(arena_constructor:wj.lidarExtrinsic)
}
lidarExtrinsic::lidarExtrinsic(const lidarExtrinsic& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  if (from._internal_has_calib()) {
    calib_ = new ::wj::CalibParameter(*from.calib_);
  } else {
    calib_ = nullptr;
  }
  lidar_id_ = from.lidar_id_;
  // @@protoc_insertion_point(copy_constructor:wj.lidarExtrinsic)
}

void lidarExtrinsic::SharedCtor() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_lidarExtrinsic_wj_5flidar_5fconf_2eproto.base);
  ::memset(&calib_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&lidar_id_) -
      reinterpret_cast<char*>(&calib_)) + sizeof(lidar_id_));
}

lidarExtrinsic::~lidarExtrinsic() {
  // @@protoc_insertion_point(destructor:wj.lidarExtrinsic)
  SharedDtor();
  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

void lidarExtrinsic::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
  if (this != internal_default_instance()) delete calib_;
}

void lidarExtrinsic::ArenaDtor(void* object) {
  lidarExtrinsic* _this = reinterpret_cast< lidarExtrinsic* >(object);
  (void)_this;
}
void lidarExtrinsic::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void lidarExtrinsic::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const lidarExtrinsic& lidarExtrinsic::default_instance() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_lidarExtrinsic_wj_5flidar_5fconf_2eproto.base);
  return *internal_default_instance();
}


void lidarExtrinsic::Clear() {
// @@protoc_insertion_point(message_clear_start:wj.lidarExtrinsic)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000001u) {
    GOOGLE_DCHECK(calib_ != nullptr);
    calib_->Clear();
  }
  lidar_id_ = 0;
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* lidarExtrinsic::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // required int32 lidar_id = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
          _Internal::set_has_lidar_id(&has_bits);
          lidar_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // optional .wj.CalibParameter calib = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
          ptr = ctx->ParseMessage(_internal_mutable_calib(), ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

::PROTOBUF_NAMESPACE_ID::uint8* lidarExtrinsic::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:wj.lidarExtrinsic)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // required int32 lidar_id = 1;
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_lidar_id(), target);
  }

  // optional .wj.CalibParameter calib = 2;
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        2, _Internal::calib(this), target, stream);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:wj.lidarExtrinsic)
  return target;
}

size_t lidarExtrinsic::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:wj.lidarExtrinsic)
  size_t total_size = 0;

  // required int32 lidar_id = 1;
  if (_internal_has_lidar_id()) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
        this->_internal_lidar_id());
  }
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // optional .wj.CalibParameter calib = 2;
  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000001u) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
        *calib_);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void lidarExtrinsic::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:wj.lidarExtrinsic)
  GOOGLE_DCHECK_NE(&from, this);
  const lidarExtrinsic* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<lidarExtrinsic>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:wj.lidarExtrinsic)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:wj.lidarExtrinsic)
    MergeFrom(*source);
  }
}

void lidarExtrinsic::MergeFrom(const lidarExtrinsic& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:wj.lidarExtrinsic)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x00000003u) {
    if (cached_has_bits & 0x00000001u) {
      _internal_mutable_calib()->::wj::CalibParameter::MergeFrom(from._internal_calib());
    }
    if (cached_has_bits & 0x00000002u) {
      lidar_id_ = from.lidar_id_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

void lidarExtrinsic::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:wj.lidarExtrinsic)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void lidarExtrinsic::CopyFrom(const lidarExtrinsic& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:wj.lidarExtrinsic)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool lidarExtrinsic::IsInitialized() const {
  if (_Internal::MissingRequiredFields(_has_bits_)) return false;
  return true;
}

void lidarExtrinsic::InternalSwap(lidarExtrinsic* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(lidarExtrinsic, lidar_id_)
      + sizeof(lidarExtrinsic::lidar_id_)
      - PROTOBUF_FIELD_OFFSET(lidarExtrinsic, calib_)>(
          reinterpret_cast<char*>(&calib_),
          reinterpret_cast<char*>(&other->calib_));
}

::PROTOBUF_NAMESPACE_ID::Metadata lidarExtrinsic::GetMetadata() const {
  return GetMetadataStatic();
}


// ===================================================================

void Region::InitAsDefaultInstance() {
}
class Region::_Internal {
 public:
  using HasBits = decltype(std::declval<Region>()._has_bits_);
  static void set_has_minx(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static void set_has_maxx(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static void set_has_miny(HasBits* has_bits) {
    (*has_bits)[0] |= 4u;
  }
  static void set_has_maxy(HasBits* has_bits) {
    (*has_bits)[0] |= 8u;
  }
  static void set_has_minz(HasBits* has_bits) {
    (*has_bits)[0] |= 16u;
  }
  static void set_has_maxz(HasBits* has_bits) {
    (*has_bits)[0] |= 32u;
  }
  static void set_has_region_id(HasBits* has_bits) {
    (*has_bits)[0] |= 64u;
  }
  static void set_has_turnplate_cx(HasBits* has_bits) {
    (*has_bits)[0] |= 128u;
  }
  static void set_has_turnplate_cy(HasBits* has_bits) {
    (*has_bits)[0] |= 256u;
  }
  static void set_has_border_minx(HasBits* has_bits) {
    (*has_bits)[0] |= 512u;
  }
  static void set_has_border_maxx(HasBits* has_bits) {
    (*has_bits)[0] |= 1024u;
  }
  static void set_has_plc_offsetx(HasBits* has_bits) {
    (*has_bits)[0] |= 2048u;
  }
  static void set_has_plc_offsety(HasBits* has_bits) {
    (*has_bits)[0] |= 4096u;
  }
  static void set_has_plc_offset_degree(HasBits* has_bits) {
    (*has_bits)[0] |= 8192u;
  }
  static void set_has_plc_border_miny(HasBits* has_bits) {
    (*has_bits)[0] |= 16384u;
  }
  static void set_has_car_min_width(HasBits* has_bits) {
    (*has_bits)[0] |= 32768u;
  }
  static void set_has_car_max_width(HasBits* has_bits) {
    (*has_bits)[0] |= 65536u;
  }
  static void set_has_car_min_wheelbase(HasBits* has_bits) {
    (*has_bits)[0] |= 131072u;
  }
  static void set_has_car_max_wheelbase(HasBits* has_bits) {
    (*has_bits)[0] |= 262144u;
  }
  static void set_has_turnplate_angle_limit_anti_clockwise(HasBits* has_bits) {
    (*has_bits)[0] |= 524288u;
  }
  static void set_has_turnplate_angle_limit_clockwise(HasBits* has_bits) {
    (*has_bits)[0] |= 1048576u;
  }
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x001fffff) ^ 0x001fffff) != 0;
  }
};

Region::Region(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena),
  lidar_exts_(arena) {
  SharedCtor();
  RegisterArenaDtor(arena);
  // @@protoc_insertion_point(arena_constructor:wj.Region)
}
Region::Region(const Region& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_),
      lidar_exts_(from.lidar_exts_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::memcpy(&minx_, &from.minx_,
    static_cast<size_t>(reinterpret_cast<char*>(&turnplate_angle_limit_clockwise_) -
    reinterpret_cast<char*>(&minx_)) + sizeof(turnplate_angle_limit_clockwise_));
  // @@protoc_insertion_point(copy_constructor:wj.Region)
}

void Region::SharedCtor() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Region_wj_5flidar_5fconf_2eproto.base);
  ::memset(&minx_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&turnplate_angle_limit_clockwise_) -
      reinterpret_cast<char*>(&minx_)) + sizeof(turnplate_angle_limit_clockwise_));
}

Region::~Region() {
  // @@protoc_insertion_point(destructor:wj.Region)
  SharedDtor();
  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

void Region::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
}

void Region::ArenaDtor(void* object) {
  Region* _this = reinterpret_cast< Region* >(object);
  (void)_this;
}
void Region::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void Region::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const Region& Region::default_instance() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Region_wj_5flidar_5fconf_2eproto.base);
  return *internal_default_instance();
}


void Region::Clear() {
// @@protoc_insertion_point(message_clear_start:wj.Region)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  lidar_exts_.Clear();
  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x000000ffu) {
    ::memset(&minx_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&turnplate_cx_) -
        reinterpret_cast<char*>(&minx_)) + sizeof(turnplate_cx_));
  }
  if (cached_has_bits & 0x0000ff00u) {
    ::memset(&turnplate_cy_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&car_min_width_) -
        reinterpret_cast<char*>(&turnplate_cy_)) + sizeof(car_min_width_));
  }
  if (cached_has_bits & 0x001f0000u) {
    ::memset(&car_max_width_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&turnplate_angle_limit_clockwise_) -
        reinterpret_cast<char*>(&car_max_width_)) + sizeof(turnplate_angle_limit_clockwise_));
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* Region::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // required float minx = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) {
          _Internal::set_has_minx(&has_bits);
          minx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float maxx = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) {
          _Internal::set_has_maxx(&has_bits);
          maxx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float miny = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) {
          _Internal::set_has_miny(&has_bits);
          miny_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float maxy = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) {
          _Internal::set_has_maxy(&has_bits);
          maxy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float minz = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) {
          _Internal::set_has_minz(&has_bits);
          minz_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float maxz = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) {
          _Internal::set_has_maxz(&has_bits);
          maxz_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required int32 region_id = 7;
      case 7:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
          _Internal::set_has_region_id(&has_bits);
          region_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // repeated .wj.lidarExtrinsic lidar_exts = 8;
      case 8:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
          ptr -= 1;
          do {
            ptr += 1;
            ptr = ctx->ParseMessage(_internal_add_lidar_exts(), ptr);
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
        } else goto handle_unusual;
        continue;
      // required float turnplate_cx = 9;
      case 9:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 77)) {
          _Internal::set_has_turnplate_cx(&has_bits);
          turnplate_cx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float turnplate_cy = 10;
      case 10:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 85)) {
          _Internal::set_has_turnplate_cy(&has_bits);
          turnplate_cy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float border_minx = 11;
      case 11:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 93)) {
          _Internal::set_has_border_minx(&has_bits);
          border_minx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float border_maxx = 12;
      case 12:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 101)) {
          _Internal::set_has_border_maxx(&has_bits);
          border_maxx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float plc_offsetx = 13;
      case 13:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 109)) {
          _Internal::set_has_plc_offsetx(&has_bits);
          plc_offsetx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float plc_offsety = 14;
      case 14:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 117)) {
          _Internal::set_has_plc_offsety(&has_bits);
          plc_offsety_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float plc_offset_degree = 15;
      case 15:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 125)) {
          _Internal::set_has_plc_offset_degree(&has_bits);
          plc_offset_degree_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float plc_border_miny = 16;
      case 16:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 133)) {
          _Internal::set_has_plc_border_miny(&has_bits);
          plc_border_miny_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float car_min_width = 17;
      case 17:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 141)) {
          _Internal::set_has_car_min_width(&has_bits);
          car_min_width_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float car_max_width = 18;
      case 18:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 149)) {
          _Internal::set_has_car_max_width(&has_bits);
          car_max_width_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float car_min_wheelbase = 19;
      case 19:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 157)) {
          _Internal::set_has_car_min_wheelbase(&has_bits);
          car_min_wheelbase_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float car_max_wheelbase = 20;
      case 20:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 165)) {
          _Internal::set_has_car_max_wheelbase(&has_bits);
          car_max_wheelbase_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float turnplate_angle_limit_anti_clockwise = 21;
      case 21:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 173)) {
          _Internal::set_has_turnplate_angle_limit_anti_clockwise(&has_bits);
          turnplate_angle_limit_anti_clockwise_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // required float turnplate_angle_limit_clockwise = 22;
      case 22:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 181)) {
          _Internal::set_has_turnplate_angle_limit_clockwise(&has_bits);
          turnplate_angle_limit_clockwise_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

::PROTOBUF_NAMESPACE_ID::uint8* Region::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:wj.Region)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // required float minx = 1;
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_minx(), target);
  }

  // required float maxx = 2;
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_maxx(), target);
  }

  // required float miny = 3;
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_miny(), target);
  }

  // required float maxy = 4;
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_maxy(), target);
  }

  // required float minz = 5;
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_minz(), target);
  }

  // required float maxz = 6;
  if (cached_has_bits & 0x00000020u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(6, this->_internal_maxz(), target);
  }

  // required int32 region_id = 7;
  if (cached_has_bits & 0x00000040u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(7, this->_internal_region_id(), target);
  }

  // repeated .wj.lidarExtrinsic lidar_exts = 8;
  for (unsigned int i = 0,
      n = static_cast<unsigned int>(this->_internal_lidar_exts_size()); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(8, this->_internal_lidar_exts(i), target, stream);
  }

  // required float turnplate_cx = 9;
  if (cached_has_bits & 0x00000080u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(9, this->_internal_turnplate_cx(), target);
  }

  // required float turnplate_cy = 10;
  if (cached_has_bits & 0x00000100u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(10, this->_internal_turnplate_cy(), target);
  }

  // required float border_minx = 11;
  if (cached_has_bits & 0x00000200u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(11, this->_internal_border_minx(), target);
  }

  // required float border_maxx = 12;
  if (cached_has_bits & 0x00000400u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(12, this->_internal_border_maxx(), target);
  }

  // required float plc_offsetx = 13;
  if (cached_has_bits & 0x00000800u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(13, this->_internal_plc_offsetx(), target);
  }

  // required float plc_offsety = 14;
  if (cached_has_bits & 0x00001000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(14, this->_internal_plc_offsety(), target);
  }

  // required float plc_offset_degree = 15;
  if (cached_has_bits & 0x00002000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(15, this->_internal_plc_offset_degree(), target);
  }

  // required float plc_border_miny = 16;
  if (cached_has_bits & 0x00004000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(16, this->_internal_plc_border_miny(), target);
  }

  // required float car_min_width = 17;
  if (cached_has_bits & 0x00008000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(17, this->_internal_car_min_width(), target);
  }

  // required float car_max_width = 18;
  if (cached_has_bits & 0x00010000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(18, this->_internal_car_max_width(), target);
  }

  // required float car_min_wheelbase = 19;
  if (cached_has_bits & 0x00020000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(19, this->_internal_car_min_wheelbase(), target);
  }

  // required float car_max_wheelbase = 20;
  if (cached_has_bits & 0x00040000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(20, this->_internal_car_max_wheelbase(), target);
  }

  // required float turnplate_angle_limit_anti_clockwise = 21;
  if (cached_has_bits & 0x00080000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(21, this->_internal_turnplate_angle_limit_anti_clockwise(), target);
  }

  // required float turnplate_angle_limit_clockwise = 22;
  if (cached_has_bits & 0x00100000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(22, this->_internal_turnplate_angle_limit_clockwise(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:wj.Region)
  return target;
}

size_t Region::RequiredFieldsByteSizeFallback() const {
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:wj.Region)
  size_t total_size = 0;

  if (_internal_has_minx()) {
    // required float minx = 1;
    total_size += 1 + 4;
  }

  if (_internal_has_maxx()) {
    // required float maxx = 2;
    total_size += 1 + 4;
  }

  if (_internal_has_miny()) {
    // required float miny = 3;
    total_size += 1 + 4;
  }

  if (_internal_has_maxy()) {
    // required float maxy = 4;
    total_size += 1 + 4;
  }

  if (_internal_has_minz()) {
    // required float minz = 5;
    total_size += 1 + 4;
  }

  if (_internal_has_maxz()) {
    // required float maxz = 6;
    total_size += 1 + 4;
  }

  if (_internal_has_region_id()) {
    // required int32 region_id = 7;
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
        this->_internal_region_id());
  }

  if (_internal_has_turnplate_cx()) {
    // required float turnplate_cx = 9;
    total_size += 1 + 4;
  }

  if (_internal_has_turnplate_cy()) {
    // required float turnplate_cy = 10;
    total_size += 1 + 4;
  }

  if (_internal_has_border_minx()) {
    // required float border_minx = 11;
    total_size += 1 + 4;
  }

  if (_internal_has_border_maxx()) {
    // required float border_maxx = 12;
    total_size += 1 + 4;
  }

  if (_internal_has_plc_offsetx()) {
    // required float plc_offsetx = 13;
    total_size += 1 + 4;
  }

  if (_internal_has_plc_offsety()) {
    // required float plc_offsety = 14;
    total_size += 1 + 4;
  }

  if (_internal_has_plc_offset_degree()) {
    // required float plc_offset_degree = 15;
    total_size += 1 + 4;
  }

  if (_internal_has_plc_border_miny()) {
    // required float plc_border_miny = 16;
    total_size += 2 + 4;
  }

  if (_internal_has_car_min_width()) {
    // required float car_min_width = 17;
    total_size += 2 + 4;
  }

  if (_internal_has_car_max_width()) {
    // required float car_max_width = 18;
    total_size += 2 + 4;
  }

  if (_internal_has_car_min_wheelbase()) {
    // required float car_min_wheelbase = 19;
    total_size += 2 + 4;
  }

  if (_internal_has_car_max_wheelbase()) {
    // required float car_max_wheelbase = 20;
    total_size += 2 + 4;
  }

  if (_internal_has_turnplate_angle_limit_anti_clockwise()) {
    // required float turnplate_angle_limit_anti_clockwise = 21;
    total_size += 2 + 4;
  }

  if (_internal_has_turnplate_angle_limit_clockwise()) {
    // required float turnplate_angle_limit_clockwise = 22;
    total_size += 2 + 4;
  }

  return total_size;
}
size_t Region::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:wj.Region)
  size_t total_size = 0;

  if (((_has_bits_[0] & 0x001fffff) ^ 0x001fffff) == 0) {  // All required fields are present.
    // required float minx = 1;
    total_size += 1 + 4;

    // required float maxx = 2;
    total_size += 1 + 4;

    // required float miny = 3;
    total_size += 1 + 4;

    // required float maxy = 4;
    total_size += 1 + 4;

    // required float minz = 5;
    total_size += 1 + 4;

    // required float maxz = 6;
    total_size += 1 + 4;

    // required int32 region_id = 7;
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
        this->_internal_region_id());

    // required float turnplate_cx = 9;
    total_size += 1 + 4;

    // required float turnplate_cy = 10;
    total_size += 1 + 4;

    // required float border_minx = 11;
    total_size += 1 + 4;

    // required float border_maxx = 12;
    total_size += 1 + 4;

    // required float plc_offsetx = 13;
    total_size += 1 + 4;

    // required float plc_offsety = 14;
    total_size += 1 + 4;

    // required float plc_offset_degree = 15;
    total_size += 1 + 4;

    // required float plc_border_miny = 16;
    total_size += 2 + 4;

    // required float car_min_width = 17;
    total_size += 2 + 4;

    // required float car_max_width = 18;
    total_size += 2 + 4;

    // required float car_min_wheelbase = 19;
    total_size += 2 + 4;

    // required float car_max_wheelbase = 20;
    total_size += 2 + 4;

    // required float turnplate_angle_limit_anti_clockwise = 21;
    total_size += 2 + 4;

    // required float turnplate_angle_limit_clockwise = 22;
    total_size += 2 + 4;

  } else {
    total_size += RequiredFieldsByteSizeFallback();
  }
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // repeated .wj.lidarExtrinsic lidar_exts = 8;
  total_size += 1UL * this->_internal_lidar_exts_size();
  for (const auto& msg : this->lidar_exts_) {
    total_size +=
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void Region::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:wj.Region)
  GOOGLE_DCHECK_NE(&from, this);
  const Region* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Region>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:wj.Region)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:wj.Region)
    MergeFrom(*source);
  }
}

void Region::MergeFrom(const Region& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:wj.Region)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  lidar_exts_.MergeFrom(from.lidar_exts_);
  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x000000ffu) {
    if (cached_has_bits & 0x00000001u) {
      minx_ = from.minx_;
    }
    if (cached_has_bits & 0x00000002u) {
      maxx_ = from.maxx_;
    }
    if (cached_has_bits & 0x00000004u) {
      miny_ = from.miny_;
    }
    if (cached_has_bits & 0x00000008u) {
      maxy_ = from.maxy_;
    }
    if (cached_has_bits & 0x00000010u) {
      minz_ = from.minz_;
    }
    if (cached_has_bits & 0x00000020u) {
      maxz_ = from.maxz_;
    }
    if (cached_has_bits & 0x00000040u) {
      region_id_ = from.region_id_;
    }
    if (cached_has_bits & 0x00000080u) {
      turnplate_cx_ = from.turnplate_cx_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
  if (cached_has_bits & 0x0000ff00u) {
    if (cached_has_bits & 0x00000100u) {
      turnplate_cy_ = from.turnplate_cy_;
    }
    if (cached_has_bits & 0x00000200u) {
      border_minx_ = from.border_minx_;
    }
    if (cached_has_bits & 0x00000400u) {
      border_maxx_ = from.border_maxx_;
    }
    if (cached_has_bits & 0x00000800u) {
      plc_offsetx_ = from.plc_offsetx_;
    }
    if (cached_has_bits & 0x00001000u) {
      plc_offsety_ = from.plc_offsety_;
    }
    if (cached_has_bits & 0x00002000u) {
      plc_offset_degree_ = from.plc_offset_degree_;
    }
    if (cached_has_bits & 0x00004000u) {
      plc_border_miny_ = from.plc_border_miny_;
    }
    if (cached_has_bits & 0x00008000u) {
      car_min_width_ = from.car_min_width_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
  if (cached_has_bits & 0x001f0000u) {
    if (cached_has_bits & 0x00010000u) {
      car_max_width_ = from.car_max_width_;
    }
    if (cached_has_bits & 0x00020000u) {
      car_min_wheelbase_ = from.car_min_wheelbase_;
    }
    if (cached_has_bits & 0x00040000u) {
      car_max_wheelbase_ = from.car_max_wheelbase_;
    }
    if (cached_has_bits & 0x00080000u) {
      turnplate_angle_limit_anti_clockwise_ = from.turnplate_angle_limit_anti_clockwise_;
    }
    if (cached_has_bits & 0x00100000u) {
      turnplate_angle_limit_clockwise_ = from.turnplate_angle_limit_clockwise_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

void Region::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:wj.Region)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void Region::CopyFrom(const Region& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:wj.Region)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool Region::IsInitialized() const {
  if (_Internal::MissingRequiredFields(_has_bits_)) return false;
  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(lidar_exts_)) return false;
  return true;
}

void Region::InternalSwap(Region* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  lidar_exts_.InternalSwap(&other->lidar_exts_);
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(Region, turnplate_angle_limit_clockwise_)
      + sizeof(Region::turnplate_angle_limit_clockwise_)
      - PROTOBUF_FIELD_OFFSET(Region, minx_)>(
          reinterpret_cast<char*>(&minx_),
          reinterpret_cast<char*>(&other->minx_));
}

::PROTOBUF_NAMESPACE_ID::Metadata Region::GetMetadata() const {
  return GetMetadataStatic();
}


// ===================================================================

void wjLidarParams::InitAsDefaultInstance() {
  ::wj::_wjLidarParams_default_instance_._instance.get_mutable()->net_config_ = const_cast< ::wj::netConfig*>(
      ::wj::netConfig::internal_default_instance());
  ::wj::_wjLidarParams_default_instance_._instance.get_mutable()->transform_ = const_cast< ::wj::Transform2d*>(
      ::wj::Transform2d::internal_default_instance());
  ::wj::_wjLidarParams_default_instance_._instance.get_mutable()->scan_limit_ = const_cast< ::wj::scanLimit*>(
      ::wj::scanLimit::internal_default_instance());
}
class wjLidarParams::_Internal {
 public:
  using HasBits = decltype(std::declval<wjLidarParams>()._has_bits_);
  static void set_has_angle_min(HasBits* has_bits) {
    (*has_bits)[0] |= 64u;
  }
  static void set_has_angle_max(HasBits* has_bits) {
    (*has_bits)[0] |= 128u;
  }
  static void set_has_angle_increment(HasBits* has_bits) {
    (*has_bits)[0] |= 256u;
  }
  static void set_has_time_increment(HasBits* has_bits) {
    (*has_bits)[0] |= 512u;
  }
  static void set_has_range_min(HasBits* has_bits) {
    (*has_bits)[0] |= 8u;
  }
  static void set_has_range_max(HasBits* has_bits) {
    (*has_bits)[0] |= 32u;
  }
  static const ::wj::netConfig& net_config(const wjLidarParams* msg);
  static void set_has_net_config(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static const ::wj::Transform2d& transform(const wjLidarParams* msg);
  static void set_has_transform(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static const ::wj::scanLimit& scan_limit(const wjLidarParams* msg);
  static void set_has_scan_limit(HasBits* has_bits) {
    (*has_bits)[0] |= 4u;
  }
  static void set_has_lidar_id(HasBits* has_bits) {
    (*has_bits)[0] |= 16u;
  }
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000017) ^ 0x00000017) != 0;
  }
};

const ::wj::netConfig&
wjLidarParams::_Internal::net_config(const wjLidarParams* msg) {
  return *msg->net_config_;
}
const ::wj::Transform2d&
wjLidarParams::_Internal::transform(const wjLidarParams* msg) {
  return *msg->transform_;
}
const ::wj::scanLimit&
wjLidarParams::_Internal::scan_limit(const wjLidarParams* msg) {
  return *msg->scan_limit_;
}
wjLidarParams::wjLidarParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  SharedCtor();
  RegisterArenaDtor(arena);
  // @@protoc_insertion_point(arena_constructor:wj.wjLidarParams)
}
wjLidarParams::wjLidarParams(const wjLidarParams& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  if (from._internal_has_net_config()) {
    net_config_ = new ::wj::netConfig(*from.net_config_);
  } else {
    net_config_ = nullptr;
  }
  if (from._internal_has_transform()) {
    transform_ = new ::wj::Transform2d(*from.transform_);
  } else {
    transform_ = nullptr;
  }
  if (from._internal_has_scan_limit()) {
    scan_limit_ = new ::wj::scanLimit(*from.scan_limit_);
  } else {
    scan_limit_ = nullptr;
  }
  ::memcpy(&range_min_, &from.range_min_,
    static_cast<size_t>(reinterpret_cast<char*>(&time_increment_) -
    reinterpret_cast<char*>(&range_min_)) + sizeof(time_increment_));
  // @@protoc_insertion_point(copy_constructor:wj.wjLidarParams)
}

void wjLidarParams::SharedCtor() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_wjLidarParams_wj_5flidar_5fconf_2eproto.base);
  ::memset(&net_config_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&lidar_id_) -
      reinterpret_cast<char*>(&net_config_)) + sizeof(lidar_id_));
  range_max_ = 30;
  angle_min_ = -2.3561945f;
  angle_max_ = 2.3561945f;
  angle_increment_ = 0.00582f;
  time_increment_ = 6.2e-05f;
}

wjLidarParams::~wjLidarParams() {
  // @@protoc_insertion_point(destructor:wj.wjLidarParams)
  SharedDtor();
  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

void wjLidarParams::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
  if (this != internal_default_instance()) delete net_config_;
  if (this != internal_default_instance()) delete transform_;
  if (this != internal_default_instance()) delete scan_limit_;
}

void wjLidarParams::ArenaDtor(void* object) {
  wjLidarParams* _this = reinterpret_cast< wjLidarParams* >(object);
  (void)_this;
}
void wjLidarParams::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void wjLidarParams::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const wjLidarParams& wjLidarParams::default_instance() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_wjLidarParams_wj_5flidar_5fconf_2eproto.base);
  return *internal_default_instance();
}


void wjLidarParams::Clear() {
// @@protoc_insertion_point(message_clear_start:wj.wjLidarParams)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    if (cached_has_bits & 0x00000001u) {
      GOOGLE_DCHECK(net_config_ != nullptr);
      net_config_->Clear();
    }
    if (cached_has_bits & 0x00000002u) {
      GOOGLE_DCHECK(transform_ != nullptr);
      transform_->Clear();
    }
    if (cached_has_bits & 0x00000004u) {
      GOOGLE_DCHECK(scan_limit_ != nullptr);
      scan_limit_->Clear();
    }
  }
  if (cached_has_bits & 0x000000f8u) {
    ::memset(&range_min_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&lidar_id_) -
        reinterpret_cast<char*>(&range_min_)) + sizeof(lidar_id_));
    range_max_ = 30;
    angle_min_ = -2.3561945f;
    angle_max_ = 2.3561945f;
  }
  if (cached_has_bits & 0x00000300u) {
    angle_increment_ = 0.00582f;
    time_increment_ = 6.2e-05f;
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* wjLidarParams::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // optional float angle_min = 1 [default = -2.3561945];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) {
          _Internal::set_has_angle_min(&has_bits);
          angle_min_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float angle_max = 2 [default = 2.3561945];
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) {
          _Internal::set_has_angle_max(&has_bits);
          angle_max_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float angle_increment = 3 [default = 0.00582];
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) {
          _Internal::set_has_angle_increment(&has_bits);
          angle_increment_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float time_increment = 4 [default = 6.2e-05];
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) {
          _Internal::set_has_time_increment(&has_bits);
          time_increment_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional int32 range_min = 5 [default = 0];
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
          _Internal::set_has_range_min(&has_bits);
          range_min_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // optional int32 range_max = 6 [default = 30];
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
          _Internal::set_has_range_max(&has_bits);
          range_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // required .wj.netConfig net_config = 7;
      case 7:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
          ptr = ctx->ParseMessage(_internal_mutable_net_config(), ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // required .wj.Transform2d transform = 8;
      case 8:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
          ptr = ctx->ParseMessage(_internal_mutable_transform(), ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // required .wj.scanLimit scan_limit = 9;
      case 9:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
          ptr = ctx->ParseMessage(_internal_mutable_scan_limit(), ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // required int32 lidar_id = 10 [default = 0];
      case 10:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
          _Internal::set_has_lidar_id(&has_bits);
          lidar_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

::PROTOBUF_NAMESPACE_ID::uint8* wjLidarParams::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:wj.wjLidarParams)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // optional float angle_min = 1 [default = -2.3561945];
  if (cached_has_bits & 0x00000040u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_angle_min(), target);
  }

  // optional float angle_max = 2 [default = 2.3561945];
  if (cached_has_bits & 0x00000080u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_angle_max(), target);
  }

  // optional float angle_increment = 3 [default = 0.00582];
  if (cached_has_bits & 0x00000100u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_angle_increment(), target);
  }

  // optional float time_increment = 4 [default = 6.2e-05];
  if (cached_has_bits & 0x00000200u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_time_increment(), target);
  }

  // optional int32 range_min = 5 [default = 0];
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(5, this->_internal_range_min(), target);
  }

  // optional int32 range_max = 6 [default = 30];
  if (cached_has_bits & 0x00000020u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(6, this->_internal_range_max(), target);
  }

  // required .wj.netConfig net_config = 7;
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        7, _Internal::net_config(this), target, stream);
  }

  // required .wj.Transform2d transform = 8;
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        8, _Internal::transform(this), target, stream);
  }

  // required .wj.scanLimit scan_limit = 9;
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        9, _Internal::scan_limit(this), target, stream);
  }

  // required int32 lidar_id = 10 [default = 0];
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(10, this->_internal_lidar_id(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:wj.wjLidarParams)
  return target;
}

size_t wjLidarParams::RequiredFieldsByteSizeFallback() const {
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:wj.wjLidarParams)
  size_t total_size = 0;

  if (_internal_has_net_config()) {
    // required .wj.netConfig net_config = 7;
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
        *net_config_);
  }

  if (_internal_has_transform()) {
    // required .wj.Transform2d transform = 8;
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
        *transform_);
  }

  if (_internal_has_scan_limit()) {
    // required .wj.scanLimit scan_limit = 9;
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
        *scan_limit_);
  }

  if (_internal_has_lidar_id()) {
    // required int32 lidar_id = 10 [default = 0];
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
        this->_internal_lidar_id());
  }

  return total_size;
}
size_t wjLidarParams::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:wj.wjLidarParams)
  size_t total_size = 0;

  if (((_has_bits_[0] & 0x00000017) ^ 0x00000017) == 0) {  // All required fields are present.
    // required .wj.netConfig net_config = 7;
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
        *net_config_);

    // required .wj.Transform2d transform = 8;
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
        *transform_);

    // required .wj.scanLimit scan_limit = 9;
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
        *scan_limit_);

    // required int32 lidar_id = 10 [default = 0];
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
        this->_internal_lidar_id());

  } else {
    total_size += RequiredFieldsByteSizeFallback();
  }
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // optional int32 range_min = 5 [default = 0];
  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000008u) {
    total_size += 1 +
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
        this->_internal_range_min());
  }

  if (cached_has_bits & 0x000000e0u) {
    // optional int32 range_max = 6 [default = 30];
    if (cached_has_bits & 0x00000020u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
          this->_internal_range_max());
    }

    // optional float angle_min = 1 [default = -2.3561945];
    if (cached_has_bits & 0x00000040u) {
      total_size += 1 + 4;
    }

    // optional float angle_max = 2 [default = 2.3561945];
    if (cached_has_bits & 0x00000080u) {
      total_size += 1 + 4;
    }

  }
  if (cached_has_bits & 0x00000300u) {
    // optional float angle_increment = 3 [default = 0.00582];
    if (cached_has_bits & 0x00000100u) {
      total_size += 1 + 4;
    }

    // optional float time_increment = 4 [default = 6.2e-05];
    if (cached_has_bits & 0x00000200u) {
      total_size += 1 + 4;
    }

  }
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void wjLidarParams::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:wj.wjLidarParams)
  GOOGLE_DCHECK_NE(&from, this);
  const wjLidarParams* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<wjLidarParams>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:wj.wjLidarParams)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:wj.wjLidarParams)
    MergeFrom(*source);
  }
}

void wjLidarParams::MergeFrom(const wjLidarParams& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:wj.wjLidarParams)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x000000ffu) {
    if (cached_has_bits & 0x00000001u) {
      _internal_mutable_net_config()->::wj::netConfig::MergeFrom(from._internal_net_config());
    }
    if (cached_has_bits & 0x00000002u) {
      _internal_mutable_transform()->::wj::Transform2d::MergeFrom(from._internal_transform());
    }
    if (cached_has_bits & 0x00000004u) {
      _internal_mutable_scan_limit()->::wj::scanLimit::MergeFrom(from._internal_scan_limit());
    }
    if (cached_has_bits & 0x00000008u) {
      range_min_ = from.range_min_;
    }
    if (cached_has_bits & 0x00000010u) {
      lidar_id_ = from.lidar_id_;
    }
    if (cached_has_bits & 0x00000020u) {
      range_max_ = from.range_max_;
    }
    if (cached_has_bits & 0x00000040u) {
      angle_min_ = from.angle_min_;
    }
    if (cached_has_bits & 0x00000080u) {
      angle_max_ = from.angle_max_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
  if (cached_has_bits & 0x00000300u) {
    if (cached_has_bits & 0x00000100u) {
      angle_increment_ = from.angle_increment_;
    }
    if (cached_has_bits & 0x00000200u) {
      time_increment_ = from.time_increment_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

void wjLidarParams::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:wj.wjLidarParams)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void wjLidarParams::CopyFrom(const wjLidarParams& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:wj.wjLidarParams)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool wjLidarParams::IsInitialized() const {
  if (_Internal::MissingRequiredFields(_has_bits_)) return false;
  return true;
}

void wjLidarParams::InternalSwap(wjLidarParams* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(wjLidarParams, lidar_id_)
      + sizeof(wjLidarParams::lidar_id_)
      - PROTOBUF_FIELD_OFFSET(wjLidarParams, net_config_)>(
          reinterpret_cast<char*>(&net_config_),
          reinterpret_cast<char*>(&other->net_config_));
  swap(range_max_, other->range_max_);
  swap(angle_min_, other->angle_min_);
  swap(angle_max_, other->angle_max_);
  swap(angle_increment_, other->angle_increment_);
  swap(time_increment_, other->time_increment_);
}

::PROTOBUF_NAMESPACE_ID::Metadata wjLidarParams::GetMetadata() const {
  return GetMetadataStatic();
}


// ===================================================================

void netConfig::InitAsDefaultInstance() {
}
class netConfig::_Internal {
 public:
  using HasBits = decltype(std::declval<netConfig>()._has_bits_);
  static void set_has_ip_address(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static void set_has_port(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
};

netConfig::netConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  SharedCtor();
  RegisterArenaDtor(arena);
  // @@protoc_insertion_point(arena_constructor:wj.netConfig)
}
netConfig::netConfig(const netConfig& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ip_address_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  if (from._internal_has_ip_address()) {
    ip_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_ip_address(),
      GetArena());
  }
  port_ = from.port_;
  // @@protoc_insertion_point(copy_constructor:wj.netConfig)
}

void netConfig::SharedCtor() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_netConfig_wj_5flidar_5fconf_2eproto.base);
  ip_address_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  port_ = 8000;
}

netConfig::~netConfig() {
  // @@protoc_insertion_point(destructor:wj.netConfig)
  SharedDtor();
  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

void netConfig::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
  ip_address_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}

void netConfig::ArenaDtor(void* object) {
  netConfig* _this = reinterpret_cast< netConfig* >(object);
  (void)_this;
}
void netConfig::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void netConfig::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const netConfig& netConfig::default_instance() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_netConfig_wj_5flidar_5fconf_2eproto.base);
  return *internal_default_instance();
}


void netConfig::Clear() {
// @@protoc_insertion_point(message_clear_start:wj.netConfig)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000003u) {
    if (cached_has_bits & 0x00000001u) {
      ip_address_.ClearNonDefaultToEmpty();
    }
    port_ = 8000;
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* netConfig::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // optional string ip_address = 1 [default = ""];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
          auto str = _internal_mutable_ip_address();
          ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
          #ifndef NDEBUG
          ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "wj.netConfig.ip_address");
          #endif  // !NDEBUG
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // optional int32 port = 2 [default = 8000];
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
          _Internal::set_has_port(&has_bits);
          port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

::PROTOBUF_NAMESPACE_ID::uint8* netConfig::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:wj.netConfig)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // optional string ip_address = 1 [default = ""];
  if (cached_has_bits & 0x00000001u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_ip_address().data(), static_cast<int>(this->_internal_ip_address().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "wj.netConfig.ip_address");
    target = stream->WriteStringMaybeAliased(
        1, this->_internal_ip_address(), target);
  }

  // optional int32 port = 2 [default = 8000];
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_port(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:wj.netConfig)
  return target;
}

size_t netConfig::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:wj.netConfig)
  size_t total_size = 0;

  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000003u) {
    // optional string ip_address = 1 [default = ""];
    if (cached_has_bits & 0x00000001u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_ip_address());
    }

    // optional int32 port = 2 [default = 8000];
    if (cached_has_bits & 0x00000002u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
          this->_internal_port());
    }

  }
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void netConfig::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:wj.netConfig)
  GOOGLE_DCHECK_NE(&from, this);
  const netConfig* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<netConfig>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:wj.netConfig)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:wj.netConfig)
    MergeFrom(*source);
  }
}

void netConfig::MergeFrom(const netConfig& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:wj.netConfig)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x00000003u) {
    if (cached_has_bits & 0x00000001u) {
      _internal_set_ip_address(from._internal_ip_address());
    }
    if (cached_has_bits & 0x00000002u) {
      port_ = from.port_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

void netConfig::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:wj.netConfig)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void netConfig::CopyFrom(const netConfig& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:wj.netConfig)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool netConfig::IsInitialized() const {
  return true;
}

void netConfig::InternalSwap(netConfig* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  ip_address_.Swap(&other->ip_address_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  swap(port_, other->port_);
}

::PROTOBUF_NAMESPACE_ID::Metadata netConfig::GetMetadata() const {
  return GetMetadataStatic();
}


// ===================================================================

void Transform2d::InitAsDefaultInstance() {
}
class Transform2d::_Internal {
 public:
  using HasBits = decltype(std::declval<Transform2d>()._has_bits_);
  static void set_has_m00(HasBits* has_bits) {
    (*has_bits)[0] |= 16u;
  }
  static void set_has_m01(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static void set_has_m02(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static void set_has_m10(HasBits* has_bits) {
    (*has_bits)[0] |= 4u;
  }
  static void set_has_m11(HasBits* has_bits) {
    (*has_bits)[0] |= 32u;
  }
  static void set_has_m12(HasBits* has_bits) {
    (*has_bits)[0] |= 8u;
  }
};

Transform2d::Transform2d(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  SharedCtor();
  RegisterArenaDtor(arena);
  // @@protoc_insertion_point(arena_constructor:wj.Transform2d)
}
Transform2d::Transform2d(const Transform2d& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::memcpy(&m01_, &from.m01_,
    static_cast<size_t>(reinterpret_cast<char*>(&m11_) -
    reinterpret_cast<char*>(&m01_)) + sizeof(m11_));
  // @@protoc_insertion_point(copy_constructor:wj.Transform2d)
}

void Transform2d::SharedCtor() {
  ::memset(&m01_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&m12_) -
      reinterpret_cast<char*>(&m01_)) + sizeof(m12_));
  m00_ = 1;
  m11_ = 1;
}

Transform2d::~Transform2d() {
  // @@protoc_insertion_point(destructor:wj.Transform2d)
  SharedDtor();
  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

void Transform2d::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
}

void Transform2d::ArenaDtor(void* object) {
  Transform2d* _this = reinterpret_cast< Transform2d* >(object);
  (void)_this;
}
void Transform2d::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void Transform2d::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const Transform2d& Transform2d::default_instance() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Transform2d_wj_5flidar_5fconf_2eproto.base);
  return *internal_default_instance();
}


void Transform2d::Clear() {
// @@protoc_insertion_point(message_clear_start:wj.Transform2d)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x0000003fu) {
    ::memset(&m01_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&m12_) -
        reinterpret_cast<char*>(&m01_)) + sizeof(m12_));
    m00_ = 1;
    m11_ = 1;
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* Transform2d::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // optional float m00 = 1 [default = 1];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) {
          _Internal::set_has_m00(&has_bits);
          m00_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float m01 = 2 [default = 0];
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) {
          _Internal::set_has_m01(&has_bits);
          m01_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float m02 = 3 [default = 0];
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) {
          _Internal::set_has_m02(&has_bits);
          m02_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float m10 = 4 [default = 0];
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) {
          _Internal::set_has_m10(&has_bits);
          m10_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float m11 = 5 [default = 1];
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) {
          _Internal::set_has_m11(&has_bits);
          m11_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float m12 = 6 [default = 0];
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) {
          _Internal::set_has_m12(&has_bits);
          m12_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

::PROTOBUF_NAMESPACE_ID::uint8* Transform2d::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:wj.Transform2d)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // optional float m00 = 1 [default = 1];
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_m00(), target);
  }

  // optional float m01 = 2 [default = 0];
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_m01(), target);
  }

  // optional float m02 = 3 [default = 0];
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_m02(), target);
  }

  // optional float m10 = 4 [default = 0];
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_m10(), target);
  }

  // optional float m11 = 5 [default = 1];
  if (cached_has_bits & 0x00000020u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_m11(), target);
  }

  // optional float m12 = 6 [default = 0];
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(6, this->_internal_m12(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:wj.Transform2d)
  return target;
}

size_t Transform2d::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:wj.Transform2d)
  size_t total_size = 0;

  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x0000003fu) {
    // optional float m01 = 2 [default = 0];
    if (cached_has_bits & 0x00000001u) {
      total_size += 1 + 4;
    }

    // optional float m02 = 3 [default = 0];
    if (cached_has_bits & 0x00000002u) {
      total_size += 1 + 4;
    }

    // optional float m10 = 4 [default = 0];
    if (cached_has_bits & 0x00000004u) {
      total_size += 1 + 4;
    }

    // optional float m12 = 6 [default = 0];
    if (cached_has_bits & 0x00000008u) {
      total_size += 1 + 4;
    }

    // optional float m00 = 1 [default = 1];
    if (cached_has_bits & 0x00000010u) {
      total_size += 1 + 4;
    }

    // optional float m11 = 5 [default = 1];
    if (cached_has_bits & 0x00000020u) {
      total_size += 1 + 4;
    }

  }
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void Transform2d::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:wj.Transform2d)
  GOOGLE_DCHECK_NE(&from, this);
  const Transform2d* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Transform2d>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:wj.Transform2d)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:wj.Transform2d)
    MergeFrom(*source);
  }
}

void Transform2d::MergeFrom(const Transform2d& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:wj.Transform2d)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x0000003fu) {
    if (cached_has_bits & 0x00000001u) {
      m01_ = from.m01_;
    }
    if (cached_has_bits & 0x00000002u) {
      m02_ = from.m02_;
    }
    if (cached_has_bits & 0x00000004u) {
      m10_ = from.m10_;
    }
    if (cached_has_bits & 0x00000008u) {
      m12_ = from.m12_;
    }
    if (cached_has_bits & 0x00000010u) {
      m00_ = from.m00_;
    }
    if (cached_has_bits & 0x00000020u) {
      m11_ = from.m11_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

void Transform2d::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:wj.Transform2d)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void Transform2d::CopyFrom(const Transform2d& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:wj.Transform2d)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool Transform2d::IsInitialized() const {
  return true;
}

void Transform2d::InternalSwap(Transform2d* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(Transform2d, m12_)
      + sizeof(Transform2d::m12_)
      - PROTOBUF_FIELD_OFFSET(Transform2d, m01_)>(
          reinterpret_cast<char*>(&m01_),
          reinterpret_cast<char*>(&other->m01_));
  swap(m00_, other->m00_);
  swap(m11_, other->m11_);
}

::PROTOBUF_NAMESPACE_ID::Metadata Transform2d::GetMetadata() const {
  return GetMetadataStatic();
}


// ===================================================================

void scanLimit::InitAsDefaultInstance() {
}
class scanLimit::_Internal {
 public:
  using HasBits = decltype(std::declval<scanLimit>()._has_bits_);
  static void set_has_dist_limit(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static void set_has_minx(HasBits* has_bits) {
    (*has_bits)[0] |= 4u;
  }
  static void set_has_maxx(HasBits* has_bits) {
    (*has_bits)[0] |= 8u;
  }
  static void set_has_miny(HasBits* has_bits) {
    (*has_bits)[0] |= 16u;
  }
  static void set_has_maxy(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
};

scanLimit::scanLimit(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  SharedCtor();
  RegisterArenaDtor(arena);
  // @@protoc_insertion_point(arena_constructor:wj.scanLimit)
}
scanLimit::scanLimit(const scanLimit& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::memcpy(&maxy_, &from.maxy_,
    static_cast<size_t>(reinterpret_cast<char*>(&miny_) -
    reinterpret_cast<char*>(&maxy_)) + sizeof(miny_));
  // @@protoc_insertion_point(copy_constructor:wj.scanLimit)
}

void scanLimit::SharedCtor() {
  maxy_ = 3.5f;
  dist_limit_ = 8;
  minx_ = -6;
  maxx_ = -0.2f;
  miny_ = -3.5f;
}

scanLimit::~scanLimit() {
  // @@protoc_insertion_point(destructor:wj.scanLimit)
  SharedDtor();
  _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

void scanLimit::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
}

void scanLimit::ArenaDtor(void* object) {
  scanLimit* _this = reinterpret_cast< scanLimit* >(object);
  (void)_this;
}
void scanLimit::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void scanLimit::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}
const scanLimit& scanLimit::default_instance() {
  ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_scanLimit_wj_5flidar_5fconf_2eproto.base);
  return *internal_default_instance();
}


void scanLimit::Clear() {
// @@protoc_insertion_point(message_clear_start:wj.scanLimit)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x0000001fu) {
    maxy_ = 3.5f;
    dist_limit_ = 8;
    minx_ = -6;
    maxx_ = -0.2f;
    miny_ = -3.5f;
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* scanLimit::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // optional float dist_limit = 1 [default = 8];
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) {
          _Internal::set_has_dist_limit(&has_bits);
          dist_limit_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float minx = 2 [default = -6];
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) {
          _Internal::set_has_minx(&has_bits);
          minx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float maxx = 3 [default = -0.2];
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) {
          _Internal::set_has_maxx(&has_bits);
          maxx_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float miny = 4 [default = -3.5];
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) {
          _Internal::set_has_miny(&has_bits);
          miny_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      // optional float maxy = 5 [default = 3.5];
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) {
          _Internal::set_has_maxy(&has_bits);
          maxy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
          ptr += sizeof(float);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

::PROTOBUF_NAMESPACE_ID::uint8* scanLimit::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:wj.scanLimit)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // optional float dist_limit = 1 [default = 8];
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_dist_limit(), target);
  }

  // optional float minx = 2 [default = -6];
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_minx(), target);
  }

  // optional float maxx = 3 [default = -0.2];
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_maxx(), target);
  }

  // optional float miny = 4 [default = -3.5];
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_miny(), target);
  }

  // optional float maxy = 5 [default = 3.5];
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_maxy(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:wj.scanLimit)
  return target;
}

size_t scanLimit::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:wj.scanLimit)
  size_t total_size = 0;

  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x0000001fu) {
    // optional float maxy = 5 [default = 3.5];
    if (cached_has_bits & 0x00000001u) {
      total_size += 1 + 4;
    }

    // optional float dist_limit = 1 [default = 8];
    if (cached_has_bits & 0x00000002u) {
      total_size += 1 + 4;
    }

    // optional float minx = 2 [default = -6];
    if (cached_has_bits & 0x00000004u) {
      total_size += 1 + 4;
    }

    // optional float maxx = 3 [default = -0.2];
    if (cached_has_bits & 0x00000008u) {
      total_size += 1 + 4;
    }

    // optional float miny = 4 [default = -3.5];
    if (cached_has_bits & 0x00000010u) {
      total_size += 1 + 4;
    }

  }
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

void scanLimit::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:wj.scanLimit)
  GOOGLE_DCHECK_NE(&from, this);
  const scanLimit* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<scanLimit>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:wj.scanLimit)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:wj.scanLimit)
    MergeFrom(*source);
  }
}

void scanLimit::MergeFrom(const scanLimit& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:wj.scanLimit)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x0000001fu) {
    if (cached_has_bits & 0x00000001u) {
      maxy_ = from.maxy_;
    }
    if (cached_has_bits & 0x00000002u) {
      dist_limit_ = from.dist_limit_;
    }
    if (cached_has_bits & 0x00000004u) {
      minx_ = from.minx_;
    }
    if (cached_has_bits & 0x00000008u) {
      maxx_ = from.maxx_;
    }
    if (cached_has_bits & 0x00000010u) {
      miny_ = from.miny_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

void scanLimit::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:wj.scanLimit)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void scanLimit::CopyFrom(const scanLimit& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:wj.scanLimit)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool scanLimit::IsInitialized() const {
  return true;
}

void scanLimit::InternalSwap(scanLimit* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  swap(maxy_, other->maxy_);
  swap(dist_limit_, other->dist_limit_);
  swap(minx_, other->minx_);
  swap(maxx_, other->maxx_);
  swap(miny_, other->miny_);
}

::PROTOBUF_NAMESPACE_ID::Metadata scanLimit::GetMetadata() const {
  return GetMetadataStatic();
}


// @@protoc_insertion_point(namespace_scope)
}  // namespace wj
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::wj::wjManagerParams* Arena::CreateMaybeMessage< ::wj::wjManagerParams >(Arena* arena) {
  return Arena::CreateMessageInternal< ::wj::wjManagerParams >(arena);
}
template<> PROTOBUF_NOINLINE ::wj::CalibParameter* Arena::CreateMaybeMessage< ::wj::CalibParameter >(Arena* arena) {
  return Arena::CreateMessageInternal< ::wj::CalibParameter >(arena);
}
template<> PROTOBUF_NOINLINE ::wj::lidarExtrinsic* Arena::CreateMaybeMessage< ::wj::lidarExtrinsic >(Arena* arena) {
  return Arena::CreateMessageInternal< ::wj::lidarExtrinsic >(arena);
}
template<> PROTOBUF_NOINLINE ::wj::Region* Arena::CreateMaybeMessage< ::wj::Region >(Arena* arena) {
  return Arena::CreateMessageInternal< ::wj::Region >(arena);
}
template<> PROTOBUF_NOINLINE ::wj::wjLidarParams* Arena::CreateMaybeMessage< ::wj::wjLidarParams >(Arena* arena) {
  return Arena::CreateMessageInternal< ::wj::wjLidarParams >(arena);
}
template<> PROTOBUF_NOINLINE ::wj::netConfig* Arena::CreateMaybeMessage< ::wj::netConfig >(Arena* arena) {
  return Arena::CreateMessageInternal< ::wj::netConfig >(arena);
}
template<> PROTOBUF_NOINLINE ::wj::Transform2d* Arena::CreateMaybeMessage< ::wj::Transform2d >(Arena* arena) {
  return Arena::CreateMessageInternal< ::wj::Transform2d >(arena);
}
template<> PROTOBUF_NOINLINE ::wj::scanLimit* Arena::CreateMaybeMessage< ::wj::scanLimit >(Arena* arena) {
  return Arena::CreateMessageInternal< ::wj::scanLimit >(arena);
}
PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
