-
Hi, I know this is related to #17 and task-space cartesian pose control can be achieved via torque control and a PD controller. However, the Panda HW interface also supports direct cartesian pose control. This is implementable in a pretty straightforward manner in franka_ros_interface by subscribing for example to a However, it would also be interesting to have this functionality in the simulator, for example in a file here. Given that I don't have a Panda at the moment to find out how the real one behaves with the cartesian interface, I can not implement this simulation functionality right now. Is it planned to also support this in simulator or would you always use the route of torque control (supported in simulation already) + PD controller. If so, this is the only example I found so far, is there also a C++ version already existing for it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Hi @jk-ethz, thanks for your interest! I've moved this post from "issues" to "discussion" as it seems more appropriate here. Now addressing your queries.
Short answer: This is not in my plans at the moment.
Like you said, it is possible to add another controller code in
This is a more interesting problem. These are some of the issues that are stopping me from implementing a cartesian controller for the simulator:
(I would look into implementing a cartesian controller for direct sim control only after I have incorporated cartesian control support in the
I don't have a C++ version, sorry. But it should be straightforward to write a similar example in C++. Another version of the same example that you linked is this. This is also a python example, but it uses ROS topics to control the robot instead of the API. You should be able to control the robot in the same manner by publishing and subscribing to the same topics as in this example. Hope it helps. |
Beta Was this translation helpful? Give feedback.
-
@jk-ethz hi, i just have a couple of questions about this issue. i wanna try my own impedance controller in c++, first on the gazebo simulation and then on real panda. Maybe just under the path: panda_simulator_examples/src. It should similar to the file task_space_control_with_fri.py. The simple way is using topics and service to control the robot. But there are so many barriers from arm.py and gripper.py. I mean the interfaces something like that. The another is using plugin(see the issue #25). Did u try your controller ? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Hi @jk-ethz, thanks for your interest! I've moved this post from "issues" to "discussion" as it seems more appropriate here.
Now addressing your queries.
Short answer: This is not in my plans at the moment.
Like you said, it is possible to add another controller code in
franka_ros_interface
and publish commands via ROS topic to control the cart…