-
Notifications
You must be signed in to change notification settings - Fork 0
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
433 add rotate for head #434
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
src/reachy2_sdk/utils/utils.py
Outdated
@@ -293,6 +293,33 @@ def get_pose_matrix(position: List[float], rotation: List[float], degrees: bool | |||
return pose | |||
|
|||
|
|||
def quaternion_from_euler(roll: float, pitch: float, yaw: float, degrees: bool = True) -> Quaternion: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
offline tests needed sorry :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! I would fix a test before merging though
Rotate_by for the head, with frame "robot" and "head"