Skip to content

Commit a5e5b18

Browse files
jmirabelOlivier Stasse
authored andcommitted
Fix uninitialized attribute.
1 parent b645e4c commit a5e5b18

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)