-
Notifications
You must be signed in to change notification settings - Fork 0
added publisher for analyzed points #14
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A question for you
# timer to update items in the menu for payload selection | ||
self.timer_update_payload_selection = self.create_timer(0.5, self.update_payload_selection) | ||
# timer to publish all analyzed points in the workspace area | ||
self.timer_publish_analyzed_points = self.create_timer(2, self.publish_analyzed_points) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you publishing with a timer?
I didn't notice the previous one earlier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this way I reduce the time comsuming in that function, or do you mean that it is possible to publish it once and then stop to publish it because it is the same for all time ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check "transient local” here Quality of Service settings — ROS 2 Documentation: Rolling documentation https://share.google/2BqvINadfaCiZ6Qrl
It is similar to the one you are using to subscribe to a robot_description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, so in that way I will publish once and it will not require multiple publishing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct
Added publisher for analyzed points