Skip to content

Commit

Permalink
fix: remove unnecessary DEBUG_INFO declarations (autowarefoundation#2457
Browse files Browse the repository at this point in the history
)

Signed-off-by: kminoda <[email protected]>

Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda authored and 1222-takeshi committed Dec 9, 2022
1 parent 7f0916b commit 0e6d6f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions localization/stop_filter/src/stop_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
#include <string>
#include <utility>

// clang-format off
#define PRINT_MAT(X) std::cout << #X << ":\n" << X << std::endl << std::endl
#define DEBUG_INFO(...) {if (show_debug_info_) {RCLCPP_INFO(__VA_ARGS__);}}
#define DEBUG_PRINT_MAT(X) {if (show_debug_info_) {std::cout << #X << ": " << X << std::endl;}}

// clang-format on
using std::placeholders::_1;

StopFilter::StopFilter(const std::string & node_name, const rclcpp::NodeOptions & node_options)
Expand Down
6 changes: 0 additions & 6 deletions localization/twist2accel/src/twist2accel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
#include <string>
#include <utility>

// clang-format off
#define PRINT_MAT(X) std::cout << #X << ":\n" << X << std::endl << std::endl
#define DEBUG_INFO(...) {if (show_debug_info_) {RCLCPP_INFO(__VA_ARGS__);}}
#define DEBUG_PRINT_MAT(X) {if (show_debug_info_) {std::cout << #X << ": " << X << std::endl;}}

// clang-format on
using std::placeholders::_1;

Twist2Accel::Twist2Accel(const std::string & node_name, const rclcpp::NodeOptions & node_options)
Expand Down

0 comments on commit 0e6d6f8

Please sign in to comment.