Skip to content

Commit

Permalink
remove set_command state asset
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinkum0009 committed Jan 9, 2025
1 parent 7d6cd6f commit c1df617
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ TEST_F(IOGripperControllerTest, ReconfigureGripperService)

std::this_thread::sleep_for(std::chrono::milliseconds(5000));

ASSERT_EQ(
controller_->update(rclcpp::Time(0), rclcpp::Duration::from_seconds(0.01)),
controller_interface::return_type::OK);

ASSERT_EQ(
*(controller_->reconfigure_state_buffer_.readFromRT()),
io_gripper_controller::reconfigure_state_type::SET_COMMAND);

ASSERT_EQ(
controller_->update(rclcpp::Time(0), rclcpp::Duration::from_seconds(0.01)),
controller_interface::return_type::OK);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@ TEST_F(IOGripperControllerTest, ReconfigureGripperAction)

executor.spin_some(std::chrono::milliseconds(5000));

ASSERT_EQ(
controller_->update(rclcpp::Time(0), rclcpp::Duration::from_seconds(0.01)),
controller_interface::return_type::OK);

ASSERT_EQ(
*(controller_->reconfigure_state_buffer_.readFromRT()),
io_gripper_controller::reconfigure_state_type::SET_COMMAND);

ASSERT_EQ(
controller_->update(rclcpp::Time(0), rclcpp::Duration::from_seconds(0.01)),
controller_interface::return_type::OK);
Expand Down

0 comments on commit c1df617

Please sign in to comment.