Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous additions from mc_rtc 2.0 #157

Merged
merged 13 commits into from
Jun 28, 2021

Conversation

gergondet
Copy link
Member

  • [logging] Add a warning (and avoid a memleak) if data cannot be logged, this is very unlikely to happen in real scenario but has been encountered when running through valgrind or in unit tests
  • [utils] Misc fixes and changes for build_and_install.sh
    • Default to ninja for building
    • Correct branch fetching
    • Improve detection of catkin workspaces
  • Use exception-free API to convert YAML to JSON
  • [mc_rtc] Add MC_RTC_VERSION_MAJOR macro
  • [mc_rbdyn] Correctly save/load materials from YAML/JSON
  • [GUI] Add the Visual element to publish arbitrary shapes
  • [logging] Add support for Eigen::Ref

gergondet added 13 commits June 28, 2021 09:48
Also fix a memory leak in that case. This was noticed by running a
"greedy" ticker in valgrind but I don't think it happens in practice as
the queue is relatively large and the consumer thread runs frequently.

It can also happen when running tests on a real-time kernel as the
ticker can be very fast in those cases and the consumer thread runs
infrequently in comparison (every 500us at best). Reported by @chappk
This option disable precise version computing so that rebuilding the
project is faster which is particularly useful when making frequent changes.

This is intended for mc_rtc developers as the information is useful to
debug ABI issues.
Allow to add arbitrary visuals to the 3D scene
- Require the type to have a compile-time vector-like shape
- Log as Vector2|3|6d if size is known at compile time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant