grep: build/gazebo_ros2_control/CMakeFiles/gazebo_ros2_control.dir/src/gazebo_ros2_control_plugin.cpp.o: binary file matches grep: build/gazebo_ros2_control/CMakeFiles/gazebo_hardware_plugins.dir/src/gazebo_system.cpp.o: binary file matches grep: build/gazebo_ros2_control/libgazebo_ros2_control.so: binary file matches grep: build/gazebo_ros2_control/libgazebo_hardware_plugins.so: binary file matches grep: install/gazebo_ros2_control/lib/libgazebo_ros2_control.so: binary file matches grep: install/gazebo_ros2_control/lib/libgazebo_hardware_plugins.so: binary file matches src/gazebo_ros2_control/gazebo_ros2_control/CHANGELOG.rst:* Add `hold_joints` parameter (`#251 `_) src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: bool hold_joints = true; // default src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: if (sdf->HasElement("hold_joints")) { src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: hold_joints = src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: sdf->GetElement("hold_joints")->Get(); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: node_ros2->declare_parameter("hold_joints", rclcpp::ParameterValue(hold_joints)); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: impl_->model_nh_->get_logger(), "Parameter 'hold_joints' has already been declared, %s", src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: impl_->model_nh_->get_logger(), "Parameter 'hold_joints' has invalid name, %s", e.what()); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: impl_->model_nh_->get_logger(), "Parameter 'hold_joints' value is invalid, %s", e.what()); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp: impl_->model_nh_->get_logger(), "Parameter 'hold_joints' value has wrong type, %s", src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: bool hold_joints_ = true; src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: this->dataPtr->hold_joints_ = this->nh_->get_parameter("hold_joints").as_bool(); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: "Parameter 'hold_joints' not initialized, with error %s", ex.what()); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: this->nh_->get_logger(), "Using default value: " << this->dataPtr->hold_joints_); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: "Parameter 'hold_joints' not declared, with error %s", ex.what()); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: this->nh_->get_logger(), "Using default value: " << this->dataPtr->hold_joints_); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: "Parameter 'hold_joints' has wrong type: %s", ex.what()); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: this->nh_->get_logger(), "Using default value: " << this->dataPtr->hold_joints_); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: this->nh_->get_logger(), "hold_joints (system): " << this->dataPtr->hold_joints_ << std::endl); src/gazebo_ros2_control/gazebo_ros2_control/src/gazebo_system.cpp: } else if (this->dataPtr->is_joint_actuated_[j] && this->dataPtr->hold_joints_) { src/gazebo_ros2_control/doc/index.rst:* ````: if set to true (default), it will hold the joints' position if their interface was not claimed, e.g., the controller hasn't been activated yet.