-
Notifications
You must be signed in to change notification settings - Fork 497
race condition, using uninitialized Scene::jointMsgs containing NaN's #333
Comments
Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu). it seems the very first jointMsg has corrputed position values, printing them out before usage yields:
but if I put a break point on
inside of |
Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu). UpdateTurns out after tacking the ill formed values upstream, it was a typo on [parser_urdf.cc]https://github.com/osrf/gazebo/blob/12a2e98af84fb366d6e6e1e5bbc51fe2e630b198/gazebo/sdf/interface/parser_urdf.cc#L121) Fixed in the branch. The problem is because during the link loading loop, the call to link->load(linkElem), which calls Link::LoadCollision, which calls Entity::SetRelativePose, which ends up using potentially uninitialized parentEntity's worldPose. |
Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu). pull request #210 initializes |
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).
starting pr2 simulation sometimes leads to this segfault:
The text was updated successfully, but these errors were encountered: