Skip to content

Commit

Permalink
address nit
Browse files Browse the repository at this point in the history
  • Loading branch information
alberthli committed Jul 23, 2024
1 parent af9883f commit 3997b2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions obelisk/cpp/zoo/include/position_setpoint_controller.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class PositionSetpointController : public obelisk::ObeliskController<obelisk_con

// example of setting other configurable params in the node
this->declare_parameter<std::string>("test_param", "default_value");
std::string test_param_value_;
this->get_parameter("test_param", test_param_value_);
RCLCPP_INFO_STREAM(this->get_logger(), "test_param: " << test_param_value_);
std::string test_param_value;
this->get_parameter("test_param", test_param_value);
RCLCPP_INFO_STREAM(this->get_logger(), "test_param: " << test_param_value);
}

protected:
Expand Down

0 comments on commit 3997b2a

Please sign in to comment.