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

7 add head movements functions #24

Merged
merged 6 commits into from
Oct 9, 2023
Merged

Conversation

glannuzel
Copy link
Member

No description provided.

@glannuzel glannuzel requested a review from simheo October 5, 2023 10:54
@glannuzel glannuzel self-assigned this Oct 5, 2023
@glannuzel glannuzel linked an issue Oct 5, 2023 that may be closed by this pull request
Comment on lines 59 to 67
def orient(self, q: Quat, duration: float) -> None:
req = NeckGoal(id=self.part_id, rotation=Rotation3D(q=Quaternion(w=q.w, x=q.x, y=q.y, z=q.z)), duration=duration)
self._head_stub.GoToOrientation(req)

def rotate_to(self, roll: float, pitch: float, yaw: float, duration: float) -> None:
pass
req = NeckGoal(
id=self.part_id, rotation=Rotation3D(rpy=EulerAngles(roll=roll, pitch=pitch, yaw=yaw)), duration=duration
)
self._head_stub.GoToOrientation(req)
Copy link
Member Author

Choose a reason for hiding this comment

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

Could be in Orbita3D instead. @simheo

@simheo simheo merged commit 2353dce into develop Oct 9, 2023
1 of 3 checks passed
@simheo simheo deleted the 7-add-head-movements-functions branch October 9, 2023 14:10
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.

Add head movements functions.
2 participants