Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dominic Reber <71256590+domire8@users.noreply.github.com>
  • Loading branch information
bpapaspyros and domire8 authored Oct 18, 2024
1 parent c51b74f commit 9b7ae7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ Release Versions

## Upcoming changes (in development)

- feat(state-representation): add utilities for CartesianStateVariable (#195)
- feat(state-representation): add utilities for JointStateVariable (#197)
- test(state-representation): add utility tests for Cartesian/JointState (#201)
- feat(state-representation): add utilities for CartesianStateVariable (#195, #201)
- feat(state-representation): add utilities for JointStateVariable (#197, #201)

## 9.0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ def test_utilities(self):
self.assertTrue((state.get_state_variable(CartesianStateVariable.POSITION) == [4.0, 5.0, 6.0]).all())

state.set_state_variable(np.array([7.0, 8.0, 9.0]), CartesianStateVariable.POSITION)
self.assertTrue((state.get_state_variable(CartesianStateVariable.POSITION) == [7.0, 8.0, 9.0]).all())
self.assertTrue((state.get_position() == [7.0, 8.0, 9.0]).all())

if __name__ == '__main__':
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def test_utilities(self):
self.assertTrue((state.get_state_variable(JointStateVariable.POSITIONS) == [4.0, 5.0, 6.0]).all())

state.set_state_variable(np.array([7.0, 8.0, 9.0]), JointStateVariable.POSITIONS)
self.assertTrue((state.get_state_variable(JointStateVariable.POSITIONS) == [7.0, 8.0, 9.0]).all())
self.assertTrue((state.get_positions() == [7.0, 8.0, 9.0]).all())

if __name__ == '__main__':
unittest.main()

0 comments on commit 9b7ae7e

Please sign in to comment.