Skip to content

Commit b93c730

Browse files
committed
Fix: set step time
That was a regression introduced in cb79da8
1 parent 97213da commit b93c730

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_spline_interpolation.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ class SplineInterpolationTest : public ::testing::Test
122122

123123
void SetUp()
124124
{
125+
step_time_ = 0.002;
126+
if (g_my_robot->ur_driver_->getVersion().major < 5)
127+
{
128+
step_time_ = 0.008;
129+
}
125130
std::string safety_status;
126131
g_my_robot->dashboard_client_->commandSafetyStatus(safety_status);
127132
bool is_protective_stopped = safety_status.find("PROTECTIVE_STOP") != std::string::npos;

0 commit comments

Comments
 (0)