You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error in ros1_msg.id = ros2_msg.id from Visiong messages in ObjectHypothesis when trying to build the workspace.
Hey, I hope the reader is doing well, I've found myself in a problem trying to build the ros1-bridge package with ros-noeitc and ros-foxy, I could do it normally before without any trouble and I was actually even able to use it, however after some time without using it it won't build anymore. I followed the steps in the github documentation to clone it and build it once again, even with the foxy branch being cloned and get no positive results.
Required Info:
Operating System:
Ubuntu 20.04
Installation type:
source installed
Version or commit hash:
git rev-parse HEAD = 689a932
DDS implementation:
/opt/ros/foxy/bin/ros2:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
/opt/ros/foxy/lib/python3.8/site-packages/ros2doctor/api/platform.py: 82: UserWarning: Distribution foxy is no longer supported or deprecated. To get the latest features, download the new versions at https://index.ros.org/doc/ros2/Installation/
I looked up the type of messages for each id, I understand ros1_msg.id is int64 and ros_msg.id is a string, maybe the problem could be related to that, I don't know if this has been like this forever or if it was recently updated, but basically that is the error. Also the building stop after 2 minutes or something, just when it is about to end like at 96%
I believe it could really be a problem in an update of the vision messages because I was able to use ros1_bridge before and not anymore.
The text was updated successfully, but these errors were encountered:
Hey, just wanted to do an update on this, you have to have already tried to build this package to actually fix this mistake. Once you've tried to build the workspace you have look for the 2 files containing this mistake, mine is ros_bridge_ws and here is an example of the paths for the 2 files that must be fixed:
The issue here is that the ros1_msg.id is a long int and the ros2_msg is a string, so it will be as easy as doing the respective conversions to it's type of variable.
I think this problem still needs a solution since you have to have tried building the workspace before fixing it, so in the source code there should be some files that need some modifications to have this corrected and build the workspace correctly each time. If you have got the same issue as me, I hope this helped, feel free to reply the issue, I'll do my best at helping you too.
Bug report
error in ros1_msg.id = ros2_msg.id from Visiong messages in ObjectHypothesis when trying to build the workspace.
Hey, I hope the reader is doing well, I've found myself in a problem trying to build the ros1-bridge package with ros-noeitc and ros-foxy, I could do it normally before without any trouble and I was actually even able to use it, however after some time without using it it won't build anymore. I followed the steps in the github documentation to clone it and build it once again, even with the foxy branch being cloned and get no positive results.
Required Info:
Operating System:
Ubuntu 20.04
Installation type:
Version or commit hash:
git rev-parse HEAD = 689a932
DDS implementation:
/opt/ros/foxy/bin/ros2:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
/opt/ros/foxy/lib/python3.8/site-packages/ros2doctor/api/platform.py: 82: UserWarning: Distribution foxy is no longer supported or deprecated. To get the latest features, download the new versions at https://index.ros.org/doc/ros2/Installation/
N/A
Steps to reproduce issue
Expected behavior
Colcon build completed succesfully
Actual behavior
Additional information
I looked up the type of messages for each id, I understand ros1_msg.id is int64 and ros_msg.id is a string, maybe the problem could be related to that, I don't know if this has been like this forever or if it was recently updated, but basically that is the error. Also the building stop after 2 minutes or something, just when it is about to end like at 96%
I believe it could really be a problem in an update of the vision messages because I was able to use ros1_bridge before and not anymore.
The text was updated successfully, but these errors were encountered: