Skip to content

Commit

Permalink
fix(behavior_path_planner): use snake case for debug marker (#3342)
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
  • Loading branch information
satoshi-ota committed Apr 10, 2023
1 parent fbe8870 commit 93e040a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,7 @@ class SceneModuleInterface
rtc_interface_ptr_map_(rtc_interface_ptr_map)
{
#ifdef USE_OLD_ARCHITECTURE
std::string module_ns;
module_ns.resize(name.size());
std::transform(name.begin(), name.end(), module_ns.begin(), tolower);

const auto ns = std::string("~/debug/") + module_ns;
const auto ns = std::string("~/debug/") + util::convertToSnakeCase(name);
pub_debug_marker_ = node.create_publisher<MarkerArray>(ns, 20);
#endif

Expand Down

0 comments on commit 93e040a

Please sign in to comment.