Fixed bug in acomms_driver init() when connection to modem isn't made before ros master is shutdown
Bugfixes
- fixes bug that happened when ros master is shutdown before the
acomms_drivernode is able to get a$CCCFQ,SRCreply$CACFG,SRC,Xfrom the modem. Before this query was in awhile Trueloop. Now it's inwhile not rospy.is_shutdown()andconnected_to_modem = Falseto start and is onlyconnected_to_modem = Truewhen we got a reply and we break from the loop. After breaking out of this loop, we check ifconnected_to_modem. If we are, we proceed, Else,rospy.is_shutdown()isTrueso we print an error and return