jrl-umi3218 / mc_rtc

mc_rtc is an interface for simulated and real robotic systems suitable for real-time control
BSD 2-Clause "Simplified" License
122 stars 37 forks source link

Add non-throwing version of ZMP computations #292

Closed gergondet closed 2 years ago

gergondet commented 2 years ago

With the introduction of stacktraces into the mc_rtc::log::error_and_throw it becomes very expensive to throw and catch exceptions (much more so than regular exceptions). The default ZMP computations throw on errors so this PR introduces variants that do not throw to communicate issues.

This variant is used in the StabilizerTask