Fix [#31544]: iTaSC assertion when creating armature with no joint. This degenerated case can be obtained by having a single bone in the IK chain and locking all 3 axis. This case was causing an assert in the KDL library. The bug is fixed by simply not creating the IK scene in this case.
This commit is contained in:
@@ -33,7 +33,7 @@ public:
|
||||
virtual ~Object(){};
|
||||
|
||||
virtual int addEndEffector(const std::string& name){return 0;};
|
||||
virtual void finalize(){};
|
||||
virtual bool finalize(){return true;};
|
||||
virtual const KDL::Frame& getPose(const unsigned int end_effector=0){return m_internalPose;};
|
||||
virtual const ObjectType getType(){return m_type;};
|
||||
virtual const unsigned int getNrOfCoordinates(){return 0;};
|
||||
|
||||
Reference in New Issue
Block a user