Skip to content

Commit

Permalink
Cleanup one test
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Oct 15, 2023
1 parent f23b382 commit ffa3533
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1722,12 +1722,9 @@ TEST_P(TrajectoryControllerTestParameterized, test_hw_states_has_offset_later_co
std::vector<double> initial_pos_cmd, initial_vel_cmd, initial_acc_cmd;
for (size_t i = 0; i < 3; ++i)
{
joint_pos_[i] = 3.1 + static_cast<double>(i);
initial_pos_cmd.push_back(joint_pos_[i]);
joint_vel_[i] = 0.25 + static_cast<double>(i);
initial_vel_cmd.push_back(joint_vel_[i]);
joint_acc_[i] = 0.02 + static_cast<double>(i) / 10.0;
initial_acc_cmd.push_back(joint_acc_[i]);
initial_pos_cmd.push_back(3.1 + static_cast<double>(i));
initial_vel_cmd.push_back(0.25 + static_cast<double>(i));
initial_acc_cmd.push_back(0.02 + static_cast<double>(i) / 10.0);
}
SetUpAndActivateTrajectoryController(
executor, {is_open_loop_parameters}, true, 0., 1., false, initial_pos_cmd, initial_vel_cmd,
Expand Down

0 comments on commit ffa3533

Please sign in to comment.