lib/openc3/interfaces/simulated_target_interface.rb in openc3-5.2.0 vs lib/openc3/interfaces/simulated_target_interface.rb in openc3-5.3.0

- old
+ new

@@ -15,15 +15,14 @@ # Modified by OpenC3, Inc. # All changes Copyright 2022, OpenC3, Inc. # All Rights Reserved # -# This file may also be used under the terms of a commercial license +# This file may also be used under the terms of a commercial license # if purchased from OpenC3, Inc. require 'openc3/interfaces/interface' -require 'openc3/interfaces/protocols/override_protocol' module OpenC3 # An interface class that provides simulated telemetry and command responses class SimulatedTargetInterface < Interface # @param sim_target_file [String] Filename of the simulator target class @@ -36,10 +35,9 @@ @pending_packets = [] @sim_target_class = OpenC3.require_class sim_target_file @sim_target = nil @write_raw_allowed = false @raw_logger_pair = nil - add_protocol(OverrideProtocol, [], :READ) end # Initialize the simulated target object and "connect" to the target def connect unless @initialized