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

Update hideRobot to hide visualized robot state by setting hide_display in DisplayRobotState msg #56

Merged
merged 4 commits into from
Aug 15, 2019

Conversation

JafarAbdi
Copy link
Contributor

This pull request should fix #52 after pull request #55 get merged.

@davetcoleman
@henningkayser

Copy link
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Member

@davetcoleman davetcoleman left a comment

Choose a reason for hiding this comment

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

We need to also add the hook in the Rviz Display before merging this

@@ -1517,22 +1517,14 @@ void MoveItVisualTools::publishRobotState(const moveit_msgs::DisplayRobotState&
ros::spinOnce();
}

bool MoveItVisualTools::hideRobot()
void MoveItVisualTools::hideRobot()
Copy link
Member

Choose a reason for hiding this comment

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

i don't see a reason to remove the bool and change API, please restore

Copy link
Contributor

Choose a reason for hiding this comment

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

+1. Please, also restore the corresponding return value.

@davetcoleman
Copy link
Member

I forgot to mention this, but in this file we'll want to use code similar to this:

robot_->setVisualVisible(enable_visual_visible_->getBool());

To disable when the msg flag is on

src/moveit_visual_tools.cpp Show resolved Hide resolved
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.

Making hiding the robot state better
3 participants