BCLab-UNM / SC2

Swarmathon Team Code for the NASA Space Challenge 2 Competition
MIT License
2 stars 0 forks source link

Brakes Service Exception After Scoring Sometimes #71

Closed abbypribis closed 4 years ago

abbypribis commented 4 years ago

Here is what roslaunch gives me when it fails:

`[WARN] [1596753825.566055, 166.427000]: I found a volatile! ice

Traceback (most recent call last): File "/home/abbypribis/SC2/src/scoot/src/MinCore.py", line 19, in driver.run() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 303, in run self.check_obstacles() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 201, in __check_obstacles self._stop_now(MoveResult.OBSTACLE_LASER) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 150, in _stop_now self._brake_ramp(self.MAX_BRAKES) # Applying full brakes File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 136, in _brake_ramp self.brake_service.call(brake_value) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 535, in call transport.close() File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 846, in close self.socket.close() AttributeError: 'NoneType' object has no attribute 'close' [ERROR] [1596753827.209731, 168.016000]: bad callback: <bound method State._obstacle of <Driver.State instance at 0x7f2f9effa280>> Traceback (most recent call last): File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb(msg) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 214, in _obstacle self.check_obstacles() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 201, in __check_obstacles self._stop_now(MoveResult.OBSTACLE_LASER) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 150, in _stop_now self._brake_ramp(self.MAX_BRAKES) # Applying full brakes File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 136, in _brake_ramp self.brake_service.call(brake_value) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 532, in call raise ServiceException("transport error completing service call: %s"%(str(e))) ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details

[ERROR] [1596753827.398710, 168.084000]: Task caught scout,0behavior exception: Traceback (most recent call last): File "/home/abbypribis/SC2/src/scoot/src/Task.py", line 79, in launch return_val = prog() File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 53, in main random_walk(num_moves=50) File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 40, in random_walk wander() File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 25, in wander scoot.drive(random.gauss(4, 1)) File "/home/abbypribis/SC2/src/scoot/src/Scoot.py", line 438, in drive return self.drive(req, **kwargs) File "/home/abbypribis/SC2/src/scoot/src/Scoot.py", line 415, in drive move_result = self.control([request]).result File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 442, in call return self.call(*args, **kwds) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 530, in call raise rospy.exceptions.ROSInterruptException("node shutdown interrupted service call") ROSInterruptException: node shutdown interrupted service call

[scout_1/MinCore-17] process has died [pid 13842, exit code 1, cmd /home/abbypribis/SC2/src/scoot/src/MinCore.py name:=MinCore log:=/home/abbypribis/.ros/log/d79e27f4-d835-11ea-86fb-f48c50c94bd1/scout_1-MinCore-17.log]. log file: /home/abbypribis/.ros/log/d79e27f4-d835-11ea-86fb-f48c50c94bd1/scout_1-MinCore-17*.log [scout_1/MinCore-17] restarting process process[scout_1/MinCore-17]: started with pid [16122] [ERROR] [1596753831.330914, 0.000000]: Task manager restarted. [ERROR] [1596754153.493267, 477.939000]: bad callback: <bound method State._obstacle of <Driver.State instance at 0x7f9e51696820>> Traceback (most recent call last): File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb(msg) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 214, in _obstacle self.__check_obstacles() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 201, in __check_obstacles self._stop_now(MoveResult.OBSTACLE_LASER) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 150, in _stop_now self._brake_ramp(self.MAX_BRAKES) # Applying full brakes File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 136, in _brake_ramp self.brake_service.call(brake_value) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 532, in call raise ServiceException("transport error completing service call: %s"%(str(e))) ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details

[WARN] [1596754289.868371, 603.564000]: I found a volatile! sulfur_dio [WARN] [1596754289.873605, 603.568000]: Score attempt failed

[WARN] [1596754292.073664, 605.589000]: I found a volatile! sulfur_dio [WARN] [1596754292.077687, 605.593000]: Score attempt failed

Traceback (most recent call last): File "/home/abbypribis/SC2/src/scoot/src/MinCore.py", line 19, in driver.run() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 303, in run self.__check_obstacles() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 205, in check_obstacles self._stop_now(MoveResult.OBSTACLE_VOLATILE) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 150, in _stop_now self._brake_ramp(self.MAX_BRAKES) # Applying full brakes File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 136, in _brake_ramp self.brake_service.call(brake_value) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 532, in call raise ServiceException("transport error completing service call: %s"%(str(e))) rospy.service.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details [ERROR] [1596754293.242722, 606.521000]: Task caught scout,0behavior exception: Traceback (most recent call last): File "/home/abbypribis/SC2/src/scoot/src/Task.py", line 79, in launch return_val = prog() File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 53, in main random_walk(num_moves=50) File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 40, in random_walk wander() File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 25, in wander scoot.drive(random.gauss(4, 1)) File "/home/abbypribis/SC2/src/scoot/src/Scoot.py", line 438, in drive return self.drive(req, *kwargs) File "/home/abbypribis/SC2/src/scoot/src/Scoot.py", line 415, in drive move_result = self.control([request]).result File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 442, in call__ return self.call(args, **kwds) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 530, in call raise rospy.exceptions.ROSInterruptException("node shutdown interrupted service call") ROSInterruptException: node shutdown interrupted service call

[scout_1/MinCore-17] process has died [pid 16122, exit code 1, cmd /home/abbypribis/SC2/src/scoot/src/MinCore.py name:=MinCore log:=/home/abbypribis/.ros/log/d79e27f4-d835-11ea-86fb-f48c50c94bd1/scout_1-MinCore-17.log]. log file: /home/abbypribis/.ros/log/d79e27f4-d835-11ea-86fb-f48c50c94bd1/scout_1-MinCore-17*.log [scout_1/MinCore-17] restarting process process[scout_1/MinCore-17]: started with pid [25468] [ERROR] [1596754297.616123, 610.579000]: Task manager restarted. [WARN] [1596754299.625025, 612.403000]: I found a volatile! sulfur_dio [WARN] [1596754299.630895, 612.409000]: Score attempt failed

[WARN] [1596754301.838473, 614.428000]: I found a volatile! sulfur_dio [WARN] [1596754301.852316, 614.439000]: Score attempt failed

[WARN] [1596754304.068682, 616.458000]: I found a volatile! sulfur_dio [WARN] [1596754304.073235, 616.462000]: Score attempt failed

[ERROR] [1596754305.246162, 617.526000]: bad callback: <bound method State._obstacle of <Driver.State instance at 0x7fe4f30100f0>> Traceback (most recent call last): File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb(msg) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 214, in _obstacle self.__check_obstacles() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 205, in __check_obstacles self._stop_now(MoveResult.OBSTACLE_VOLATILE) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 150, in _stop_now self._brake_ramp(self.MAX_BRAKES) # Applying full brakes File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 136, in _brake_ramp self.brake_service.call(brake_value) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 532, in call raise ServiceException("transport error completing service call: %s"%(str(e))) ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details

[WARN] [1596754306.307338, 618.483000]: I found a volatile! sulfur_dio [WARN] [1596754306.313964, 618.489000]: Score attempt failed

Traceback (most recent call last): File "/home/abbypribis/SC2/src/scoot/src/MinCore.py", line 19, in driver.run() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 303, in run self.__check_obstacles() File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 205, in check_obstacles self._stop_now(MoveResult.OBSTACLE_VOLATILE) File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 150, in _stop_now self._brake_ramp(self.MAX_BRAKES) # Applying full brakes File "/home/abbypribis/SC2/src/scoot/src/Driver.py", line 136, in _brake_ramp self.brake_service.call(brake_value) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 532, in call raise ServiceException("transport error completing service call: %s"%(str(e))) rospy.service.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details [ERROR] [1596754308.641513, 620.030000]: Task caught scout,0behavior exception: Traceback (most recent call last): File "/home/abbypribis/SC2/src/scoot/src/Task.py", line 79, in launch return_val = prog() File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 53, in main random_walk(num_moves=50) File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 40, in random_walk wander() File "/home/abbypribis/SC2/src/scoot/src/behaviors/scout/searchRandomWalk.py", line 25, in wander scoot.drive(random.gauss(4, 1)) File "/home/abbypribis/SC2/src/scoot/src/Scoot.py", line 438, in drive return self.drive(req, *kwargs) File "/home/abbypribis/SC2/src/scoot/src/Scoot.py", line 415, in drive move_result = self.control([request]).result File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 442, in call__ return self.call(args, **kwds) File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 530, in call raise rospy.exceptions.ROSInterruptException("node shutdown interrupted service call") ROSInterruptException: node shutdown interrupted service call

[scout_1/MinCore-17] process has died [pid 25468, exit code 1, cmd /home/abbypribis/SC2/src/scoot/src/MinCore.py name:=MinCore log:=/home/abbypribis/.ros/log/d79e27f4-d835-11ea-86fb-f48c50c94bd1/scout_1-MinCore-17.log]. log file: /home/abbypribis/.ros/log/d79e27f4-d835-11ea-86fb-f48c50c94bd1/scout_1-MinCore-17*.log [scout_1/MinCore-17] restarting process process[scout_1/MinCore-17]: started with pid [25910] [ERROR] [1596754312.495471, 0.000000]: Task manager restarted. [WARN] [1596754314.731634, 625.995000]: I found a volatile! sulfur_dio [WARN] [1596754314.736932, 626.000000]: Score attempt failed

[WARN] [1596754317.003891, 628.020000]: I found a volatile! sulfur_dio [WARN] [1596754317.009281, 628.025000]: Score attempt failed

[WARN] [1596754319.256540, 630.038000]: I found a volatile! ice

Let me know if you need more info!