FT - Contact Exclusion list for XML scene creation

+ This feature was missing from the plugin while being necessary for robots to work
+ e.g. SO100 requires the main body and the first arm to have contact exclusion, I guess the piece are too tight in the model?
+ This is not clean, but making it right requires to have a better understanding of how the MuJoCo actor works - problem for future self
This commit is contained in:
Jb win
2025-04-30 16:25:40 +07:00
parent a9cd14ae7f
commit 2207cfbba0
6 changed files with 80 additions and 34 deletions

View File

@ -141,8 +141,8 @@ public:
CancelButton->SetEnabled(false);
RequestDestroyWindow();
TUniquePtr<FMujocoXmlGenerator> Generator = MakeUnique<FMujocoXmlGenerator>();
TUniquePtr<tinyxml2::XMLDocument> Doc = Generator->GenerateMujocoXml(ExportOptions, Objects, ExportFilename);
const TUniquePtr<FMujocoXmlGenerator> Generator = MakeUnique<FMujocoXmlGenerator>();
const TUniquePtr<tinyxml2::XMLDocument> Doc = Generator->GenerateMujocoXml(ExportOptions, Objects, ExportFilename, TMap<FString, FString>{});
FString XmlString;
tinyxml2::XMLPrinter Printer;