-
Notifications
You must be signed in to change notification settings - Fork 70
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
Using the internal Impedance controllers through ROS2 #44
Comments
Hi, It's not a noob question you already now about the motion_generators, which is advanced :) In ROS 2, we communicate also through the FCI(libfranka) interface with the Robot. You can think of ROS 2 as a wrapper of libfranka. In libfranka you can implement your control algorithm in two ways. First is the old callback style control, seconds is the relatively new one available only for new FR3 robot is the Motion_generators are using old callback function style control. Like in this callback function in the examples. We define the callback function, which takes Now for the second approach with auto active_control = startJointVelocityControl(franka::JointImpedance);
auto [robot_state, _] = active_control.readOnce();
active_control.writeOnce(joint_velocities); In ROS 2, we currently defaulted the usage of internal control to franka::JointImpedance ( franka_ros2/franka_hardware/src/robot.cpp Line 258 in 4cea20f
|
Thank you for your answer. Is there a way of using the internal controllers through the Another question I had is whether the user can schedule stiffness and damping gains on these internal controllers so as to achieve variable impedance effects? Thank you for your support. |
You are using the internal controller, unless you are commanding torques to the robot, which external control. You cannot change the stiffness or damping when a controller is running. You need to first stop the controller set the stiffness and activate the controller again |
…velocity-interface to humble * commit '221229e1bb19ae881032456ce979c150c13cefd8': bump up version update velocity controller example collision thresholds test: write velocity command interface tests feat/joint-velocity-interface
Hi,
This might be a noob question.
The
libfranka
interface allows one to generate their own motions and then speak to the Robot control using themotion_generator
interface and a default option of either the internal joint Impedance controller or the internal cartesian Impedance controller.Is there a way of utilising the internal controllers through ROS2 api as well?
The text was updated successfully, but these errors were encountered: