Skip to content

Commit 1fcb7c3

Browse files
style(pre-commit): autofix
1 parent 738e785 commit 1fcb7c3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

control/vehicle_cmd_gate/test/src/test_filter_in_vehicle_cmd_gate_node.cpp

+8-4
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,14 @@ class PubSubNode : public rclcpp::Node
301301
// TODO(Horibe): check for each velocity range.
302302
if (std::abs(lon_vel) > 0.01) {
303303
// Assert over averaged values against limits
304-
ASSERT_LT_NEAR(std::abs(avg_lon_acc), max_lon_acc_lim, threshold_scale) << "last_x was = " << last_x;
305-
ASSERT_LT_NEAR(std::abs(avg_lon_jerk), max_lon_jerk_lim, threshold_scale) << "last_x was = " << last_x;
306-
ASSERT_LT_NEAR(std::abs(avg_lat_acc), max_lat_acc_lim, threshold_scale) << "last_x was = " << last_x;
307-
ASSERT_LT_NEAR(std::abs(avg_lat_jerk), max_lat_jerk_lim, threshold_scale) << "last_x was = " << last_x;
304+
ASSERT_LT_NEAR(std::abs(avg_lon_acc), max_lon_acc_lim, threshold_scale)
305+
<< "last_x was = " << last_x;
306+
ASSERT_LT_NEAR(std::abs(avg_lon_jerk), max_lon_jerk_lim, threshold_scale)
307+
<< "last_x was = " << last_x;
308+
ASSERT_LT_NEAR(std::abs(avg_lat_acc), max_lat_acc_lim, threshold_scale)
309+
<< "last_x was = " << last_x;
310+
ASSERT_LT_NEAR(std::abs(avg_lat_jerk), max_lat_jerk_lim, threshold_scale)
311+
<< "last_x was = " << last_x;
308312
}
309313
}
310314
};

0 commit comments

Comments
 (0)