ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

how to connect to Servo Drive(googoltech CDHD ServoDrive ethercat) using ros_Ethercat and ros_control

asked 2014-12-15 00:31:01 -0500

jackchen gravatar image

updated 2014-12-15 02:08:09 -0500

gvdhoorn gravatar image

I have not found any documents about how to connect to Servo Drive(googoltech CDHD servo drive) using Ethercat bus and ros_control in ROS website.

I use the joint trajectory controller (inside the ros_controller_manager) as the low-level contorl and use moveit package to carry out the high-level planning and use qt to design the UI, now i need to send low-level contorl conputing result to the servo Drive and get data from it through the Ethercat Bus.i have no idea about this,can anyone give me a hand ?

Thanks in advace!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-06-04 14:45:32 -0500

evanmj gravatar image

I think what you are looking for is http://wiki.ros.org/soem

" SOEM is an open source EtherCAT master library written in c"

It supports SoE and CoE based drives according to the feature list (as well as many other EtherCAT features), however I've not personally tried it on anything.

edit flag offensive delete link more
1

answered 2016-11-08 00:20:15 -0500

TraiBo gravatar image

updated 2016-11-08 02:22:07 -0500

gvdhoorn gravatar image

Hi Jackchen,

I have been working on it for the past 4 months, If you are still struck at the same issue above mentioned, The following information can be useful,

" SOEM is an open source EtherCAT master library written in c" which is available @ https://github.com/OpenEtherCATsociet... . After that try to go through the example codes in following link https://github.com/OpenEtherCATsociet...

  1. Download the repository SOEM-master and create a build directory in the path according to you ../../SOEM-master/
  2. Then again crate a test directory in side your build directory ../../SOEM-master/build/test/
  3. Now compile the package alone using cmake .. & make commands in the path ../../SOEM-master/
  4. Then find the executables generated in the path ../../SOEM-master/build/test/
  5. Connect your motor drive using Ethernet cable to your PC
  6. Try to run the simple_test executable with sudo permissions as follows sudo ./simpple_test eth0 or eth1
  7. Try to understand the response got from the ethercat slave drive like name, id , revision and cross check with the manufacturer data sheet
  8. Now decide yourself in which mode you want to run the ethercat slaves for example cyclic synchronous torque mode you can get the example code in the following link https://gist.github.com/manuelvonthro...
  9. Below are the best web links to extend the application code for your requirement http://www.elmomc.com/support/manuals... https://www.google.co.in/url?sa=t&rct...
edit flag offensive delete link more

Question Tools

4 followers

Stats

Asked: 2014-12-15 00:31:01 -0500

Seen: 1,304 times

Last updated: Nov 08 '16