Closed osrf-migration closed 4 years ago
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
Is is possible to use _geom.get()
to get a raw pointer to the box, and use static_cast
?
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
I'm not using OS X 10.8 anymore; on hold for now. Please comment or upvote if the issue affects you.
this is for an old version, and it doesn't affect new versions; closing
Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
It's really weird; I'm only able reproduce this on my laptop running OSX 10.8.5. With the home-brew versions or urdfdom and console_bridge installed, and building the
sdf_2.0
branch with-DUSE_EXTERNAL_URDF=True
.I observe seg-faulting of the
INTEGRATION_fixed_joint_reduction
andPERFORMANCE_parser_urdf
tests.From some extensive debugging, I've seen that the parser is unable to properly cast some of the URDF data types. For example, the cast from
urdf::Geometry
tourdf::Box
in sdf::CreateGeometry is unsuccessful, which causes the seg-faults. The following is a workaround that prevents the seg-faults:This is really weird.