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 Jul 8, 2024
1 parent bac5d19 commit 3d2ac1a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,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 3d2ac1a

Please sign in to comment.