What !nh.connected() does (in arduino sketch)
Actually i want my arduino sketch to start when my packages are publishing on topics (basically when ROS MASTER is running).Right now for instance i have a car that is moving before i execute the packages (for example the LIDAR package and more ) .
What while (!nh.connected())
does .Is there anything that could help me with this problem