Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
float_regex = """([\+\-\ ]\d{3}\.\d{2})"""
int8_regex = """([0-9A-Fa-f]{2})"""
int16_regex = """([0-9A-Fa-f]{4})"""
termination_regex = int8_regex
yprc_packet_regex = re.compile("!y"+
float_regex+ #Yaw
float_regex+ #Pitch
float_regex+ #Roll
float_regex+ #Compass Heading
termination_regex)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.