Skip to content

Commit

Permalink
Remove the unused member variable last_state_ (#156)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette committed Aug 28, 2023
1 parent 4d4dc6a commit fd5386a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion turtlesim/tutorials/draw_square.cpp
Expand Up @@ -186,7 +186,6 @@ class DrawSquare final : public rclcpp::Node
bool first_goal_set_ = false;
bool first_pose_set_ = false;
State state_ = FORWARD;
State last_state_ = FORWARD;

rclcpp::Publisher<geometry_msgs::msg::Twist>::SharedPtr twist_pub_;
rclcpp::Subscription<turtlesim::msg::Pose>::SharedPtr pose_sub_;
Expand Down

0 comments on commit fd5386a

Please sign in to comment.