Skip to content

Commit

Permalink
fix constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinsunyixiao committed Jan 10, 2024
1 parent 6355257 commit c4c455a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ff_drivers/src/tests/test_all_thrusters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class TestAllThrustersNode : public ff::PWMController
{
public:
TestAllThrustersNode()
: rclcpp::Node("test_all_thrusters_node")
: rclcpp::Node("test_all_thrusters_node"),
ff::PWMController()
{
timer_ = this->create_wall_timer(5s, std::bind(&TestAllThrustersNode::TimerCallback, this));
this->declare_parameter("duty_cycle", .2);
Expand Down

0 comments on commit c4c455a

Please sign in to comment.