You can also do:
```
 ik_chain_info_.limits.push_back(joint_model_group->getJointModels()[i]->getVariableBoundsMsg()[0]);
```