25 proto::RangeDataInserterOptions options;
26 const std::string range_data_inserter_type_string =
27 parameter_dictionary->
GetString(
"range_data_inserter_type");
28 proto::RangeDataInserterOptions_RangeDataInserterType
29 range_data_inserter_type;
30 CHECK(proto::RangeDataInserterOptions_RangeDataInserterType_Parse(
31 range_data_inserter_type_string, &range_data_inserter_type))
32 <<
"Unknown RangeDataInserterOptions_RangeDataInserterType kind: " 33 << range_data_inserter_type_string;
34 options.set_range_data_inserter_type(range_data_inserter_type);
35 *options.mutable_probability_grid_range_data_inserter_options_2d() =
38 ->GetDictionary(
"probability_grid_range_data_inserter")
std::string GetString(const std::string &key)
proto::ProbabilityGridRangeDataInserterOptions2D CreateProbabilityGridRangeDataInserterOptions2D(common::LuaParameterDictionary *parameter_dictionary)
proto::RangeDataInserterOptions CreateRangeDataInserterOptions(common::LuaParameterDictionary *const parameter_dictionary)