This is an error report.
Screenshot of the error
Error details
Hi, This error appears when testing the test5 program of BTs. In addition, it is not clear in the course how to run the Groot application.
This is an error report.
Screenshot of the error
Error details
Hi, This error appears when testing the test5 program of BTs. In addition, it is not clear in the course how to run the Groot application.
Hello @eblady ,
As the error message indicates here:
BT::RuntimeError
what(): Error parsing the XML: XML_ERROR_EMPTY_DOCUMENT
The problem is that BehaviorTree.CPP tried to load an XML file, but the file it received was empty or not found properly.
This is happening because you probably didn’t complete the test_unit5.cpp file with the required XML behavior. See here an example of how it should be:
In the image above I used the XML provided in the exercise solution.
So you have to fill the XML behavior and then re-build the workspace, as instructed in previous exercises from the course.
Please let me know if you have any further doubts.
Best,
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.