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

Monitoring a const Environment? #86

Open
haudren opened this issue Feb 15, 2021 · 1 comment
Open

Monitoring a const Environment? #86

haudren opened this issue Feb 15, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@haudren
Copy link
Contributor

haudren commented Feb 15, 2021

I was playing with merging environments and so on, and wanted to visualize the resulting environment in Rviz. As far as I understand, I need to instantiate a Monitor in my code, and ask the Rviz plugin to connect to it by switching from "URDF" mode to "Monitor".

Unfortunately, the monitor seems to also expose functionality the modifies the environment, but that's a fairly undesirable side-effect for me, as I don't want to accidentally modify the environment via ROS. Thus, I wanted to initialize a monitor using a tesseract_environment::Environment::ConstPtr but this doesn't seem to be possible at the moment.

Is there any way to achieve this currently?

@Levi-Armstrong
Copy link
Contributor

Levi-Armstrong commented Feb 15, 2021

Unfortunately, the monitor seems to also expose functionality the modifies the environment, but that's a fairly undesirable side-effect for me, as I don't want to accidentally modify the environment via ROS. Thus, I wanted to initialize a monitor using a tesseract_environment::Environment::ConstPtr but this doesn't seem to be possible at the moment.

I assume you would like to not advertise the services for modifying the environment? If so, I am good with modifying the environment monitor to support this, which should not be to much work. I think either adding a flag on construction which disable the start the services or add start and stop function to start and stop these services.

@Levi-Armstrong Levi-Armstrong added the enhancement New feature or request label Apr 2, 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

2 participants