Skip to content

robot: check for root_link_ before use - #1039

Merged
wjwwood merged 1 commit into
ros-visualization:indigo-develfrom
v4hn:robot-no-root-no-segfault
Aug 15, 2016
Merged

wjwwood merged 1 commit into
ros-visualization:indigo-develfrom
v4hn:robot-no-root-no-segfault

Conversation

@v4hn

@v4hn v4hn commented Aug 15, 2016

Copy link
Copy Markdown
Contributor

A couple of lines below the code accesses link->getChildJointNames() without
testing "link". The additional test guarantees the link is set before working
with it.

I noticed that when adding support to MoveIt to correctly initialize an empty
robot model after printing an error.

A couple of lines below the code accesses link->getChildJointNames()
without testing "link". The additional test guarantees the link is set
before working with it.

I noticed that when adding support to MoveIt to correctly initialize
an empty robot model after printing an error.
@wjwwood

wjwwood commented Aug 15, 2016

Copy link
Copy Markdown
Member

lgtm, thanks.

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.

2 participants