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

Mismatched protocol version in packet (b'\xff'): lost sync or rosserial_python is from different ros release than the rosserial client #55

Open
1 of 5 tasks
fjp opened this issue Jan 22, 2022 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed
Projects

Comments

@fjp
Copy link
Member

fjp commented Jan 22, 2022

When using two publisher (pub_measured_joint_states_ and pub_encoders_ in the void diffbot::BaseController<TMotorController, TMotorDriver>::read() method, the following error can occur:

[ERROR] [1642866871.814281]: Mismatched protocol version in packet (b'\xff'): lost sync or rosserial_python is from different ros release than the rosserial client
[INFO] [1642867178.756300]: Protocol version of client is Rev 0 (rosserial 0.4 and earlier), expected Rev 1 (rosserial 0.5+)

and

[INFO] [1642867191.950343]: wrong checksum for topic id and msg

Suggestions in this answer might help

  • lowering baud rate
  • Don't use Serial.print and rosserial

Possible other solutions:

  • Edit ros::NodeHandle number of publisher, subscriber and buffer input/output sizes explained in ros wiki
  • Add delay between publish commands (not preferred)
  • publish at different rates (not optimal, only fallback solution)
@fjp fjp added bug Something isn't working help wanted Extra attention is needed labels Jan 22, 2022
@fjp fjp self-assigned this Jan 22, 2022
@fjp fjp added this to To Do in Noetic via automation Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Noetic
  
To Do
Development

No branches or pull requests

1 participant