micro-ROS / micro-ROS/micro-ROS-Agent

run micro-ROS-Agent to connecct a client ,the terminal will report "terminate called after throwing an instance of 'std::bad_array_new_length' what(): std::bad_array_new_length"

未关闭
#205 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C++
星标
201
派生
111
平均合并
1 天 6 小时
30 天内合并 PR
10

描述

## issue : std::bad_array_new_length

- Hardware description: longxin 2k with using longxin2k1000 CPU made in China.
- RTOS: ruihua RTOS made in China
- Installation type: micro_ros_setup
- Version or commit hash: humble

#### Steps to reproduce the issue
run MicroRos client to create a connection with micro-ROS-Agent, my terminal will report this problem.
but ,i can create a connection by using the humble micro-ROS-Agent in docker.
i just build micro-ROS-Agent by micro_ros_setup tool and run it

#### Expected behavior
like i use it in docker,work well
#### Actual behavior
![image](https://github.com/micro-ROS/micro-ROS-Agent/assets/42798006/3757ff71-20ef-4593-8bba-1e1a1070c2ec)
#### Additional information

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

在搭载 Ruihua RTOS 的 Longxin 2K 上,使用由 micro_ros_setup 构建的 Agent 重现 micro-ROS 客户端连接,然后将其与 Docker 中正常工作的 Humble Agent 进行比较。未指定源文件或测试;跟踪 Agent 的启动和连接路径,以确定 std::bad_array_new_length 在何处引发。完成标准是本地构建的 Agent 能够在不出现该异常的情况下成功连接。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
embedded-iot, robotics
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。