Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

169 all commands are not sent at all time #180

Merged
merged 6 commits into from
Jan 18, 2024

Conversation

glannuzel
Copy link
Member

Use branch 87 on reachy2-sdk-api and branch 86 of reachy2_sdk_server.

Joints are sent in 2 messages, but all commands are sent.

NOTE : modifications have to be done on server side. Please wait before review

@glannuzel glannuzel linked an issue Jan 16, 2024 that may be closed by this pull request
@glannuzel
Copy link
Member Author

Ready for review!

Copy link
Contributor

@FabienDanieau FabienDanieau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test pass

@@ -286,8 +290,8 @@ def _pop_command(self) -> Orbita2dCommand:
command = Orbita2dCommand(**values)

self._register_needing_sync.clear()
for obj in list(self._joints.values()) + list(self._motors.values()):
obj._register_needing_sync.clear()
# for obj in list(self._joints.values()) + list(self._motors.values()):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove dead code?

@@ -312,8 +316,8 @@ def _pop_command(self) -> Orbita3dCommand:
command = Orbita3dCommand(**values)

self._register_needing_sync.clear()
for obj in list(self._joints.values()) + list(self._motors.values()):
obj._register_needing_sync.clear()
# for obj in list(self._joints.values()) + list(self._motors.values()):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1534 842 55% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/reachy2_sdk/arm.py 39% 🟢
src/reachy2_sdk/head.py 50% 🟢
src/reachy2_sdk/orbita2d.py 46% 🟢
src/reachy2_sdk/orbita3d.py 46% 🟢
src/reachy2_sdk/orbita_utils.py 81% 🟢
src/reachy2_sdk/reachy_sdk.py 41% 🟢
src/reachy2_sdk/register.py 60% 🟢
tests/test_arm.py 100% 🟢
tests/test_basic_movements.py 14% 🟢
tests/test_head.py 100% 🟢
tests/test_orbita3d.py 100% 🟢
TOTAL 62% 🟢

updated for commit: efdf4a7 by action🐍

@glannuzel glannuzel merged commit b42b523 into develop Jan 18, 2024
5 checks passed
@glannuzel glannuzel deleted the 169-all-commands-are-not-sent-at-all-time branch January 18, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All commands are not sent at all time
2 participants