Open tfoote opened 7 years ago
Debugging with Paul the invalid altitudes have also been observed on zephyrs causing deactivations.
[rosout][INFO] 2017-03-06 17:28:42,663: tactic_interface ready state set to 'True'
[rosout][INFO] 2017-03-06 17:28:42,663: tactic_interface set request returned True
[rosout][INFO] 2017-03-06 17:28:42,672: tactic_interface activate request False returned False
[rosout][INFO] 2017-03-06 17:28:43,692: activating behavior tactic_interface
[rosout][INFO] 2017-03-06 17:28:43,693: tactic_interface activate request True returned True
[rosout][INFO] 2017-03-06 17:28:43,840: deactivating behavior tactic_interface
[rospy.internal][INFO] 2017-03-06 17:28:43,840: topic impl's ref count is zero, deleting topic /swarm_tracker/swarm_uav_states...
[rospy.internal][INFO] 2017-03-06 17:28:43,841: topic[/swarm_tracker/swarm_uav_states] removing connection to http://192.168.2.10:35423/
[rospy.internal][INFO] 2017-03-06 17:28:43,861: topic impl's ref count is zero, deleting topic /red_tracker/red_uav_states...
[rospy.internal][INFO] 2017-03-06 17:28:43,862: topic[/red_tracker/red_uav_states] removing connection to http://192.168.2.10:35993/
[rosout][INFO] 2017-03-06 17:28:43,971: tactic_interface ready state and active state set to 'False'
[rosout][WARNING] 2017-03-06 17:28:43,975: Altitude control mode invalid or invalid altitude order
[rosout][WARNING] 2017-03-06 17:28:43,977: Attempted invalid waypoint:
[rosout][WARNING] 2017-03-06 17:28:43,977: lat: 35.7201016869
lon: -120.758527138
alt: -10132.22
[rosout][INFO] 2017-03-06 17:28:52,067: tactic_interface activate request False returned False
[rospy.internal][INFO] 2017-03-06 17:29:17,618: topic[/red_tracker/red_uav_states] adding connection to [http://192.168.2.10:35993/], count 0
[rospy.internal][INFO] 2017-03-06 17:29:18,119: topic[/swarm_tracker/swarm_uav_states] adding connection to [http://192.168.2.10:35423/], count 0
[rosout][INFO] 2017-03-06 17:29:18,825: tactic_interface ready state set to 'True'
[rosout][INFO] 2017-03-06 17:29:18,826: tactic_interface set request returned True
[rosout][INFO] 2017-03-06 17:29:18,835: tactic_interface activate request False returned False
[rosout][INFO] 2017-03-06 17:29:19,867: activating behavior tactic_interface
[rosout][INFO] 2017-03-06 17:29:19,870: tactic_interface activate request True returned True
[rosout][INFO] 2017-03-06 17:29:56,956: deactivating behavior tactic_interface
[rospy.internal][INFO] 2017-03-06 17:29:56,956: topic impl's ref count is zero, deleting topic /swarm_tracker/swarm_uav_states...
[rospy.internal][INFO] 2017-03-06 17:29:56,956: topic[/swarm_tracker/swarm_uav_states] removing connection to http://192.168.2.10:35423/
[rospy.internal][INFO] 2017-03-06 17:29:56,959: topic impl's ref count is zero, deleting topic /red_tracker/red_uav_states...
[rospy.internal][INFO] 2017-03-06 17:29:56,959: topic[/red_tracker/red_uav_states] removing connection to http://192.168.2.10:35993/
[rosout][INFO] 2017-03-06 17:29:56,963: tactic_interface ready state and active state set to 'False'
[rosout][WARNING] 2017-03-06 17:29:56,963: Altitude control mode invalid or invalid altitude order
[rosout][WARNING] 2017-03-06 17:29:56,964: Attempted invalid waypoint:
[rosout][WARNING] 2017-03-06 17:29:56,966: lat: 35.7219474052
lon: -120.757675004
alt: -10132.26
[rosout][INFO] 2017-03-06 17:29:56,975: tactic_interface activate request False returned False
[rospy.internal][INFO] 2017-03-06 17:41:02,700: topic[/red_tracker/red_uav_states] adding connection to [http://192.168.2.10:35993/], count 0
[rospy.internal][INFO] 2017-03-06 17:41:03,166: topic[/swarm_tracker/swarm_uav_states] adding connection to [http://192.168.2.10:35423/], count 0
[rosout][INFO] 2017-03-06 17:41:03,769: tactic_interface ready state set to 'True'
[rosout][INFO] 2017-03-06 17:41:03,769: tactic_interface set request returned True
[rosout][INFO] 2017-03-06 17:41:03,784: tactic_interface activate request False returned False
[rosout][INFO] 2017-03-06 17:41:04,811: activating behavior tactic_interface
[rosout][INFO] 2017-03-06 17:41:04,811: tactic_interface activate request True returned True
[rosout][INFO] 2017-03-06 17:41:19,158: deactivating behavior tactic_interface
[rospy.internal][INFO] 2017-03-06 17:41:19,159: topic impl's ref count is zero, deleting topic /swarm_tracker/swarm_uav_states...
[rospy.internal][INFO] 2017-03-06 17:41:19,159: topic[/swarm_tracker/swarm_uav_states] removing connection to http://192.168.2.10:35423/
[rospy.internal][INFO] 2017-03-06 17:41:19,161: topic impl's ref count is zero, deleting topic /red_tracker/red_uav_states...
[rospy.internal][INFO] 2017-03-06 17:41:19,162: topic[/red_tracker/red_uav_states] removing connection to http://192.168.2.10:35993/
[rosout][INFO] 2017-03-06 17:41:19,164: tactic_interface ready state and active state set to 'False'
[rosout][WARNING] 2017-03-06 17:41:19,164: Altitude control mode invalid or invalid altitude order
[rosout][WARNING] 2017-03-06 17:41:19,165: Attempted invalid waypoint:
[rosout][WARNING] 2017-03-06 17:41:19,165: lat: 35.7210690792
lon: -120.757645338
alt: -10132.82
[rosout][INFO] 2017-03-06 17:41:19,177: tactic_interface activate request False returned False
[rospy.internal][INFO] 2017-03-06 17:41:35,213: topic[/red_tracker/red_uav_states] adding connection to [http://192.168.2.10:35993/], count 0
[rospy.internal][INFO] 2017-03-06 17:41:35,712: topic[/swarm_tracker/swarm_uav_states] adding connection to [http://192.168.2.10:35423/], count 0
[rosout][INFO] 2017-03-06 17:41:36,314: tactic_interface ready state set to 'True'
[rosout][INFO] 2017-03-06 17:41:36,315: tactic_interface set request returned True
[rosout][INFO] 2017-03-06 17:41:36,350: tactic_interface activate request False returned False
[rosout][INFO] 2017-03-06 17:41:37,360: activating behavior tactic_interface
[rosout][INFO] 2017-03-06 17:41:37,361: tactic_interface activate request True returned True
[rosout][INFO] 2017-03-06 17:41:58,796: Swarm shooter fired at UAV 138: (35.722030, -120.767603, 522.429000)
[rosout][INFO] 2017-03-06 17:41:59,112: Swarm shooter fired at UAV 138: (35.722030, -120.767603, 522.308000)
[rosout][INFO] 2017-03-06 17:41:59,379: Swarm shooter fired at UAV 138: (35.722022, -120.767610, 522.308000)
[rosout][INFO] 2017-03-06 17:41:59,698: Swarm shooter fired at UAV 138: (35.722013, -120.767616, 522.210000)
[rosout][INFO] 2017-03-06 17:41:59,969: Swarm shooter fired at UAV 138: (35.721996, -120.767629, 522.080000)
[rosout][INFO] 2017-03-06 17:42:00,235: Swarm shooter fired at UAV 138: (35.721988, -120.767635, 522.080000)
[rosout][INFO] 2017-03-06 17:42:00,505: Swarm shooter fired at UAV 138: (35.721979, -120.767640, 522.000000)
[rosout][INFO] 2017-03-06 17:42:00,823: Swarm shooter fired at UAV 138: (35.721962, -120.767651, 521.950000)
[rosout][INFO] 2017-03-06 17:42:01,142: Swarm shooter fired at UAV 138: (35.721954, -120.767657, 521.950000)
[rosout][INFO] 2017-03-06 17:42:12,018: Swarm shooter fired at UAV 139: (35.721722, -120.766971, 515.480000)
[rosout][INFO] 2017-03-06 17:42:12,339: Swarm shooter fired at UAV 139: (35.721732, -120.766995, 515.289000)
[rosout][INFO] 2017-03-06 17:42:12,655: Swarm shooter fired at UAV 139: (35.721737, -120.767006, 515.280000)
[rosout][INFO] 2017-03-06 17:42:12,972: Swarm shooter fired at UAV 139: (35.721742, -120.767018, 515.330000)
[rosout][INFO] 2017-03-06 17:42:13,242: Swarm shooter fired at UAV 139: (35.721746, -120.767030, 515.419000)
[rosout][INFO] 2017-03-06 17:42:13,510: Swarm shooter fired at UAV 139: (35.721746, -120.767030, 515.419000)
[rosout][INFO] 2017-03-06 17:42:13,827: Swarm shooter fired at UAV 139: (35.721755, -120.767053, 515.690000)
[rosout][INFO] 2017-03-06 17:42:14,093: Swarm shooter fired at UAV 139: (35.721759, -120.767065, 515.840000)
[rosout][INFO] 2017-03-06 17:42:14,361: Swarm shooter fired at UAV 139: (35.721763, -120.767076, 515.990000)
[rosout][INFO] 2017-03-06 17:42:14,627: Swarm shooter fired at UAV 139: (35.721767, -120.767088, 516.120000)
[rosout][INFO] 2017-03-06 17:42:14,896: Swarm shooter fired at UAV 139: (35.721767, -120.767088, 516.120000)
[rosout][INFO] 2017-03-06 17:42:15,213: Swarm shooter fired at UAV 139: (35.721774, -120.767111, 516.320000)
I'm filing this ticket here since it's an observation of a overall system behavior and it's important to document. It will likely need to be refiled and fixed somewhere else eventually once it's root caused.
While running tests I observed several vehicles reporting invalid altitudes briefly.
I got a few screen shots of the conditions. The vehicles would be reporting invalid altitudes temporarily before returning to expect altutides in the FTI interface.
I was observing this during the ingress phase, documented it as above and then moved on. It did not appear to be effecting the actual flying. And going from 150m to single digit and back to 150m in a few seconds is not physically feasible.
After engaging some tactics I observed some of them drop out immediately and there seemed to be a correlation with the ones reporting bad altitudes.
After the run I dug into the logs and saw that in swarm_control Behaviors were self disabling.
Looking at the logs for Iris 3
And the swarm tracker gave a reason:
And I noticed the altitude of -0.24 looks a lot like some of the invalid altitude reports I had seen. Thus I believe that the copters are temporarily getting invalid states, and when they compute their target waypoints based on their current states they're deemed invalid as being too low.
A screen capture of the run can be seen here: https://youtu.be/acDmHkkub7I
I have a full log of the engagement period. Iris 3 only appeared to deactivate 2 times.
There was an event at ~ 2:35 where all blue vehicles deactivated: https://youtu.be/acDmHkkub7I?t=2m33s also that is undiagnosted.
It happened a 2nd time around 5:29 https://youtu.be/acDmHkkub7I?t=5m29s