ros2 launch using ignition while run command line in ros2
How do you load some command line such as "ros2 topic pub --once /S0 std_msgs/msg/Float64 '{data: 1.5}' && ros2 topic pub --once /S1 std_msgs/msg/Float64 '{data: 1.5}'"
while leave ignition bridge in the launch file?
Even better, how do you create a node where you can load ros2 command line?
I'm not sure I follow your question. Are you asking how to run
ros2 topic pub ...
from a launch file? If so, use the launch.actions.ExecuteProcess action.Yes!! I think that's the one.
How do you use it exactly? I don't think I've ever seen it before