Skip to content

Commit 738e785

Browse files
author
M. Fatih Cırıt
committed
bring back old todo
Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
1 parent 2c8df0a commit 738e785

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

control/vehicle_cmd_gate/test/src/test_filter_in_vehicle_cmd_gate_node.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ class PubSubNode : public rclcpp::Node
297297
const auto max_lat_jerk_lim = *std::max_element(lat_jerk_lim.begin(), lat_jerk_lim.end());
298298

299299
constexpr auto threshold_scale = 1.1;
300+
// Output command must be smaller than maximum limit.
301+
// TODO(Horibe): check for each velocity range.
300302
if (std::abs(lon_vel) > 0.01) {
301303
// Assert over averaged values against limits
302304
ASSERT_LT_NEAR(std::abs(avg_lon_acc), max_lon_acc_lim, threshold_scale) << "last_x was = " << last_x;

0 commit comments

Comments
 (0)