Skip to content
Snippets Groups Projects
Commit a5e5b18d authored by Joseph Mirabel's avatar Joseph Mirabel Committed by olivier stasse
Browse files

Fix uninitialized attribute.

parent b645e4ca
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,7 @@ int SotLoaderBasic::readSotVectorStateParam() ...@@ -92,6 +92,7 @@ int SotLoaderBasic::readSotVectorStateParam()
n.getParam("/sot/state_vector_map", stateVectorMap_); n.getParam("/sot/state_vector_map", stateVectorMap_);
ROS_ASSERT(stateVectorMap_.getType() == XmlRpc::XmlRpcValue::TypeArray); ROS_ASSERT(stateVectorMap_.getType() == XmlRpc::XmlRpcValue::TypeArray);
nbOfJoints_ = stateVectorMap_.size(); nbOfJoints_ = stateVectorMap_.size();
nbOfParallelJoints_ = 0;
if (ros::param::has("/sot/joint_state_parallel")) if (ros::param::has("/sot/joint_state_parallel"))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment