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

Read an entire RPDO message and publish it #302

Open
ashwinsushil opened this issue Aug 15, 2024 · 0 comments
Open

Read an entire RPDO message and publish it #302

ashwinsushil opened this issue Aug 15, 2024 · 0 comments
Labels
question Further information is requested

Comments

@ashwinsushil
Copy link

ashwinsushil commented Aug 15, 2024

Describe the bug
I want to create a publisher that publishes the entire 8 bytes in a PDO when master receives a PDO from a device (like an sensor or encoder).

Taking the case of Proxy driver:
Currently, there is indeed a topic called /rpdo that publishes each value at an object index-subindex. But this triggered on the OnRpdoWrite callback where it pushes COData into a queue.

I would like to receive the entire PDO instead in one cycle and the time period of this publisher would be Event(ms) described in the eds file of the device(sensors, encoder). Therefore if there are 4 TPDO from the device, there should be 4 publishers..

Could you please suggest some ideas?

Logs
Add build or execution log for context.

Setup:

  • Device:
  • OS: Ubunut 22
  • ROS-Distro: Humble
  • Branch/Commit: 1dd817c

Additional context
Add any other context about the problem here.

@ashwinsushil ashwinsushil added the question Further information is requested label Aug 15, 2024
@ashwinsushil ashwinsushil changed the title Read an entire PDO message and publish it Read an entire RPDO message and publish it Aug 20, 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