155 字
1 分钟
ros2——interface 终端命令
interface 命令
ros2 interface -husage: ros2 interface [-h] Call `ros2 interface <command> -h` for more detailed usage. ...
Show information about ROS interfaces
options: -h, --help show this help message and exit
Commands: list List all interface types available package Output a list of available interface types within one package packages Output a list of packages that provide interfaces proto Output an interface prototype show Output the interface definitionlist 列出所有活动接口
ros2 interface listshow 输出接口定义
ros2 interface show <interface_name>示例:
ros2 interface show example_interfaces/msg/String
# This is an example message of using a primitive datatype, string.# If you want to test with this that's fine, but if you are deploying# it into a system you should create a semantically meaningful message type.# If you want to embed it in another message, use the primitive data type instead.string dataros2——interface 终端命令
https://blog.wangmasterai.com/posts/ros2系列/消息接口-interface/terminal/分享文章
生成精美分享图或复制链接,与更多人分享本文。
继续阅读
换条路线
从其他文章中稳定抽取
最后更新于 ,距今已过 28 天
部分内容可能已过时