Compare configs #129
Replies: 4 comments 1 reply
-
Hi @m-elias What are you ultimately looking to achieve here? I'm not clear how comparing two binary (*.ubx) config files even via automation would offer any meaningful insight? Would it not be more useful to comparse parsed datasets (i.e. |
Beta Was this translation helpful? Give feedback.
-
Ultimately I'm wanting to compare two u-center config files to see what is different between the two. I'm working on a Teensy firmware for an open source autosteer project (AgOpenGPS) that uses position data from one or two F9P receivers. Ardusimple has example configuration files (primarily interested in the two "10Hz simpleRTK2Blite" configs for a moving base/heading setup. They need changing for our (there's many collaborators) application and I would like to be able to see what settings they use/recommend that we are missing from our configs. Looking through all the settings in u-center makes my eyes go crazy and you can only do that while connected to both receivers running the two configs that need comparing. Even after converting to logs and comparing with WinMerge it's still not straight forward to see all the diffs and understand what it means. I'm not sure what parsed datasets means. I managed to get parsed log outputs with the following type of output Thanks for your consideration. If you're curious what the project is all about, checkout the github or youtube channel |
Beta Was this translation helpful? Give feedback.
-
So u-center config files would typically be in binary (ubx) or text (txt) formats, but you can use pyubx2 to parse a binary config file into a human-readable format e.g. Binary: Comparing two binary files will give you the hexadecimal differences but it's very time consuming to then convert that into meaningful attribute values. Comparing two parsed datasets, on the other hand, will give you an immediate human-readable diff: Config A: diff = I can spin up a quick code example if you think this would be helpful. By way of specific example, this is the parsed version of one of ArduSimple's F9P configuration files (simpleRTK2B_FW132_Base-00.txt):
Note that not all configuration attributes are publicly documented by u-blox - the undocumented ones look something like this |
Beta Was this translation helpful? Give feedback.
-
An output file with a list of diffs like this would be great! |
Beta Was this translation helpful? Give feedback.
-
I'm looking for an easy way to compare two F9P u-Center config files. I have successfully used PyGPSClient to convert the u-Center.txt files to ubx, then parsed them to logs and compared with WinMerge but it's still quite a process. Is there any interest in developing a compare/diff output for PyGPSClient?
Beta Was this translation helpful? Give feedback.
All reactions