Skip to content

Commit

Permalink
Fixed remaining function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-palmer committed Jun 25, 2024
1 parent 35b7fa3 commit 21d9710
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ class ThrusterAllocationMatrixController : public controller_interface::Chainabl
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;

void update_parameters();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,7 @@ std::vector<hardware_interface::CommandInterface> ThrusterAllocationMatrixContro
return reference_interfaces;
}

controller_interface::return_type ThrusterAllocationMatrixController::update_reference_from_subscribers(
const rclcpp::Time & /*time*/, const rclcpp::Duration & /*period*/)
controller_interface::return_type ThrusterAllocationMatrixController::update_reference_from_subscribers()
{
auto * current_reference = reference_.readFromNonRT();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ class IntegralSlidingModeController : public controller_interface::ChainableCont
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;

controller_interface::return_type update_system_state_values();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ controller_interface::CallbackReturn IntegralSlidingModeController::on_deactivat

bool IntegralSlidingModeController::on_set_chained_mode(bool /*chained_mode*/) { return true; }

controller_interface::return_type IntegralSlidingModeController::update_reference_from_subscribers(
const rclcpp::Time & /*time*/, const rclcpp::Duration & /*period*/)
controller_interface::return_type IntegralSlidingModeController::update_reference_from_subscribers()
{
auto * current_reference = reference_.readFromNonRT();

Expand Down

0 comments on commit 21d9710

Please sign in to comment.