# File lib/commands/ultrasonic_sensor.rb, line 40
  def logic
    case @comparison
      when ">"
        distance >= @trigger_point ? true : false
      when "<"
        distance <= @trigger_point ? true : false
    end
  end