Skip to content

Commit e420aeb

Browse files
committed
Call initialize() on constructor
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
1 parent e981817 commit e420aeb

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

nav2_behavior_tree/plugins/action/controller_selector_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ControllerSelector::ControllerSelector(
3232
const BT::NodeConfiguration & conf)
3333
: BT::SyncActionNode(name, conf)
3434
{
35-
createROSInterfaces();
35+
initialize();
3636
}
3737

3838
void ControllerSelector::initialize()

nav2_behavior_tree/plugins/action/goal_checker_selector_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ GoalCheckerSelector::GoalCheckerSelector(
3232
const BT::NodeConfiguration & conf)
3333
: BT::SyncActionNode(name, conf)
3434
{
35-
createROSInterfaces();
35+
initialize();
3636
}
3737

3838
void GoalCheckerSelector::initialize()

nav2_behavior_tree/plugins/action/planner_selector_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ PlannerSelector::PlannerSelector(
3232
const BT::NodeConfiguration & conf)
3333
: BT::SyncActionNode(name, conf)
3434
{
35-
createROSInterfaces();
35+
initialize();
3636
}
3737

3838
void PlannerSelector::initialize()

nav2_behavior_tree/plugins/action/progress_checker_selector_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ProgressCheckerSelector::ProgressCheckerSelector(
3131
const BT::NodeConfiguration & conf)
3232
: BT::SyncActionNode(name, conf)
3333
{
34-
createROSInterfaces();
34+
initialize();
3535
}
3636

3737
void ProgressCheckerSelector::initialize()

nav2_behavior_tree/plugins/action/smoother_selector_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SmootherSelector::SmootherSelector(
3333
const BT::NodeConfiguration & conf)
3434
: BT::SyncActionNode(name, conf)
3535
{
36-
createROSInterfaces();
36+
initialize();
3737
}
3838

3939
void SmootherSelector::initialize()

nav2_behavior_tree/plugins/condition/is_battery_charging_condition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ IsBatteryChargingCondition::IsBatteryChargingCondition(
2626
battery_topic_("/battery_status"),
2727
is_battery_charging_(false)
2828
{
29-
createROSInterfaces();
29+
initialize();
3030
}
3131

3232
void IsBatteryChargingCondition::initialize()

nav2_behavior_tree/plugins/decorator/goal_updater_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ GoalUpdater::GoalUpdater(
3535
goal_updater_topic_("goal_update"),
3636
goals_updater_topic_("goals_update")
3737
{
38-
createROSInterfaces();
38+
initialize();
3939
}
4040

4141
void GoalUpdater::initialize()

0 commit comments

Comments
 (0)