diff --git a/mil_common/drivers/electrical_protocol/CMakeLists.txt b/mil_common/drivers/electrical_protocol/CMakeLists.txt index 3424e2cb3..91051ac36 100644 --- a/mil_common/drivers/electrical_protocol/CMakeLists.txt +++ b/mil_common/drivers/electrical_protocol/CMakeLists.txt @@ -9,7 +9,5 @@ catkin_package() if(CATKIN_ENABLE_TESTING) find_package(rostest REQUIRED) - # add_rostest(test/adder_device_sub9.test) - # add_rostest(test/echo_device_sub9.test) - # add_rostest(test/basic.test) + add_rostest(test/simulated.test) endif() diff --git a/mil_common/drivers/electrical_protocol/electrical_protocol/driver.py b/mil_common/drivers/electrical_protocol/electrical_protocol/driver.py index 5e7c669ae..b12ef8d62 100644 --- a/mil_common/drivers/electrical_protocol/electrical_protocol/driver.py +++ b/mil_common/drivers/electrical_protocol/electrical_protocol/driver.py @@ -167,7 +167,6 @@ def adjust_read_rate(self, rate: float) -> None: """ self.timer.shutdown() self.rate = min(rate, 1_000) - rospy.logerr(f"Setting rate to {rate}") self.timer = rospy.Timer(rospy.Duration(1.0 / rate), self._process_buffer) # type: ignore def scale_read_rate(self, scale: float) -> None: diff --git a/mil_common/drivers/electrical_protocol/test/calculator_device.py b/mil_common/drivers/electrical_protocol/test/calculator_device.py index adb37f3e9..7842d5234 100755 --- a/mil_common/drivers/electrical_protocol/test/calculator_device.py +++ b/mil_common/drivers/electrical_protocol/test/calculator_device.py @@ -13,19 +13,19 @@ @dataclass -class RequestAddPacket(Packet, class_id=0x37, subclass_id=0x00, payload_format="ff"): +class RequestAddPacket(Packet, class_id=0x37, subclass_id=0x00, payload_format="