Skip to content

Commit

Permalink
Add missing velocity state in the system test_component
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Jun 17, 2024
1 parent fe4f242 commit 3cd4cb1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ class TestSystem : public SystemInterface
{
return return_type::DEACTIVATE;
}
// The next line is for the testing purposes. We need value to be changed to
// be sure that the feedback from hardware to controllers in the chain is
// working as it should. This makes value checks clearer and confirms there
// is no "state = command" line or some other mixture of interfaces
// somewhere in the test stack.
velocity_state_[0] = velocity_command_[0] / 2.0;
return return_type::OK;
}

Expand Down

0 comments on commit 3cd4cb1

Please sign in to comment.