Skip to content

Commit

Permalink
Set hardcoded value different from yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed May 7, 2024
1 parent 9b99062 commit 70ceae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diff_drive_controller/test/test_diff_drive_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ class TestDiffDriveController : public ::testing::Test
rclcpp::Parameter("right_wheel_names", rclcpp::ParameterValue(right_wheel_joints_init)));
// default parameters
parameter_overrides.push_back(
rclcpp::Parameter("wheel_separation", rclcpp::ParameterValue(0.4)));
parameter_overrides.push_back(rclcpp::Parameter("wheel_radius", rclcpp::ParameterValue(0.02)));
rclcpp::Parameter("wheel_separation", rclcpp::ParameterValue(1.0)));
parameter_overrides.push_back(rclcpp::Parameter("wheel_radius", rclcpp::ParameterValue(0.1)));

parameter_overrides.insert(parameter_overrides.end(), parameters.begin(), parameters.end());
node_options.parameter_overrides(parameter_overrides);
Expand Down

0 comments on commit 70ceae3

Please sign in to comment.