Skip to content
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

Franka Kinematics at Controller Level #63

Open
jcarpinelli-bdai opened this issue May 23, 2024 · 1 comment
Open

Franka Kinematics at Controller Level #63

jcarpinelli-bdai opened this issue May 23, 2024 · 1 comment

Comments

@jcarpinelli-bdai
Copy link

Today, the FrankaRobotModel class provides users forward kinematics utility functions which operate at the hardware level. This works when used in ROS 2 controllers which accept true Franka hardware, but does not work for simulated Franka arms. Is there some way to compute Franka kinematics using user-provided positions? I would be interested in helping to contribute this, if not.

@BarisYazici
Copy link
Collaborator

Yes currently for the gazebo simulator FrankaRobotModel and FrankaState interfaces are not available. However with Gazebo, you get joint_states(joint_positions, joint_velocities, joint_efforts). Based on these values you could calculate the M,C and G using either KDL or Pinocchio. For the Jacobians you could probably also use the same tools. Here is an example how we calculate the gravity term for the Gazebo simulation in KDL -> https://github.com/frankaemika/franka_ros2/blob/humble/franka_gazebo/franka_ign_ros2_control/src/model_kdl.cpp.
We will support FrankaRobotModel and FrankaState for Gazebo simulation, but the timeline is not clear. You are free to contribute. But currently the supervision from our side could be limited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants