Skip to content

checks that the joint_state field of the robot state message isn't empty - #499

Merged
v4hn merged 1 commit into
moveit:kinetic-develfrom
jrgnicho:fix-issue-#496-robotStateMsgToRobotState
May 17, 2017
Merged

v4hn merged 1 commit into
moveit:kinetic-develfrom
jrgnicho:fix-issue-#496-robotStateMsgToRobotState

Conversation

@jrgnicho

@jrgnicho jrgnicho commented May 8, 2017

Copy link
Copy Markdown
Contributor

Description

Addresses #496

@v4hn

v4hn commented May 9, 2017

Copy link
Copy Markdown
Contributor

format checking failed.

Returning false here breaks the logic in _robotStateMsgToRobotStateHelper though, doesn't it?

@jrgnicho
jrgnicho force-pushed the fix-issue-#496-robotStateMsgToRobotState branch from fbcc64a to da5685f Compare May 9, 2017 15:10
@jrgnicho

jrgnicho commented May 9, 2017

Copy link
Copy Markdown
Contributor Author

@v4hn The _jointStateToRobotState function already checked for another condition that can return false so I assume that it wouldn't break the logic in the calling function _robotStateMsgToRobotStateHelpe

@v4hn

v4hn commented May 9, 2017 via email

Copy link
Copy Markdown
Contributor

@jrgnicho

Copy link
Copy Markdown
Contributor Author

@v4hn I don't have a full understanding on the role of the multi_dof_joint_state field, however I thought that it was used only as a supplement to the joint_states field . If a full robot state can be properly initialized from the multi_dof_joint_state only then I'm OK with implementing your suggested solution.

@v4hn

v4hn commented May 10, 2017 via email

Copy link
Copy Markdown
Contributor

@jrgnicho
jrgnicho force-pushed the fix-issue-#496-robotStateMsgToRobotState branch 2 times, most recently from dfe90a4 to b50c718 Compare May 15, 2017 21:06
@jrgnicho

Copy link
Copy Markdown
Contributor Author

@v4hn I made the requested changes.

@v4hn

v4hn commented May 16, 2017

Copy link
Copy Markdown
Contributor

lgtm. Format checking failed though.

@jrgnicho
jrgnicho force-pushed the fix-issue-#496-robotStateMsgToRobotState branch from b50c718 to 1c7b1e5 Compare May 16, 2017 15:47
@jrgnicho

Copy link
Copy Markdown
Contributor Author

@v4hn the formatting checks out now.

@v4hn
v4hn merged commit 492e881 into moveit:kinetic-devel May 17, 2017
@v4hn

v4hn commented May 17, 2017

Copy link
Copy Markdown
Contributor

Thanks a lot and sorry for all the nitpicking!

Keep the good patches coming :)

@jrgnicho

Copy link
Copy Markdown
Contributor Author

@v4hn thanks for reviewing.

@RoBoLog

RoBoLog commented Aug 9, 2017

Copy link
Copy Markdown

@v4hn Hi,
I am not sure If I applied the fix in the commit 492e881 properly, since I am still getting the Found joint states empty message. I have Moveit installed in the opt. but for this fix I downloaded the moveit core package and compiled it in my workspace. I am working with pr2 moveit_tutorials planning_scene_ros_api_tutorial

Am I suppose to compile Moveit from source in my _ws and then it would be effective ..or how ?

please elaborate

@v4hn

v4hn commented Aug 9, 2017

Copy link
Copy Markdown
Contributor

The error message should not affect functionality of MoveIt! and should be ignored until someone had time to fix it.

@RoBoLog

RoBoLog commented Aug 9, 2017

Copy link
Copy Markdown

@v4hn yes the error message is indeed not affecting the functionality of moveit. I actually have setup a moveit configuration for an arm with the Kinetic Moveit pkg. And the move plans are executed normally. But still these errors messages are displayed. I am actually more concerned about the issue mentioned here #552. the object gets attached to the arm gripper but then does not get detached. Same case for the pr2 tutorial mentioned in #552.

I will report this bug in Moveit tutorial asap.

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