Open mpowelson opened 2 years ago
Can you provide more details on what you are looking for or should change?
The allowed collisions are in seemingly random order. So if you use this to regenerate an srdf created with moveit (or this too), the diff is incomprehensible. If we change joint limits and want to rerun this it is difficult to see what actually changed and make sure manually added pairs don't get lost.
Should they always be sorted?
Being consistently sorted would fix the problem. Then the diff would make sense. Ideally I think they would be sorted like the moveit srdf. I assume that is alphabetical by first then second, but I'd have to double check.
I looked into this today. It looks like we just need to sort the output in Tesseract_srdf bool SRDFModel::saveToFile(const std::string& file_path) const
It would be nice to just see what changed in a concise way. This could be a tool that shows you, but regardless we should probably use the same SRDF ordering as the moveit setup assistant. It is currently difficult to compare.