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
A bit of an explanation first. I was trying to get a web-based application working with a ROS2-based backend (including 3d viewer), but ran into issues with the robot meshes showing up. I tested both rosbridge_suite (ros2 branch) and ros2-web-bridge, but eventually realized it had to do with a lack of compliant tf2_web_republisher. Since a ROS2-based tf2_web_republisher didn't exist, I actually created a python-based port for ROS2 here: tf2_web_republisher_py. However, it doesn't seem like it is fully working with both options of ROS bridging.
Expected Behavior
When running robot_state_publisher, my own tf2_web_republisher_py, and either of the two bridge libraries, the robot models should show up. Note, it does seem like the client successfully accesses those files.
Actual Behavior
No robot shows up.
For the ros2-web-bridge, it seems like the bridge doesn't connect to the services/actions provided by tf2_web_republisher_py:
When loading the robot on the frontend, I get the following errors in that console:
[ERROR] [1611770934.850646234] [rosbridge_websocket]: [Client 0] [id: advertise:/tf2_web_republisher/goal:55] advertise: Unable to import msg class TFSubscriptionActionGoal from package tf2_web_republisher. Caused by module 'tf2_web_republisher.msg' has no attribute 'TFSubscriptionActionGoal'
[ERROR] [1611770934.932197810] [rosbridge_websocket]: [Client 0] [id: subscribe:/tf2_web_republisher/feedback:57] subscribe: Unable to import msg class TFSubscriptionActionFeedback from package tf2_web_republisher. Caused by module 'tf2_web_republisher.msg' has no attribute 'TFSubscriptionActionFeedback'
** To me, this seems to look like ROS1 code? **
If it helps, here is the node info of the python-based tf2_web_republisher:
Start robot_state_publisher, my own tf2_web_republisher_py, and either of the two bridge libraries
Start a TFClient from roslibjs
Load robot model in ros3djs
Specifications
ROS Version (echo $ROS_DISTRO): Foxy
OS Version (grep DISTRIB_CODENAME /etc/lsb-release): MacOS 11
Rosbridge Version (roscat rosbridge_server package.xml | grep '<version>'): 1.0.2
Twisted Version (python -c 'import twisted; print twisted.version'): 20.3.0
As an aside, I haven't fully vetted the tf2_web_republisher_py, but once it is working, I would be happy to transfer that over to you if you would like.
The text was updated successfully, but these errors were encountered:
This issue has been marked as stale because it has been open for 180 days with no activity. Please remove the stale label or add a comment to keep it open.
A bit of an explanation first. I was trying to get a web-based application working with a ROS2-based backend (including 3d viewer), but ran into issues with the robot meshes showing up. I tested both rosbridge_suite (
ros2
branch) and ros2-web-bridge, but eventually realized it had to do with a lack of compliant tf2_web_republisher. Since a ROS2-based tf2_web_republisher didn't exist, I actually created a python-based port for ROS2 here: tf2_web_republisher_py. However, it doesn't seem like it is fully working with both options of ROS bridging.Expected Behavior
When running
robot_state_publisher
, my owntf2_web_republisher_py
, and either of the two bridge libraries, the robot models should show up. Note, it does seem like the client successfully accesses those files.Actual Behavior
No robot shows up.
For the
ros2-web-bridge
, it seems like the bridge doesn't connect to the services/actions provided bytf2_web_republisher_py
:In contrast, using the
rosbridge_server
, it doesn't seem to hav the cancel publisher:When loading the robot on the frontend, I get the following errors in that console:
** To me, this seems to look like ROS1 code? **
If it helps, here is the node info of the python-based
tf2_web_republisher
:Steps to Reproduce the Problem
robot_state_publisher
, my owntf2_web_republisher_py
, and either of the two bridge librariesSpecifications
echo $ROS_DISTRO
): Foxygrep DISTRIB_CODENAME /etc/lsb-release
): MacOS 11roscat rosbridge_server package.xml | grep '<version>'
): 1.0.2python -c 'import twisted; print twisted.version'
): 20.3.0As an aside, I haven't fully vetted the tf2_web_republisher_py, but once it is working, I would be happy to transfer that over to you if you would like.
The text was updated successfully, but these errors were encountered: