Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
"kobuki_msgs/BumperEvent": {
"bumper": TypeToken("uint8"),
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
}
fields = (
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
}
fields = (
HplFieldReference("nested_array[all]",
TEST_DATA["pkg/Nested"]["nested_array"], "pkg/Nested"),
HplFieldReference("int", TEST_DATA["pkg/Nested2"]["int"], "pkg/Nested2")
"x": TypeToken("float64"),
"y": TypeToken("float64"),
"z": TypeToken("float64")
},
"kobuki_msgs/BumperEvent": {
"bumper": TypeToken("uint8"),
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
"kobuki_msgs/BumperEvent": {
"bumper": TypeToken("uint8"),
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
}
TEST_CONSTANTS = {
"geometry_msgs/Twist": {},
"y": TypeToken("float64"),
"z": TypeToken("float64")
},
"kobuki_msgs/BumperEvent": {
"bumper": TypeToken("uint8"),
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
}
},
"kobuki_msgs/BumperEvent": {
"bumper": TypeToken("uint8"),
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
}
sm = StrategyMap(TEST_DATA)
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
}
TEST_CONSTANTS = {
"geometry_msgs/Twist": {},
"geometry_msgs/Vector3": {},
"kobuki_msgs/BumperEvent": {
},
"geometry_msgs/Vector3": {
"x": TypeToken("float64"),
"y": TypeToken("float64"),
"z": TypeToken("float64")
},
"kobuki_msgs/BumperEvent": {
"bumper": TypeToken("uint8"),
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"x": TypeToken("float64"),
"y": TypeToken("float64"),
"z": TypeToken("float64")
},
"kobuki_msgs/BumperEvent": {
"bumper": TypeToken("uint8"),
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
"y": TypeToken("float64"),
"z": TypeToken("float64")
},
"kobuki_msgs/BumperEvent": {
"bumper": TypeToken("uint8"),
"state": TypeToken("uint8")
},
"pkg/Msg": {
"int": TypeToken("int32"),
"float": TypeToken("float64"),
"string": TypeToken("string"),
"twist": TypeToken("geometry_msgs/Twist"),
"int_list": ArrayTypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"float_list": ArrayTypeToken("float64"),
"float_array": ArrayTypeToken("float64", length=3),
"string_list": ArrayTypeToken("string"),
"string_array": ArrayTypeToken("string", length=3),
"twist_list": ArrayTypeToken("geometry_msgs/Twist"),
"twist_array": ArrayTypeToken("geometry_msgs/Twist", length=3),
"nested_array": ArrayTypeToken("pkg/Nested", length=3)
},
"pkg/Nested": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3),
"nested_array": ArrayTypeToken("pkg/Nested2", length=3)
},
"pkg/Nested2": {
"int": TypeToken("int32"),
"int_array": ArrayTypeToken("int32", length=3)
}
}