Notou / Moveit-External-Octomap-Updater

5 stars 5 forks source link

Resolution of the octomap in MoveIt is different from octomap message resolution #1

Open askarkg12 opened 6 years ago

askarkg12 commented 6 years ago

As I am trying to use different resolutions, there appears to be a problem with resolutions other than 0.05. For example, if resolution is set to 0.1, then the octomap in MoveIt is twice as small than the real resolution. Opposite affect can be seen too. Seems like MoveIt will assume that the resolution is 0.05 automatically. ATM, I do not know what is causing the issue.

Notou commented 6 years ago

You're right, MoveIt doesn't get the octomap resolution automatically from octomap metadata. I don't remember if it could be possible for a plugin to do that for moveit.

The way I used it was to provide the resolution parameter from the launch file, like in this one

Does this make sense?