Skip to content

Commit bf13db3

Browse files
jmirabelolivier-stasse
authored andcommitted
Fix uninitialized attribute.
1 parent 4cddcc2 commit bf13db3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sot_loader_basic.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ int SotLoaderBasic::readSotVectorStateParam()
9292
n.getParam("/sot/state_vector_map", stateVectorMap_);
9393
ROS_ASSERT(stateVectorMap_.getType() == XmlRpc::XmlRpcValue::TypeArray);
9494
nbOfJoints_ = stateVectorMap_.size();
95+
nbOfParallelJoints_ = 0;
9596

9697
if (ros::param::has("/sot/joint_state_parallel"))
9798
{

0 commit comments

Comments
 (0)