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 extra sub #3025

Merged
merged 1 commit into from
Jun 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ class FootprintSubscriber
*/
void footprint_callback(const geometry_msgs::msg::PolygonStamped::SharedPtr msg);

std::string topic_name_;
tf2_ros::Buffer & tf_;
std::string robot_base_frame_;
double transform_tolerance_;
Expand Down
6 changes: 2 additions & 4 deletions nav2_costmap_2d/src/footprint_subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ FootprintSubscriber::FootprintSubscriber(
tf2_ros::Buffer & tf,
std::string robot_base_frame,
double transform_tolerance)
: topic_name_(topic_name),
tf_(tf),
: tf_(tf),
robot_base_frame_(robot_base_frame),
transform_tolerance_(transform_tolerance)
{
Expand All @@ -48,8 +47,7 @@ FootprintSubscriber::FootprintSubscriber(
tf2_ros::Buffer & tf,
std::string robot_base_frame,
double transform_tolerance)
: topic_name_(topic_name),
tf_(tf),
: tf_(tf),
robot_base_frame_(robot_base_frame),
transform_tolerance_(transform_tolerance)
{
Expand Down