Skip to content

Commit

Permalink
remove the arguments from update_reference_from_subscribers to backpo…
Browse files Browse the repository at this point in the history
…rt to humble (#336)
  • Loading branch information
saikishor authored Aug 8, 2023
1 parent a09092d commit d35bac3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ class PassthroughController : public controller_interface::ChainableControllerIn
protected:
std::vector<hardware_interface::CommandInterface> on_export_reference_interfaces() override;

controller_interface::return_type update_reference_from_subscribers(
const rclcpp::Time & time, const rclcpp::Duration & period) override;
controller_interface::return_type update_reference_from_subscribers() override;

std::shared_ptr<ParamListener> param_listener_;
Params params_;
Expand Down
3 changes: 1 addition & 2 deletions example_12/controllers/src/passthrough_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ PassthroughController::on_export_reference_interfaces()
return reference_interfaces;
}

controller_interface::return_type PassthroughController::update_reference_from_subscribers(
const rclcpp::Time & /*time*/, const rclcpp::Duration & /*period*/)
controller_interface::return_type PassthroughController::update_reference_from_subscribers()
{
auto joint_commands = rt_buffer_ptr_.readFromRT();
// message is valid
Expand Down

0 comments on commit d35bac3

Please sign in to comment.