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

EnvironmentMonitor settings cleanup #73

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

rjoomen
Copy link
Contributor

@rjoomen rjoomen commented Oct 4, 2023

  • Removed load() and save() methods, as properties are loaded automatically. This also gets rid of the redundant tesseract::EnvMonitor... properties in the .rviz settings file
  • Moved (and unified) duplicate code to resetMonitor() method
  • Only allow executing on...() methods when the correct mode is selected
  • Added constants for enum propery options
  • Removed onJointStateTopicChanged() from onDisplayModeChanged(), as the other on...() methods will call this anyway

…ically. This also gets rid of the redundant tesseract::EnvMonitor... properties in the .rviz settings file

- Moved (and unified) duplicate code to resetMonitor() method
- Only allow executing on...() methods when the correct mode is selected
- Added constants for enum propery options
- Removed onJointStateTopicChanged() from onDisplayModeChanged(), as the other on...() methods will call this anyway
Copy link
Contributor

@marrts marrts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pulled this down and everything worked smoothly for me. It appears to have fixed the problem I was aiming to address in #72, but in a cleaner way than I did.

@rjoomen
Copy link
Contributor Author

rjoomen commented Oct 4, 2023

@Levi-Armstrong this is probably also applicable to tesseract_ros.

@rjoomen rjoomen merged commit 7397e48 into tesseract-robotics:master Oct 6, 2023
@marip8
Copy link
Contributor

marip8 commented Oct 6, 2023

@dpiet this may solve some of the issues you were seeing with the Rviz loading errors

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.

3 participants