Restore virtual joint type to fixed in SRDF #86
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The virtual joint type set to
floating
seems to break things when doing benchmarks with the moveit_ros_benchmarks package.The first issue I had was with STOMP with cartesian goal constraints which you can read here. Changing the joint type to fixed resolves the problem but it may not be the culprit.
The second issue is only occurring when I populate a scene with meshes (tried different meshes and reduced to only one). The left image is a joint constraint goal and the blue line is the path retrieved from STOMP. The left end of the path is the start state and the right end of the segment is the goal state. The left image is with the fixed virtual joint and is the correct planning scene. The right image was taken with the virtual joint as floating. This changes the TF from the world frame to the panda_link0 frame for an unknown reason. This also affects OMPL planners. Using this scene with SolidPrimitives and the virtual joint set to float dosen't produce the error, only meshes.
The comment in the SRDF says "considered fixed with respect to the robot" but the joint is floating... The first commits had the fixed type but was changed to floating here.
I did not investigate further but I can replicate the behavior everytime.