Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the unused member variable last_state_ #156

Merged
merged 1 commit into from Aug 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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