Skip to content

Remove sending an idle command in quintic spline test #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions tests/test_spline_interpolation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ class SplineInterpolationTest : public ::testing::Test
ASSERT_TRUE(g_my_robot->isHealthy());
}

void sendIdle()
{
ASSERT_TRUE(g_my_robot->ur_driver_->writeKeepalive(RobotReceiveTimeout::sec()));
}

void sendTrajectory(const std::vector<urcl::vector6d_t>& s_pos, const std::vector<urcl::vector6d_t>& s_vel,
const std::vector<urcl::vector6d_t>& s_acc, const std::vector<double>& s_time)
{
Expand Down Expand Up @@ -458,10 +453,6 @@ TEST_F(SplineInterpolationTest, quintic_spline_with_end_point_velocity_with_spee
std::unique_ptr<rtde_interface::DataPackage> data_pkg;
g_my_robot->readDataPackage(data_pkg);

// Align timestep
sendIdle();
g_my_robot->readDataPackage(data_pkg);

urcl::vector6d_t joint_positions, joint_velocities, joint_acc;
ASSERT_TRUE(data_pkg->getData("target_q", joint_positions));
ASSERT_TRUE(data_pkg->getData("target_qd", joint_velocities));
Expand Down
Loading