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

ros_tcp_endpoint can't connect to ros2 rolling #167

Open
jlkee123 opened this issue Jun 8, 2023 · 0 comments
Open

ros_tcp_endpoint can't connect to ros2 rolling #167

jlkee123 opened this issue Jun 8, 2023 · 0 comments

Comments

@jlkee123
Copy link

jlkee123 commented Jun 8, 2023

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.

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

No branches or pull requests

1 participant