ROS2编程基础课程--arguments
Passing ROS arguments to nodes via the command-line 通过命令行将ROS参数传递给节点 All ROS nodes take a set of arguments that allow various properties to be reconfigured. Examples include configuring the name/namespace of the node, topic/service names used, and parameters on the node. 所有ROS节点都采用一组参数, 可以 重新配置各种属性。示例包括配置节点的名称/命名空间,使用的主题/服务名称以及节点上的参数。 Note: all features on this page are only available as of the ROS 2 Bouncy release. 注意:此 网页 上的所有功能仅在ROS 2 Bouncy 及之后发行版本 中提供 ,适用于Bouncy、Crystal和Dashing。 Name remapping 名称重新映射 <old name>:=<new name> . The name/namespace of the node itself can be remapped __node:=