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

Additional visualization #31

Merged
merged 3 commits into from
Aug 23, 2018
Merged

Conversation

mlautman
Copy link
Contributor

I also ran clang formatting

@davetcoleman
Copy link
Member

please add better PR title in the future

if (!collision_obj.primitives[0].dimensions[shape_msgs::SolidPrimitive::BOX_Z])
collision_obj.primitives[0].dimensions[shape_msgs::SolidPrimitive::BOX_Z] = rviz_visual_tools::SMALL_SCALE;

// ROS_INFO_STREAM_NAMED(name_,"CollisionObject: \n " << collision_obj);
Copy link
Member

Choose a reason for hiding this comment

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

remove

@@ -347,6 +347,12 @@ class MoveItVisualTools : public rviz_visual_tools::RvizVisualTools
const std::string& name,
const rviz_visual_tools::colors& color = rviz_visual_tools::GREEN);

bool publishCollisionCuboid(const Eigen::Affine3d& pose, double x, double y, double z, const std::string& name,
Copy link
Member

Choose a reason for hiding this comment

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

please add function documentation

* \param pose - position of the centroid of the cube
* \param x - width
* \param y - depth
* \param z - height
Copy link
Member

Choose a reason for hiding this comment

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

the standard in this file is to call these variables width, depth, height - not x,y,z which imply position

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@davetcoleman davetcoleman merged commit 884dae7 into moveit:kinetic-devel Aug 23, 2018
davetcoleman pushed a commit that referenced this pull request Aug 23, 2018
* adding a visualization for publishing a box with width, height, and depth

* adding additional publishCollisionCuboid method overloads

* changing x,y,z to width, depth, height
@davetcoleman
Copy link
Member

cherry-picked to M

@rhaschke
Copy link
Contributor

@davetcoleman @mlautman Cherry-picking this to Melodic broke both this repo's melodic-branch as well as MoveIt's Travis (which is pulling in moveit_visual_tools via rosinstall file):
https://travis-ci.org/ros-planning/moveit/builds/421224125

Please fix.

@mlautman mlautman deleted the additional-vis branch August 27, 2018 20:52
@mlautman
Copy link
Contributor Author

mlautman commented Aug 27, 2018

@rhaschke Working on it

@davetcoleman
Copy link
Member

Just did a post-mortem with @mlautman and the takeaway is when doing direct cherry-picks between distros, check for anything TF related and if that is mentioned, do a full PR

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.

None yet

3 participants