Skip to content

Commit fd5386a

Browse files
authored
Remove the unused member variable last_state_ (ros#156)
Signed-off-by: Chris Lalancette <[email protected]>
1 parent 4d4dc6a commit fd5386a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

turtlesim/tutorials/draw_square.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ class DrawSquare final : public rclcpp::Node
186186
bool first_goal_set_ = false;
187187
bool first_pose_set_ = false;
188188
State state_ = FORWARD;
189-
State last_state_ = FORWARD;
190189

191190
rclcpp::Publisher<geometry_msgs::msg::Twist>::SharedPtr twist_pub_;
192191
rclcpp::Subscription<turtlesim::msg::Pose>::SharedPtr pose_sub_;

0 commit comments

Comments
 (0)