Skip to content
Snippets Groups Projects
Commit 396d5d20 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

In urdf parser, handle failure to insert an already existing frame.

  - in function addJointAndBody, when add frame with name joint_name, if the
    joint already exists, method Model::addJointFrame returns -1. This event was
    not detected leading to undefined behavior.
  - this commit detects this error and throws an exception.
parent 6ac2f57c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment