micro-ROS-Agent icon indicating copy to clipboard operation
micro-ROS-Agent copied to clipboard

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"

Open Laicize opened this issue 2 years ago • 1 comments

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

Additional information

Laicize avatar Aug 23 '23 03:08 Laicize

maybe you should check if tinyxml2 is installed before building the micro ros agent, in my case this solved the problem

aXynt avatar Oct 23 '23 00:10 aXynt