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

Re-init error #465

Open
archee8 opened this issue Jul 11, 2022 · 0 comments
Open

Re-init error #465

archee8 opened this issue Jul 11, 2022 · 0 comments

Comments

@archee8
Copy link

archee8 commented Jul 11, 2022

When executing consecutive commands init->shutdown->init. I often get various initialization errors.

Error examples:
success: False message: "CAN is not ready"
success: False message: "/home/src/ros_canopen/canopen_master/src/sdo.cpp(429): Throw\ \ in function void canopen::SDOClient::transmitAndWait(const canopen::ObjectDict::Entry&,\ \ const canopen::String&, canopen::String*)\nDynamic exception type: boost::wrapexcept<canopen::TimeoutException>\n\ std::exception::what: SDO\n[canopen::tag_objectdict_key*] = 1800sub1\n"
success: False message: "CAN init timed out; CAN is not ready"

But if I call init several times (3-4) in a row, then the driver is initialized successfully. Why doesn't this happen the first time?

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

1 participant