Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


How does RViz receive from MoveIt! the collision data? #55

130s opened this Issue · 3 comments

2 participants


This isn't a specific issue/question to hironx at all; it's rather my homework that's asked by a new hironx user.

I guess it's what FCL returns. I need to study. Don't touch. Comments welcomed though.

The new user above is wondering if there's an interface in MoveIt! (or directly from FCL if my guess is appropriate) to access the collision information, it would become possible in hrpsys or any program to do their own collision avoidance without depending on move_group.

@130s 130s added the question label
@130s 130s self-assigned this
Owner with launch file is the good example of how to get collision state. I'm not sure on MoveIt case.

Thank you, for hrpsys collision detection (once hrpsys collision detection is sufficiently enabled on hiro (ie. #36, and maybe a few more tickets) I think I'll have to document it).

For MoveIt!, the following diagram from Overview page explains well.


Looks like through Planning Scene in MoveIt! you can get a trigger of when the collision occurs in C++. See tutorial.

My guess is that combining something like follwoing would do:

  1. Watch if collision happens by collision_result.collision.
  2. Once it does, get the pose info via /move_group/monitored_planning_scene topic.
@k-okada k-okada closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.