ipa320 / schunk_robots

www.schunk-modular-robotics.com
29 stars 50 forks source link

initializing powercubes not successful. error: Could not reset module # during init. #88

Open hanjuns opened 6 years ago

hanjuns commented 6 years ago

I could be able to build this package, but I cannot initialize PW70.

First of all, I changed the config/ptu_driver.yaml file for my CAN setting and module ids as below.

can_baudrate: 500 (I guess this means 500k, right?)

can_device: can0

can_module: SOCKETCAN

...

modul_ids: [13, 14]

...

Then, I ran robot.launch and dashboard.launch and clicked the 'init' button on the dashboard.

Then it shows the error like this.

[ INFO] [1507700589.955168930]: ...initializing powercubes not successful. error: Could not reset module 13 during init. Errorcode during reset: 1 Try to init once more.

Does anybody know how to resolve this problem?

I am using IXXAT CAN module and running ROS indigo.

The unit works when I manually send a CAN message using cansend, but I want to operate PW70 on ROS using this package.

Thanks, Hanjun

destogl commented 6 years ago

If you are using socket CAN than you have to set up manually in your /etc/network/interfaces file the baudrate. There should be some discussions regarding that in this repository. Please try to find them.