Skip to content

Commit

Permalink
update 1.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaxaxx committed Jun 5, 2024
1 parent bd10962 commit 4730003
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rocs_client"
version = "1.3.10"
version = "1.3.11"
authors = [{name = "jax", email = "ming.li@fftai.com"}]
license = {text = "MIT"}
requires-python = ">=3.8"
Expand Down
4 changes: 2 additions & 2 deletions rocs_client/robot/human.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@ def waist(self, roll: float, pitch: float, yaw: float):
self._send_websocket_msg({
'command': 'waist',
'data': {
'roll': self._cover_param(roll, "roll", -17.1887, 17.1887),
'pitch': self._cover_param(pitch, "pitch", -17.1887, 17.1887),
'roll': self._cover_param(roll, "roll", -5, 5),
'pitch': self._cover_param(pitch, "pitch", -5, 5),
'yaw': self._cover_param(yaw, "yaw", -17.1887, 17.1887)
}
})
Expand Down
4 changes: 2 additions & 2 deletions test/test_human.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def on_error(error: Exception):


class TestHuman(unittest.TestCase):
human = Human(on_connected=on_connected, host="192.168.12.1", on_message=on_message, on_close=on_close,
human = Human(on_connected=on_connected, host="127.0.0.1", on_message=on_message, on_close=on_close,
on_error=on_error)

def test_enable_debug_state(self):
Expand Down Expand Up @@ -113,6 +113,6 @@ def test_status_control_svr(self):
self.human.exit()

def test_waist(self):
self.human.waist(0, 0, 0)
self.human.waist(0, 0, 30)
time.sleep(5)
self.human.exit()

0 comments on commit 4730003

Please sign in to comment.