From 6000f25f883a8e8ee739be19d9bd3b3ab96613c8 Mon Sep 17 00:00:00 2001 From: Cameron Brown Date: Tue, 31 Dec 2024 15:43:43 -0500 Subject: [PATCH] navigator_drone_comm: disable logo test --- .../test/test_simulated_drone.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/NaviGator/hardware_drivers/navigator_drone_comm/test/test_simulated_drone.py b/NaviGator/hardware_drivers/navigator_drone_comm/test/test_simulated_drone.py index ea63ed281..abcf17ce0 100755 --- a/NaviGator/hardware_drivers/navigator_drone_comm/test/test_simulated_drone.py +++ b/NaviGator/hardware_drivers/navigator_drone_comm/test/test_simulated_drone.py @@ -15,7 +15,6 @@ HeartbeatReceivePacket, StartPacket, StopPacket, - TargetPacket, ) from navigator_msgs.msg import DroneTarget from navigator_msgs.srv import DroneMission, DroneMissionRequest @@ -112,12 +111,13 @@ def test_gps_drone_receive(self): rospy.sleep(0.5) self.assertAlmostEqual(round(self.drone_gps.x, 3), 37.77) - def test_target_receive(self): - target_packet = TargetPacket(lat=-67.7745, lon=12.654, logo="R") - os.write(self.master, bytes(target_packet)) - rospy.sleep(1) - rospy.loginfo(self.target.logo) - self.assertEqual(self.target.logo, "R_Logo") + # Disabling this test because it was changed at competition and shouldn't work anymore! + # def test_target_receive(self): + # target_packet = TargetPacket(lat=-67.7745, lon=12.654, logo="R") + # os.write(self.master, bytes(target_packet)) + # rospy.sleep(1) + # rospy.loginfo(self.target.logo) + # self.assertEqual(self.target.logo, "R_LOGO") # tests that a heartbeat is sent from the boat every second # def test_z_sending_heartbeats(self):