Skip to content

Commit be05299

Browse files
committed
Linting
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
1 parent 00f1a13 commit be05299

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nav2_mppi_controller/src/critics/cost_critic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ void CostCritic::initialize()
5555
" for full instructions. This will substantially impact run-time performance.");
5656
}
5757

58-
if(costmap_ros_->getUseRadius()==consider_footprint_){
58+
if(costmap_ros_->getUseRadius() == consider_footprint_) {
5959
RCLCPP_WARN(logger_, "Considering footprint but robot radius set in costmap");
6060
}
6161

62-
if(near_collision_cost_ > 253.0f){
62+
if(near_collision_cost_ > 253.0f) {
6363
RCLCPP_WARN(logger_, "Near collision cost is set higher than INSCRIBED_INFLATED_OBSTACLE");
6464
}
6565

nav2_mppi_controller/src/critics/obstacles_critic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void ObstaclesCritic::initialize()
4444
" for full instructions. This will substantially impact run-time performance.");
4545
}
4646

47-
if(costmap_ros_->getUseRadius()==consider_footprint_){
47+
if(costmap_ros_->getUseRadius() == consider_footprint_) {
4848
RCLCPP_WARN(logger_, "Considering footprint but robot radius set in costmap");
4949
}
5050

0 commit comments

Comments
 (0)