PilzDE / pilz_robots

PILZ robot manipulator module PRBT 6 in ROS
https://wiki.ros.org/pilz_robots
50 stars 25 forks source link

PNOZ safety hardware uses wrong registers + missing modbus_write_api_pnoz.yaml #444

Closed JonathanGruner closed 4 years ago

JonathanGruner commented 4 years ago

Commit

Current one

Steps to reproduce

How can the issue/bug be reproduced?

  1. Connect PNOZ
  2. Download pilz_application_template
  3. Change safety_hw parameter to "pnoz"

Expected behavior

Observed behavior

Workaround

martiniil commented 4 years ago

Thank you for reporting the issue. The error with the missing file should disappear once you set has_braketest_support:=false. At least this is the intended setup for Pnoz.

martiniil commented 4 years ago

@jschleicher The issue occurs because the filename of the config file is not passed to modbus_client.launch. This is already fixed here: #384

JonathanGruner commented 4 years ago

Thank you for reporting the issue. The error with the missing file should disappear once you set has_braketest_support:=false. At least this is the intended setup for Pnoz.

Thanks for the answer. I checked but the parameter is set to "false", therefore this can't be the reason. If you want I can send you my package.

martiniil commented 4 years ago

Thank you for reporting the issue. The error with the missing file should disappear once you set has_braketest_support:=false. At least this is the intended setup for Pnoz.

Thanks for the answer. I checked but the parameter is set to "false", therefore this can't be the reason. If you want I can send you my package.

Thanks Jonathan. Please post a log of the error. Let's see if this helps.

JonathanGruner commented 4 years ago

roslaunch-rospc-HP-ProBook-650-G5-10296.log

my_application.launch.txt

martiniil commented 4 years ago

Your log shows that the file modbus_read_api_spec_pnoz.yaml is missing. I guess this is due to your workaround, in which this file is renamed. Can you revert your workaround (completely!) and post the log of the original error?

JonathanGruner commented 4 years ago

Ok you are right. Got confused with the errors and reseted the whole config folder into original. Than the error is gone.

martiniil commented 4 years ago

Hi @JonathanGruner , this issue should be fixed right now on the branch melodic-devel. It would be nice if you could validate it.

JonathanGruner commented 4 years ago

Hi, it works with this branch melodic-devel. Tested it with prbt_default_application. I will disassemble my testing cell now and close this request, thank you very much for your effort!