Skip to content

Walking engine tidying #1810

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

schluis
Copy link
Contributor

@schluis schluis commented Mar 18, 2025

Why? What?

  • It's nicer now

How to Test

  • look at the code, shouldn't change anything

@github-project-automation github-project-automation bot moved this to Request for Review in Development Mar 18, 2025
@schluis schluis added the is:Refactoring No changes in functionality, only in coding style. label Mar 18, 2025
@schluis schluis enabled auto-merge March 18, 2025 19:42
Comment on lines +13 to +28
left_sole_to_robot: linear_algebra::Transform<LeftSole, Robot, Isometry3<f32>>,
right_sole_to_robot: linear_algebra::Transform<RightSole, Robot, Isometry3<f32>>,
) -> LowerBodyJoints<f32> {
let left_foot: Pose3<LeftSole> =
linear_algebra::Isometry3::from(RobotDimensions::LEFT_ANKLE_TO_LEFT_SOLE)
.inverse()
.as_pose();

let right_foot: Pose3<RightSole> =
linear_algebra::Isometry3::from(RobotDimensions::RIGHT_ANKLE_TO_RIGHT_SOLE)
.inverse()
.as_pose();

let left_foot = left_sole_to_robot * left_foot;
let right_foot = right_sole_to_robot * right_foot;

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand why this is nicer than before, can you elaborate on that?

)
};
let (backward_acceleration, forward_acceleration) =
if last_requested_step.forward > f32::EPSILON {
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the motivation for this change?

@schmidma
Copy link
Member

I discussed these changes with @schluis a few days ago. This PR is still in progress and should not be merged in the current state. Moving back to in progress

@schmidma schmidma moved this from Request for Review to In Progress in Development Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:Refactoring No changes in functionality, only in coding style.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants