micro-ROS / micro-ROS-Agent

ROS 2 package using Micro XRCE-DDS Agent.
Apache License 2.0
104 stars 63 forks source link

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

Open Laicize opened 1 year ago

Laicize commented 1 year ago

issue : std::bad_array_new_length

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

aXynt commented 1 year ago

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