Skip to content

Instantly share code, notes, and snippets.

@aaronchongth
Created January 14, 2022 06:56
Show Gist options
  • Save aaronchongth/b3c641cb785030b00552d497db2b05af to your computer and use it in GitHub Desktop.
Save aaronchongth/b3c641cb785030b00552d497db2b05af to your computer and use it in GitHub Desktop.
[ RUN ] SdfParser.LoadWorldWithIncludedNestedModels
Error [SDF.cc:160] Tried to use callback in sdf::findFile(), but the callback is empty. Did you call sdf::setFindCallback()?
Error [SDF.cc:160] Tried to use callback in sdf::findFile(), but the callback is empty. Did you call sdf::setFindCallback()?
Error Code 13: [/sdf/model[@name="weld_robots"]/include[0]/uri:/home/aaron/.cache/bazel/_bazel_aaron/85d5184eba76b71a4e61267e6052a7ad/execroot/drake/bazel-out/k8-opt/bin/multibody/parsing/detail_sdf_parser_test.runfiles/drake/multibody/parsing/test/sdf_parser_test/weld_robots//model.sdf:L5]: Msg: Unable to find uri[model://simple_robot1/]
Error Code 13: [/sdf/model[@name="weld_robots"]/include[1]/uri:/home/aaron/.cache/bazel/_bazel_aaron/85d5184eba76b71a4e61267e6052a7ad/execroot/drake/bazel-out/k8-opt/bin/multibody/parsing/detail_sdf_parser_test.runfiles/drake/multibody/parsing/test/sdf_parser_test/weld_robots//model.sdf:L8]: Msg: Unable to find uri[model://simple_robot2/]
multibody/parsing/test/detail_sdf_parser_test.cc:1474: Failure
Failed
Expected: Does not throw:
AddModelsFromSdfFile(include_weld_robots_world, package_map, &plant)
Actual: Throws std::runtime_error
From AddModelFromSdfFile():
Error: A model must have at least one link.
Error: A model must have at least one link.
Error: relative_to name[robot2::base_link] specified by joint with name[weld_robots_joint] does not match a nested model, link, joint, or frame name in model with name[weld_robots].
Error: PoseRelativeToGraph error, MODEL / FRAME vertex with name [weld_robots::weld_robots_joint] is disconnected; it should have 1 incoming edge in WORLD relative_to graph.
Error: PoseRelativeToGraph unable to find path to source vertex when starting from vertex with id [4].
Error: Failed to load a world.
[ FAILED ] SdfParser.LoadWorldWithIncludedNestedModels (204 ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment