Hi Ioan,
On Wed, Jun 26, 2013 at 1:29 PM, Ioan Sucan <
isu...@willowgarage.com> wrote:
>
>
>
> On Wed, Jun 26, 2013 at 11:42 AM, Peter Schueller <
schue...@gmail.com>
> wrote:
>>
>> Dear all,
>>
>> I do motion planning for two robots in MoveIt.
>>
>> As planar and free joints are not handled by the URDF parser (there is
>> no code to treat them)
>
>
> erm... what do you mean? They are in the URDF spec and I used that code just
> recently.
>
I got the message "Converting unknown joint type of joint 'planar'
into a fixed joint"
I use groovy, perhaps this is implemented only after groovy?
I found the error message in the (diamondback) source at
http://mirror.umd.edu/roswiki/doc/diamondback/api/kdl_parser/html/kdl__parser_8cpp_source.html
>>
>> I use a virtual "world link" and for each robot
>> a prismatic "x coordinate" and a prismatic "y coordinate" and a
>> rotational "theta" joint.
>>
> This should not be needed.
>
>>
>> To see the orientation of the links between these joints I added
>> visuals to them, without visuals a link is not visible in the moveit
>> rviz plugin.
>>
> Moveit defaults to displaying visual tags.
>
>>
>> However the visuals cause collision checking, so I need to add
>> collision check disabling directives.
>>
>> Why can a link be considered for collision checking if it has no
>> <collision> tag in URDF?
>>
> When there is no <collision> tag, the <visual> tag is used for collision
> detection.
Can I make a visual but not collideable link by adding an empty
<collision> tag to the link?
>
>> Why are links only displayed in the rviz plugin if they have a
>> <visual> tag? (Displaying their TF can be useful even if they are
>> "virtual" as in my case.)
>
> only <visual> tags are displayed.
>
>>
>>
>> Remark: I could not use a true "virtual" joint in SRDF as this would
>> make my URDF have two root links ... that's why I manually
>> reconstructed the virtual planar joint.
>>
> Why would that be a problem?
Because with two root links I get the error message
Error: Failed to find root link: Two root links found:
[base_footprint_y2] and [world_origin]
at line 216 in
/tmp/buildd/ros-groovy-urdfdom-0.2.7-0precise-20130326-0224/urdf_parser/src/model.cpp
And a NULL URDF model is returned by the parser.
Best,
Peter