ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 base_link scan 10terminate called after throwing an instance of stdinvalid_argument what stod上面是什么
这是一个ROS2命令行指令,用于在ROS2中发布一个静态的坐标变换(Transform)。具体来说,它会在ROS2中运行名为tf2_ros的软件包中的一个节点,该节点会发布一个从/base_link到/scan的静态坐标变换,其中坐标变换的平移部分为(0,0,0),旋转部分为(0,0,0),并且该变换每秒钟会发布10次。然而,程序似乎遇到了一个std::invalid_argument异常,这可能是由于无法将某个字符串转换为数字导致的。
原文地址: https://www.cveoy.top/t/topic/b1hi 著作权归作者所有。请勿转载和采集!