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

There is no manufacturer-specific EDS file available. Going on with the default dictionary... #10

Closed
grafoteka opened this issue Jun 26, 2018 · 4 comments

Comments

@grafoteka
Copy link

Hi all,

I'm trying to control 6 Mxon MCD Epos with the kacanopen_example_motor_and_io_bridge node.
I have generate my EDS file with Maxon EPOS Studio and then check it with Vector CANeds program.

Then, I copy the file into the path /home/jorge/WS/kacanopen/src/kacanopen/master/share/eds_library/MaxonMotor

And modify the line 336 in the device.cpp file with:

std::string eds_path = "/home/jorge/WS/kacanopen/src/kacanopen/master/share/eds_library/MaxonMotor/maxon_motor_EPOS.eds";

But when I execute:

rosrun kacanopen kacanopen_example_motor_and_io_bridge

I have the error:

There is no manufacturer-specific EDS file available. Going on with the default dictionary...

Am I doing something wrong importing the file?

Thank you,
Jorge

@grafoteka
Copy link
Author

Hi all,
I continue trying to get work the motors in velocity mode, but still stuck.

I try to load the default maxon epos2 eds file, but still having error.

Device 1: There is no manufacturer-specific EDS file available. Going on with the default dictionary...

Then it loads the default dictionary. Which it suppose to be the CiA_profiles/402.eds.

But then, I have the error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  [JointStatePublisher] Only position mode supported yet. Try device.set_entry("modes_of_operation", device.get_constant("profile_position_mode"));
Aborted (core dumped)

I have modify in the file profile.cpp the operation mode according to Maxon Manual

{ "velocity_mode", static_cast<int8_t>(-2) },

But neither the velocity_mode nor the profile_velocity_mode works...

Am I forgetting some more modification?

Thank you

@OliEfr
Copy link

OliEfr commented Jul 4, 2018

Try to place your maxon_eds file in the location of CiA_profiles/402.eds

@grafoteka
Copy link
Author

I try it OliEfr, but finally the problem is that is not possible to control the motor in velocity profile, they haven't implemented that mode...

Hope, someone could help me to do it

@thk1
Copy link
Collaborator

thk1 commented Aug 9, 2018

I'll close this, because the eds_library problem seems to be solved. I see, you already filed a feature request for velocity mode support in the ROS bridge (issue #12).

@thk1 thk1 closed this as completed Aug 9, 2018
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

3 participants