Created
January 14, 2020 23:57
-
-
Save auxiliary-character/6c88104a9a6c83fdbeae84ba5ae61a78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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