LORD-MicroStrain / ntrip_client

ROS NTRIP client
https://github.com/LORD-MicroStrain/ntrip_client
Other
55 stars 54 forks source link

fix: the format for comparison between RTCM packet preamble and current byte(#14) #15

Closed JeffYoung17 closed 6 months ago

JeffYoung17 commented 2 years ago

As mention in #14, the parsed RTCM packets are empty, by debugging, in rtcm_parser.py we found that combined_buffer[index] is str but _RTCM_3_2_PREAMBLE is int which make this judgment unsuccessful. if combined_buffer[index] == _RTCM_3_2_PREAMBLE:

robbiefish commented 6 months ago

Closing this for now. If this is a problem for anyone else feel free to reopen