Skip to content

Commit d8d2b17

Browse files
authored
Merge branch 'main' into bugfix-rcpassthru
2 parents a88dfcf + f947d8f commit d8d2b17

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

thruster_hardware/src/thruster_hardware.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,6 @@ auto ThrusterHardware::on_init(const hardware_interface::HardwareComponentInterf
7373
}
7474
const int default_value = default_value_it.value();
7575

76-
const auto desired_value_it = joint.parameters.find("desired_param_value");
77-
if (desired_value_it == joint.parameters.cend()) {
78-
// NOLINTNEXTLINE
79-
RCLCPP_ERROR(logger_, "Joint %s is missing the required parameter 'desired_param_value'", joint.name.c_str());
80-
return hardware_interface::CallbackReturn::ERROR;
81-
}
82-
const auto desired_value = std::stoi(desired_value_it->second);
83-
8476
// store the thruster configurations
8577
ThrusterConfig config;
8678
config.param.name = std::to_string(name);

0 commit comments

Comments
 (0)