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

cannot launch other than cartesian impedance controller from franka #378

Open
Gjetti opened this issue Mar 19, 2024 · 0 comments
Open

cannot launch other than cartesian impedance controller from franka #378

Gjetti opened this issue Mar 19, 2024 · 0 comments

Comments

@Gjetti
Copy link

Gjetti commented Mar 19, 2024

Hello everyone,

One of the steps in the project that i am working on is to change the Cartesian impedance controller that is given from Franka.
First i am testing the controller on gazebo before going to work on the actual robot. Also, i wanted to create new files for the new controller, in case the original was needed later on.

I started by duplicating the files of the original Cartesian_impedance_example_controller (c++ code, include, config files...) and simply changed the name of the controller and files. Basically, it was the same controller with a different name. (this step is to only go through the entire files of a controller as practice). I made sure that i changed all the names in the files appropriately and that i had no typos, but i always get the following error: "could not load controller new_cartesian_impedance_controller because type was not specified. Did you load the controller configuration on the parameter server?". The type was exactly the same as the original one in the franka_example_controllers.yaml file; of course making sure to change the name to coincide with the name of the class of the new controller from the ".h" file: franka_example_controllers/NewCartesianImpedanceController.

Then, I did some changes to the original Cartesian impedance controller, and it worked perfectly fine!

I then tried to launch different controllers from Franka, ones that I haven't modified and they also give me the same issue (type was not specified, although it is). So basically, i can only launch a controller that has the name cartesian_impedance_example_controller.

I tried to search forums for this problem but it seems like no one has faced this issue.

Your help is much appreciated!

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

1 participant