Skip to main content

init

Function init 

Source
pub fn init<T: Parser>(node_name: &str) -> Result<(T, Node)>
Expand description

Create the ROS node and parse T from the command line and the node’s ROS parameters.

Arguments between --ros-args and -- are left to rcl, so the binaries accept remapping (-r __node:=…, -r __ns:=…), -p and --params-file like any ROS node. Each ROS parameter named after an argument (bitrate, keyframe_interval_ms, …) fills that argument: flags win over parameters, which win over environment variables and defaults.