-
Notifications
You must be signed in to change notification settings - Fork 275
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
check for doubled PDO mappings #185
base: kinetic-devel
Are you sure you want to change the base?
check for doubled PDO mappings #185
Conversation
We have tested this PR. This correctly prevents one object mapping in multiple PDO. |
There is an issue with this fix. If you call /driver/init then call /driver/shutdown and call /driver/init again there will be an exception thrown about PDO mapped twice. |
Should be rescolved by auto-unmap. |
@JuliusGel: does the new version work for you? |
@ipa-mdl : Hi, unfortunately we had made a decision not use ros_canopen due to hardware issues. I therefore am not able to test this anymore. I could only provide a dcf that was failing if that is of any interest. |
This would be great :) |
I am attaching the eds file that had this problem. |
@ipa-mdl What's the status of this PR? We have the same issue, is there a solution for this issue? Can ros_canopen support multiple-pdos mapping now? |
@jacknlliu: It must be rebased and tested. |
@ipa-mdl actually this PR only check the mapping and don't make ros_canopen work with this situation. If you have solutions to make doubled PDOs work with ros_canopen, we can test it. |
84e9ffc
to
8457b02
Compare
The current design does not allow ambiguous PDO mappings. |
As pointed out in #183 PDOs cannot be mapped twice. This patch checks for this case and stops further processing.
@JuliusGel: Can you test this fix, please.
I don't have access to a CANopen set-up right now, and it is triggered only in 301 init.