-
Notifications
You must be signed in to change notification settings - Fork 38
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
Implement blf-balancing-torque-control #707
Conversation
GiulioRomualdi
commented
Jul 17, 2023
•
edited
Loading
edited
Here is a video of the test in simulation balancing_torque_controller.mp4 |
@@ -653,6 +650,29 @@ bool YarpRobotControl::setReferences(Eigen::Ref<const Eigen::VectorXd> desiredJo | |||
return false; |
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.
log()->error("[YarpRobotControl::setReferences] Unable to set the control modes.");
should be
log()->error("[YarpRobotControl::setControlMode] Unable to set the control modes.");
com_knots_delta_x (0.0, 0.0, 0.03, 0.03, -0.03, -0.03, 0.0, 0.0) # in meter | ||
com_knots_delta_y (0.0, 0.05, 0.05, -0.05, -0.05, 0.05, 0.05, 0.0) # in meter | ||
com_knots_delta_z (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) # in meter | ||
#com_knots_delta_x (0.0, 0.0, 0.0, 0.0, -0.0, -0.0, 0.0, 0.0) # in meter |
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.
#com_knots_delta_x (0.0, 0.0, 0.0, 0.0, -0.0, -0.0, 0.0, 0.0) # in meter |
com_knots_delta_y (0.0, 0.05, 0.05, -0.05, -0.05, 0.05, 0.05, 0.0) # in meter | ||
com_knots_delta_z (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) # in meter | ||
#com_knots_delta_x (0.0, 0.0, 0.0, 0.0, -0.0, -0.0, 0.0, 0.0) # in meter | ||
#com_knots_delta_y (0.0, 0.0, 0.0, -0.0, -0.0, 0.0, 0.0, 0.0) # in meter |
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.
#com_knots_delta_y (0.0, 0.0, 0.0, -0.0, -0.0, 0.0, 0.0, 0.0) # in meter |
com_knots_delta_z (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) # in meter | ||
#com_knots_delta_x (0.0, 0.0, 0.0, 0.0, -0.0, -0.0, 0.0, 0.0) # in meter | ||
#com_knots_delta_y (0.0, 0.0, 0.0, -0.0, -0.0, 0.0, 0.0, 0.0) # in meter | ||
#com_knots_delta_z (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) # in meter |
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.
#com_knots_delta_z (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) # in meter |
# if not blf.text_logging.LoggerBuilder.set_factory( | ||
# blf.text_logging.YarpLoggerFactory("balancing-torque-control") | ||
# ): | ||
# blf.log().error("Impossible to set the logger factory.") | ||
# return False |
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 do not know if you want to re-enable the logging. If not, you may cancel out these lines.
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 would say yes!
|
||
|
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.
0e06de7
to
5fdd83a
Compare