-
Notifications
You must be signed in to change notification settings - Fork 170
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
I added the following in rosboard/rosboard.py
after line 135 and it works.
#119
Comments
Adding: import rclpy As well changing lines after 135 to:
is required to make it work |
renemoll
added a commit
to renemoll/rosboard
that referenced
this issue
Nov 29, 2023
As described in dheera#119
This worked for me both on ROS2 Foxy & Humble, thanks! |
Thanks! I merged another PR recently that fixed this as well. Let me know if it is an issue in any of your configurations now. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It fixed this error but now:
[INFO] [1695856654.803669864] [rosboard_node]: Subscribing to /scan
[WARN] [1695856654.804567837] [rosboard_node]: name 'HistoryPolicy' is not defined
Traceback (most recent call last):
File "/home/can/workspaces/rosboard_ws/install/rosboard/lib/python3.10/site-packages/rosboard/rosboard.py", line 264, in sync_subs
kwargs = {"qos": self.get_topic_qos(topic_name)}
File "/home/can/workspaces/rosboard_ws/install/rosboard/lib/python3.10/site-packages/rosboard/rosboard.py", line 137, in get_topic_qos
if(topic_info[0].qos_profile.history == HistoryPolicy.UNKNOWN):
NameError: name 'HistoryPolicy' is not defined
[INFO] [1695856655.809106101] [rosboard_node]: Subscribing to /scan
[WARN] [1695856655.812603795] [rosboard_node]: name 'HistoryPolicy' is not defined
Originally posted by @HX2003 in #104 (review)
The text was updated successfully, but these errors were encountered: