Skip to content

registrer exit command - #105

Closed
k-okada wants to merge 1 commit into
moveit:indigo-develfrom
k-okada:fix_15
Closed

k-okada wants to merge 1 commit into
moveit:indigo-develfrom
k-okada:fix_15

Conversation

@rhaschke

Copy link
Copy Markdown
Contributor

This issue originates from ros_comm: ros/ros_comm#871.
Doing os._exit(0) avoids any cleanup and always returns with success code 0. I think in case of true exceptions, that's not what we want. According to my investigation, it might be useful to trigger ros.shutdown() on exit.
-1

@k-okada

k-okada commented Aug 25, 2016 •

Copy link
Copy Markdown
Contributor Author

that's interesting,
https://github.com/ros-planning/moveit_commander/pull/46#issuecomment-236128030 reports that the problem occurs in indgo, but not in jade. and ros/ros_comm#871 is targeting to the kinect.

@v4hn v4hn removed the wontfix label Aug 29, 2016
@v4hn

v4hn commented Aug 29, 2016

Copy link
Copy Markdown
Contributor

@rhaschke Yes this is a bug in ros_comm, but it also is a drastic usability problem in the MoveIt python interfaces.
I do not believe your fix in ros_comm - if accepted at all - will make it into indigo, because it changes quite a bit.
Do you see a way to fix this in our scripts instead?

I do believe even the current patch would improve the current state of the python wrappers quite a lot. (always 0 is much better than always segfault)

@rhaschke

Copy link
Copy Markdown
Contributor

The fix is merged in Kinetic. I agree, that they might not merge into Indigo soon. However, I asked (ros/ros_comm#871 (comment)).
If there is the strong wish to hotfix this in MoveIt Commander, we should do it. However, simultaneously, we should open a new issue, to remove the hack again as soon as ros_comm is fixed.

@v4hn

v4hn commented Sep 16, 2016

Copy link
Copy Markdown
Contributor

Wow, I didn't expect them to merge it that fast. Thanks a lot @rhaschke !
Closing this now - either this will be fixed in kinetic onward or they even get around to backport this to indigo. We'll see.

@v4hn v4hn closed this Sep 16, 2016
@k-okada
k-okada deleted the fix_15 branch September 26, 2016 01:48
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