Function of & in the code

Respected Prof,
What’s the purpose of this & in the first command of execution in the pic below?

The ampersand directs the shell to run the roslaunch command in the background. Note that if you include it, the shell will print out the process job number and process ID, something like:

user:~$ roslaunch ardrone_as action_server.launch &
[1] 1303

This doesn’t affect the functioning of the roslaunch itself.

What is the benefit to running it in the background?

It allows you to have the process running but still be able to use the same terminal

Aah, Now I see. Thank you :blush: