-
Notifications
You must be signed in to change notification settings - Fork 56
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
base: main
Are you sure you want to change the base?
Walking engine tidying #1810
Conversation
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; | ||
|
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.
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 { |
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.
What is the motivation for this change?
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 |
Why? What?
How to Test