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

Add support for macOS / Metal #73

Open
srmainwaring opened this issue Feb 1, 2022 · 0 comments
Open

Add support for macOS / Metal #73

srmainwaring opened this issue Feb 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@srmainwaring
Copy link

Desired behavior

To have ign-rviz working on macOS using the Metal graphics API.

Alternatives considered

Use the OpenGL graphics API available in ogre and ogre2.1. Or use the ROS visualisation version of rviz.

Implementation suggestion

Use the support for macOS / Metal being added to Ignition Garden and provide options or system compile time switches in the ign-rviz plugins to select the graphics API.

There is a work in progress here: https://github.com/srmainwaring/ign-rviz/tree/garden-metal

Additional context

rviz-garden-metal

The basic GUI is loading on macOS with Metal. The main issue preventing the app from working is that calls like:

  if (ignition::gui::App()->LoadPlugin("AxesDisplay")) {
    auto axes_plugins =
      ignition::gui::App()->findChildren<ignition::rviz::plugins::MessageDisplayBase *>();

  }

are not finding the loaded plugin correctly for some reason (ie. axes_plugins is empty).

@srmainwaring srmainwaring added the enhancement New feature or request label Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant