Skip to content

Software errors with dartsim? #9

@mxgrey

Description

@mxgrey

Thanks for creating this benchmark! It's an incredibly valuable service to the simulation community to be able to compare existing solutions in terms of performance and accuracy.

As a dartsim developer, I see these benchmark results as an opportunity to identify where dartsim could be improved.

I'm especially concerned about "cannot simulate due to inaccurate model or excepted" and "simulation fails due to software error" results.

To figure out what went wrong with those tests, I've cloned your repo and tested the benchmarks on my own machine (specifically DartRollingBenchmark, Dart666Benchmark, and DartElastic666Benchmark which were reported as impossible to run). I got the following results for these benchmarks:

[08:02:15:50:24 RollingBenchmark.cpp:179] 
CPU time   : 2.56495
mean error : 0.425893
speed (Hz) : 1559.48
[08:02:15:49:03 666Benchmark.cpp:228] 
CPU time   : 13.9889
mean error : 33302.2
[08:02:15:52:06 Elastic666Benchmark.cpp:195] 
CPU time   : 7.66768
mean error : 538642

None of these tests seemed to crash or error out (as far as I can tell), so would you be able to elaborate on what those two categories refer to? Or is there some other diagnostic information I should be looking at?

It's probably worth noting that I needed to run these benchmarks with the --nogui option, because running the GUI with any of the benchmarks results in a segfault inside of the rai_graphics::Shader_basic constructor (it seems a std::string constructor is hitting a logic error). If the GUI is providing important information, then I can't currently access that. If you happen to know what might be causing this segfault, I'd appreciate any tips on how to fix it.

Metadata

Metadata

Assignees

Labels

discussionDiscussion about benchmark results.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions