CLI
Node
node list
--ros-args --remap __node:=my_turtle
ros2 node info <node_name>
Topic
ros2 topic list -t
ros2 topic info <topic_name>
ros2 interface show <topic_name>
ros2 topic pub <topic_name> <msg_type> '<args>'
ros2 topic echo <topic_name>
Service
ros2 service list
ros2 service type <service_name>
ros2 service list -t
ros2 service find <type_name>
ros2 interface show <type_name>
ros2 service call <service_name> <service_type> <arguments>
Param
ros2 param list
ros2 param get <node_name> <parameter_name>
ros2 param set <node_name> <parameter_name> <value>
ros2 param dump <node_name>
ros2 param load <node_name> <parameter_file>
ros2 run <package_name> <executable_name> --ros-args --params-file <file_name>
Action
ros2 action list -t
ros2 action info <action_name>
ros2 interface show <action_name>
ros2 action send_goal <action_name> <action_type> <values> [--feedback]
Bag
ros2 bag record -o
ros2 bag info <bag_file_name>