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

Add standard tests for rqt_bag and rqt_bag_plugins #171

Merged
merged 4 commits into from
Jan 7, 2025

Conversation

clalancette
Copy link
Contributor

This ensures that these two packages are up to our standards.

This ensures the package is up to our standards.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
This just makes sure it is up to our standards.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
Copy link
Contributor Author

Pulls: #171
Gist: https://gist.githubusercontent.com/clalancette/3a68f12215dcc7296d338edd7f5c520b/raw/ecf8fd9bbe20485ed4498e728522fcd7f0df9a50/ros2.repos
BUILD args: --packages-above-and-dependencies rqt_bag rqt_bag_plugins
TEST args: --packages-above rqt_bag rqt_bag_plugins
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15011

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@ros-discourse
Copy link

This pull request has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/ros-news-for-the-week-of-december-30th-2024-2025/41389/1

Copy link

@Gunz-katomaran Gunz-katomaran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine to merge.

Copy link

@Raivias Raivias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor adds, nothing to stop a PR over.

Comment on lines 755 to 756
listen_type = type(listener)
qWarning('Error calling timeline_changed on %s: %s' % (listen_type, str(ex)))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're saving a single character with the assignment. Might as well use an f-string and keep it on one line.

Suggested change
listen_type = type(listener)
qWarning('Error calling timeline_changed on %s: %s' % (listen_type, str(ex)))
qWarning(f'Error calling timeline_changed on {type(listener)}: {str(ex)}')

@@ -89,7 +84,7 @@ def start_clock_publishing(self):
def stop_clock_publishing(self):
self._publish_clock = False
if CLOCK_TOPIC in self._publishers:
self._node.destroy_publisher(self._publishers[topic])
self._node.destroy_publisher(self._publishers[CLOCK_TOPIC])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a bug fix. Might be better brought out on it's own PR.

Comment on lines 31 to 32
from queue import Empty
from queue import Queue
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
from queue import Empty
from queue import Queue
from queue import Empty, Queue

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@ahcorde ahcorde merged commit 5d7e0ec into rolling Jan 7, 2025
1 check passed
@ahcorde ahcorde deleted the clalancette/cleanup branch January 7, 2025 13:43
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

Successfully merging this pull request may close these issues.

5 participants