Open Morgantiz opened 4 months ago
Are 2/0.1 the current set values?
Also, this needs to be targeted towards rolling ros2
branch not humble so that all new features are reflected into future distributions. Also, this might (?) invalidate existing serialized map files since you're adding new fields, so I don't think its wise to backport to Humble due to issues with deserializing existing maps in the distribution.
To get around that, you could add a version number to the files and check if that version is newer than N
in an if
condition in the serialization/deserialization file to know if it should attempt to do that part because it was made with a version that had that option.
Overall this looks good to have! Please update the README to contain the new parameters like the others described.
Yes, the values were set at 2 and 0.1, see: https://github.com/SteveMacenski/slam_toolbox/blob/19a66904c648a174220be1a1b98e81a9ef0e6758/lib/karto_sdk/include/karto_sdk/Karto.h#L5920-L5921.
I could split the commit with two commits and make the serialization/deserialization happen only on the ros2
branch, instead the humble
branch can use the parameter only for new maps. Is it not enough to remove lines 2411 and 2412 from this file? I don't know how the serialization/deserialization of the existing maps works, and I'm not sure where it takes place.
I am also trying to tune these parameters to get a more stable behavior in the case of people present and walking nearby during mapping.
Perhaps just comment out those parameters for serialization at all, leave them inline, but commented out with a note that we didn't want to break serialized format for general users and instead these values will be taken from the currently launched configuration files as they are 'live' modifying parameters.
I am also trying to tune these parameters to get a more stable behavior in the case of people present and walking nearby during mapping.
Let me know what params you find work! I'm not opposed to modifying the defaults or at least making a comment in the readme about some values that work for users in dynamic settings. Information is power.
Basic Info
Description of contribution in a few bullet points
Description of documentation updates required from your changes
Future work that may be required in bullet points