Once you have decided which nodes you want to run as part of your robot, you can automate the launch process for all scripts by using the roslaunch command. Its syntax is as follows:
$ roslaunch <name_of_package> <name_of_launch_file>
For our example, this is pretty simple as there is only one node. The launch file is in the repository at ./pkg_mygopigo/launch/easyDistance.launch and its syntax is based on XML:
<launch>
<node name="easyDistance_sensor" pkg="mygopigo" type="distance-sensor.py" output="screen" />
node name="distance_subscriber" pkg="mygopigo" type="distance-sensor_subscriber.py" output="screen" />
</launch>
The <launch> tag delineates the robot description. Then, you include one <node>...