Skip to content

Commit

Permalink
refactor(behavior_path_planner): add const to interface methods (auto…
Browse files Browse the repository at this point in the history
…warefoundation#5497)

rafactor(behavior_path_planner): add const to interface methods

Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 authored Nov 7, 2023
1 parent c9e0b91 commit a29c7da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class SceneModuleInterface
return calcOffsetPose(dead_pose_.get(), base_link2front, 0.0, 0.0);
}

void resetWallPoses()
void resetWallPoses() const
{
stop_pose_ = boost::none;
slow_pose_ = boost::none;
Expand Down Expand Up @@ -477,7 +477,7 @@ class SceneModuleInterface
* @brief Return true if the activation command is received from the RTC interface.
* If no RTC interface is registered, return true.
*/
bool isActivated()
bool isActivated() const
{
if (rtc_interface_ptr_map_.empty()) {
return true;
Expand Down

0 comments on commit a29c7da

Please sign in to comment.