Skip to content

ros_tcp_endpoint can't connect to ros2 rolling #167

@jlkee123

Description

@jlkee123

Describe the bug
ros_tcp_endpoint can't connect to ros2 rolling. give below errors

/opt/ros/rolling/lib/python3.10/site-packages/rclpy/executors.py:780: UserWarning: MultiThreadedExecutor is used with a single thread.
Use the SingleThreadedExecutor instead. [ros2run]: Segmentation fault

To Reproduce
Steps to reproduce the behavior:

  1. run 'ros2 run ros_tcp_endpoint default_server_endpoint --ros-args -p ROS_IP:=1xx.xx.x.x' in ubuntu terminal
  2. Click on 'play button over at Unity windows PC'
  3. See error

Console logs / stack traces

jlkee@jlkee-ThinkPad-E14-Gen-2:~/ros-tcp-connector$ ros2 run ros_tcp_endpoint default_server_endpoint --ros-args -p ROS_IP:=192.168.1.120
[INFO] [1686222339.152750512] [UnityEndpoint]: Starting server on 192.168.1.120:10000
[INFO] [1686222344.932709639] [UnityEndpoint]: Connection from 192.168.1.10
[INFO] [1686222344.985584038] [UnityEndpoint]: RegisterSubscriber(/tf, <class 'tf2_msgs.msg._tf_message.TFMessage'>) OK
[ros2run]: Segmentation fault

Expected behavior
I expected Unity and ROS2 to be connected and see 'blue arrows' at Unity side

Screenshots
image

Environment (please complete the following information, where applicable):

  • Unity Version: Unity 2020.3.24f1
  • Unity machine OS + version: Windows 10
  • ROS machine OS + version: Ubuntu 22.04.2 LTS, ROS2 Rolling
  • ROS–Unity communication: Wifi and LAN cable through ros_tcp_endpoint
  • Branch or version: v0.7.0

Additional context
I tried with ROS2 humble using another laptop and connection was established successfully with 'blue arrows' seen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions