Continuously connecting and disconnecting while throwing exceptions on server side
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 32/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- networking, robotics
调研方向
Reproduce the Unity Editor connection against ROS 2 Humble on v0.7.0, then start with ros_tcp_endpoint/client.py and server.py, especially handle_syscommand and the json.loads traceback. Compare the command payload with the disconnect sequence and determine what prevents the repeated exception and connection cycling; done means the initial connection remains stable without the reported server-side error.
由索引模型根据 Issue 内容生成。
描述
I am just trying to setup up an initial connection to start working with this project, but when I start the connection from Unity Editor, this following pattern keeps repeating on the server side while steadily connecting and disconnecting to host.
[INFO] [1699441005.167617580] [UnityEndpoint]: Disconnected from 192.168.0.171
Exception in thread Thread-12:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/user/ros2_tcp/install/ros_tcp_endpoint/lib/python3.10/site-packages/ros_tcp_endpoint/client.py", line 213, in run
self.tcp_server.handle_syscommand(destination, data)
File "/home/user/ros2_tcp/install/ros_tcp_endpoint/lib/python3.10/site-packages/ros_tcp_endpoint/server.py", line 126, in handle_syscommand
params = json.loads(message_json)
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 51 (char 50)
I am using the following setup:
- Unity Version: [e.g. Unity 2021.3.4f1]
- Unity machine OS + version: Windows 10
- ROS machine OS + version: Ubuntu 22.04, ROS Humble
- ROS–Unity communication: cloned repository and built with colcon (no docker)
- Branch or version: v0.7.0
- 主要语言
- C#
- 星标
- 2.6k
- 派生
- 473
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Unity-Technologies/Unity-Robotics-Hub 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
-
ROS2,Action未关闭
难度 4/5 3-5 天 新手友好度 25/100
-
难度 1/5 1 小时以内 新手友好度 20/100
-
难度 5/5 一周以上 新手友好度 15/100
-
难度 4/5 3-5 天 新手友好度 25/100
Unity-Technologies/Unity-Robotics-Hub#433 · 1 条评论 ·
查看 Unity-Technologies/Unity-Robotics-Hub 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 3 天内回复
-
bug python
难度 1/5 1 小时以内 新手友好度 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
维护者通常 13 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 82/100
juandresrodca/AdminForge#66 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
umbraco/Umbraco.Automate#612 ·
维护者通常 1 天内回复