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

RPDO message skipped or two message published simultaneously #322

Open
halil93ibrahim opened this issue Sep 26, 2024 · 0 comments
Open

RPDO message skipped or two message published simultaneously #322

halil93ibrahim opened this issue Sep 26, 2024 · 0 comments
Labels
question Further information is requested

Comments

@halil93ibrahim
Copy link

Describe the bug
Using the ProxyDriver to connect to my sensors and it is publishing rpdo messages at 100Hz. It might occur that one message is missed and two messages received simultaneously the next iteration. When I check it with candump on terminal the data is coming properly. However, the /sensor1/rpdo topic is having this issue. Is there anyone can help me how to approach this problem?

Logs
Below I have printed each received rpdo message. Timestamps show that package 2 and 3 received 20ms after package 1. Supposed to send each 10ms apart.

[sick_mls_node-2] [INFO] [1727342578.589812399] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 1  # package 1
[sick_mls_node-2] [INFO] [1727342578.589948279] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 2
[sick_mls_node-2] [INFO] [1727342578.590049550] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 3
[sick_mls_node-2] [INFO] [1727342578.590199967] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 4
[sick_mls_node-2] [INFO] [1727342578.590337962] [sick_mls_publisher]: Sensor num 0. index 2022, subindex: 0
[sick_mls_node-2] [INFO] [1727342578.609024044] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 1  # package 2
[sick_mls_node-2] [INFO] [1727342578.609262077] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 2
[sick_mls_node-2] [INFO] [1727342578.609367358] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 3
[sick_mls_node-2] [INFO] [1727342578.609461185] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 4
[sick_mls_node-2] [INFO] [1727342578.609596538] [sick_mls_publisher]: Sensor num 0. index 2022, subindex: 0  
[sick_mls_node-2] [INFO] [1727342578.609686594] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 1 # package 3
[sick_mls_node-2] [INFO] [1727342578.609779485] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 2
[sick_mls_node-2] [INFO] [1727342578.609871000] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 3
[sick_mls_node-2] [INFO] [1727342578.610008108] [sick_mls_publisher]: Sensor num 0. index 2021, subindex: 4

Setup:

  • Device:
  • OS: Ubuntu 24.04
  • ROS-Distro: Jazzy
  • Branch/Commit: master/eef67bac5999143d9bca244bf61d695f4083af8b

Additional context
I am connected to 6 sensors. I have check the load on the canbus and there is not problem. I have also checked the flow with candump all 6 sensors send can packages properly.

@halil93ibrahim halil93ibrahim added the question Further information is requested label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant