Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: moveit/moveit2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8451b2095b4b2abafd0d4a060a51a51a3288f76e
Choose a base ref
..
head repository: moveit/moveit2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 061fb695136a8780f3565489b2896d016c6ad9f2
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 moveit_ros/moveit_servo/tests/test_utils.cpp
4 changes: 2 additions & 2 deletions moveit_ros/moveit_servo/tests/test_utils.cpp
Original file line number Diff line number Diff line change
@@ -90,7 +90,7 @@ TEST(ServoUtilsUnitTests, validVector)
TEST(ServoUtilsUnitTests, invalidVector)
{
Eigen::VectorXd invalid_vector(6);
invalid_vector << 0.0, 0.0, 0.0, 0.0, std::nan("");
invalid_vector << 0.0, 0.0, 0.0, 0.0, std::nan(""), 0.0;
EXPECT_FALSE(moveit_servo::isValidCommand(invalid_vector));
}

@@ -105,7 +105,7 @@ TEST(ServoUtilsUnitTests, validTwist)
TEST(ServoUtilsUnitTests, emptyTwistFrame)
{
Eigen::VectorXd invalid_vector(6);
invalid_vector << 0.0, 0.0, 0.0, 0.0, std::nan("");
invalid_vector << 0.0, 0.0, 0.0, 0.0, std::nan(""), 0.0;
moveit_servo::TwistCommand invalid_twist;
invalid_twist.velocities = invalid_vector;
EXPECT_FALSE(moveit_servo::isValidCommand(invalid_twist));