def MotorID(self):
     return msg.MotorID(self.value)
p_int32LocalNodeInputNodeOutputMapMap << pp.Group(l + pp.Optional(pp.delimitedList(l + p_int + c + p_LocalNodeInputNodeOutputMap + r)) + r)
p_int32LocalNodeInputNodeOutputMapMap.setParseAction(a__map_gen(messaging.int32LocalNodeInputNodeOutputMapMap))
p_LocalNodeOutputNodeInputVecMap << pp.Group(l + pp.Optional(pp.delimitedList(l + p_LocalNodeOutput + c + p_NodeInputVec + r)) + r)
p_LocalNodeOutputNodeInputVecMap.setParseAction(a__map_gen(messaging.LocalNodeOutputNodeInputVecMap))
p_LocalNodeInputNodeOutputMap << pp.Group(l + pp.Optional(pp.delimitedList(l + p_LocalNodeInput + c + p_NodeOutput + r)) + r)
p_LocalNodeInputNodeOutputMap.setParseAction(a__map_gen(messaging.LocalNodeInputNodeOutputMap))
p_LocalNodeInputParamValueMap << pp.Group(l + pp.Optional(pp.delimitedList(l + p_LocalNodeInput + c + p_ParamValue + r)) + r)
p_LocalNodeInputParamValueMap.setParseAction(a__map_gen(messaging.LocalNodeInputParamValueMap))

# Parse Enums
p_DebugType << p_int
p_DebugType.setParseAction(lambda x: messaging.DebugType(x[0]))
p_ImageEncodingType << p_int
p_ImageEncodingType.setParseAction(lambda x: messaging.ImageEncodingType(x[0]))
p_MotorID << p_int
p_MotorID.setParseAction(lambda x: messaging.MotorID(x[0]))
p_CameraID << p_int
p_CameraID.setParseAction(lambda x: messaging.CameraID(x[0]))
p_SonarID << p_int
p_SonarID.setParseAction(lambda x: messaging.SonarID(x[0]))
p_LightID << p_int
p_LightID.setParseAction(lambda x: messaging.LightID(x[0]))
p_NodeType << p_int
p_NodeType.setParseAction(lambda x: messaging.NodeType(x[0]))
p_NodeStatus << p_int
p_NodeStatus.setParseAction(lambda x: messaging.NodeStatus(x[0]))
p_NodeInputStatus << p_int
p_NodeInputStatus.setParseAction(lambda x: messaging.NodeInputStatus(x[0]))
p_NodeIOStatus << p_int
p_NodeIOStatus.setParseAction(lambda x: messaging.NodeIOStatus(x[0]))
p_OutputType << p_int
 def __init__(self, mid = msg.MotorID()):
     self.value = int(mid)