You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the Cartesian pose interface through franka_semantic_components, the arm seems to ignore the Cartesian stiffness values I set through the /service_center. The Joint impedance values are respected, but no matter how low I set the Cartesian stiffness values, the arm is not compliant in Cartesian space.
To replicate this, you can add the following code to the on_configure method of the CartesianImpedanceExampleController class. Am I missing some way to configure the arm for compliant motion in Cartesian space?
auto client =
get_node()->create_client<franka_msgs::srv::SetCartesianStiffness>("service_server/set_cartesian_stiffness");
auto request = std::make_shared<franka_msgs::srv::SetCartesianStiffness::Request>(franka_msgs::srv::SetCartesianStiffness::Request());
request->cartesian_stiffness.at(0) = 10;
request->cartesian_stiffness.at(1) = 10;
request->cartesian_stiffness.at(2) = 10;
request->cartesian_stiffness.at(3) = 10;
request->cartesian_stiffness.at(4) = 10;
request->cartesian_stiffness.at(5) = 10;
auto future_result = client->async_send_request(request);
future_result.wait_for(seconds(1));
auto success = future_result.get();
if (!success) {
RCLCPP_FATAL(get_node()->get_logger(), "Failed to set Cartesian stiffness.");
return controller_interface::CallbackReturn::ERROR;
} elseif (!success->success) {
RCLCPP_FATAL(get_node()->get_logger(), "Failed to set Cartesian stiffness.");
return controller_interface::CallbackReturn::ERROR;
} else {
RCLCPP_INFO(get_node()->get_logger(), "Cartesian stiffness set.");
}
The text was updated successfully, but these errors were encountered:
…introduce-franka-robotics-naming to humble
* commit '73091d474bf5d6e9d9f3e9e628ac7b0dd9554fa6':
chore: Changed the copyright from Franka Emika to Franka Robotics
This seems to be a small oversight of us - currently there is no way to do CartesianImpedance control (which then would re-act to the Cartesian stiffnesses you set).
When I use the Cartesian pose interface through
franka_semantic_components
, the arm seems to ignore the Cartesian stiffness values I set through the/service_center
. The Joint impedance values are respected, but no matter how low I set the Cartesian stiffness values, the arm is not compliant in Cartesian space.To replicate this, you can add the following code to the
on_configure
method of theCartesianImpedanceExampleController
class. Am I missing some way to configure the arm for compliant motion in Cartesian space?The text was updated successfully, but these errors were encountered: