最新资讯

  • Ubuntu 22.04安装ROS 1教程汇总

Ubuntu 22.04安装ROS 1教程汇总

2025-05-04 02:00:12 0 阅读

主要有两个流派

1. 安装Autolabor预编译版

《ros1 ubuntu22.04 安装教程》

报错

下列软件包有未满足的依赖关系:
 libpango1.0-dev : 依赖: gir1.2-pango-1.0 (= 1.50.6+ds-2) 但是 1.50.6+ds-2ubuntu1 正要被安装
                   依赖: libpango-1.0-0 (= 1.50.6+ds-2) 但是 1.50.6+ds-2ubuntu1 正要被安装
                   依赖: libpangocairo-1.0-0 (= 1.50.6+ds-2) 但是 1.50.6+ds-2ubuntu1 正要被安装
                   依赖: libpangoft2-1.0-0 (= 1.50.6+ds-2) 但是 1.50.6+ds-2ubuntu1 正要被安装
                   依赖: libpangoxft-1.0-0 (= 1.50.6+ds-2) 但是 1.50.6+ds-2ubuntu1 正要被安装
                   依赖: pango1.0-tools (= 1.50.6+ds-2)
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

此问题没有解决

2. 自己编译(推荐)

这一方法一般都是参考官方编译安装教程进行

  1. 《Ubuntu 22.04源码编译安装ROS Noetic》(推荐教程)
  2. 《Installing ROS1 Noetic on Ubuntu 22.04》
  3. 《ubuntu 22.04源码装ros1 noetic》

报错

运行rqt>bag时报错

packages/rqt_bag/timeline_frame.py", line 129, in __init__
    self._topic_font.setPointSize(self._topic_font_size)
TypeError: setPointSize(self, int): argument 1 has unexpected type 'float'

这个冲突主要是 rqt_bagPython 3 之间的兼容性问题,而非与其他库的直接冲突。这个插件最初是在 Python 2 上开发的,Python 2 的 setPointSize 方法接受浮点数,而在 Python 3 中只能接受整数。由于 rqt_bag 源码中在 setPointSize 方法中传递了浮点数,导致了这个兼容性问题。(GPT生成)
主要是这个文件中一些intfloat类型冲突导致的,还有一些其他类似的冲突,我让GPT统一解决之后的代码如下,直接替换原文件亲测可行

# Software License Agreement (BSD License)
#
# [License text保持不变]

from python_qt_binding.QtCore import qDebug, QPointF, QRectF, Qt, qWarning, Signal
from python_qt_binding.QtGui import QBrush, QCursor, QColor, QFont, 
    QFontMetrics, QPen, QPolygonF
from python_qt_binding.QtWidgets import QGraphicsItem
import rospy

import bisect
import threading

from .index_cache_thread import IndexCacheThread
from .plugins.raw_view import RawView


class _SelectionMode(object):

    """
    SelectionMode states consolidated for readability
    NONE = no region marked or started
    LEFT_MARKED = one end of the region has been marked
    MARKED = both ends of the region have been marked
    SHIFTING = region is marked; currently dragging the region
    MOVE_LEFT = region is marked; currently changing the left boundary of the selected region
    MOVE_RIGHT = region is marked; currently changing the right boundary of the selected region
    """
    NONE = 'none'
    LEFT_MARKED = 'left marked'
    MARKED = 'marked'
    SHIFTING = 'shifting'
    MOVE_LEFT = 'move left'
    MOVE_RIGHT = 'move right'


class TimelineFrame(QGraphicsItem):

    """
    TimelineFrame Draws the framing elements for the bag messages
    (time delimiters, labels, topic names and backgrounds).
    Also handles mouse callbacks since they interact closely with the drawn elements
    """

    def __init__(self, bag_timeline):
        super(TimelineFrame, self).__init__()
        self._bag_timeline = bag_timeline
        self._clicked_pos = None
        self._dragged_pos = None

        # Timeline boundaries
        self._start_stamp = None  # earliest of all stamps
        self._end_stamp = None  # latest of all stamps
        self._stamp_left = None  # earliest currently visible timestamp on the timeline
        self._stamp_right = None  # latest currently visible timestamp on the timeline
        self._history_top = 30
        self._history_left = 0
        self._history_width = 0
        self._history_bottom = 0
        self._history_bounds = {}
        self._margin_left = 4
        self._margin_right = 20
        self._margin_bottom = 20
        self._history_top = 30

        # Background Rendering
        # color of background of timeline before first message and after last
        self._bag_end_color = QColor(0, 0, 0, 25)
        self._history_background_color_alternate = QColor(179, 179, 179, 25)
        self._history_background_color = QColor(204, 204, 204, 102)

        # Timeline Division Rendering
        # Possible time intervals used between divisions
        # 1ms, 5ms, 10ms, 50ms, 100ms, 500ms
        # 1s, 5s, 15s, 30s
        # 1m, 2m, 5m, 10m, 15m, 30m
        # 1h, 2h, 3h, 6h, 12h
        # 1d, 7d
        self._sec_divisions = [0.001, 0.005, 0.01, 0.05, 0.1, 0.5,
                               1, 5, 15, 30,
                               1 * 60, 2 * 60, 5 * 60, 10 * 60, 15 * 60, 30 * 60,
                               1 * 60 * 60, 2 * 60 * 60, 3 * 60 * 60, 6 * 60 * 60, 12 * 60 * 60,
                               1 * 60 * 60 * 24, 7 * 60 * 60 * 24]
        self._minor_spacing = 15
        self._major_spacing = 50
        self._major_divisions_label_indent = 3  # padding in px between line and label
        self._major_division_pen = QPen(QBrush(Qt.black), 0, Qt.DashLine)
        self._minor_division_pen = QPen(QBrush(QColor(153, 153, 153, 128)), 0, Qt.DashLine)
        self._minor_division_tick_pen = QPen(QBrush(QColor(128, 128, 128, 128)), 0)

        # Topic Rendering
        self.topics = []
        self._topics_by_datatype = {}
        self._topic_font_height = None
        self._topic_name_sizes = None
        # minimum pixels between end of topic name and start of history
        self._topic_name_spacing = 3
        self._topic_font_size = 10.0
        self._topic_font = QFont("cairo")
        self._topic_font.setPointSize(int(self._topic_font_size))
        self._topic_font.setBold(False)
        self._topic_vertical_padding = 4
        # percentage of the horiz space that can be used for topic display
        self._topic_name_max_percent = 25.0

        # Time Rendering
        self._time_tick_height = 5
        self._time_font_height = None
        self._time_font_size = 10.0
        self._time_font = QFont("cairo")
        self._time_font.setPointSize(int(self._time_font_size))
        self._time_font.setBold(False)

        # Defaults
        self._default_brush = QBrush(Qt.black, Qt.SolidPattern)
        self._default_pen = QPen(Qt.black)
        self._default_datatype_color = QColor(0, 0, 102, 204)
        self._datatype_colors = {
            'sensor_msgs/CameraInfo': QColor(0, 0, 77, 204),
            'sensor_msgs/Image': QColor(0, 77, 77, 204),
            'sensor_msgs/LaserScan': QColor(153, 0, 0, 204),
            'pr2_msgs/LaserScannerSignal': QColor(153, 0, 0, 204),
            'pr2_mechanism_msgs/MechanismState': QColor(0, 153, 0, 204),
            'tf/tfMessage': QColor(0, 153, 0, 204),
        }
        # minimum number of pixels allowed between two bag messages before they are combined
        self._default_msg_combine_px = 1.0
        self._active_message_line_width = 3

        # Selected Region Rendering
        self._selected_region_color = QColor(0, 179, 0, 21)
        self._selected_region_outline_top_color = QColor(0, 77, 0, 51)
        self._selected_region_outline_ends_color = QColor(0, 77, 0, 102)
        self._selecting_mode = _SelectionMode.NONE
        self._selected_left = None
        self._selected_right = None
        self._selection_handle_width = 3.0

        # Playhead Rendering
        self._playhead = None  # timestamp of the playhead
        self._paused = False
        self._playhead_pointer_size = (6, 6)
        self._playhead_line_width = 1
        self._playhead_color = QColor(255, 0, 0, 191)

        # Zoom
        self._zoom_sensitivity = 0.005
        self._min_zoom_speed = 0.5
        self._max_zoom_speed = 2.0
        self._min_zoom = 0.0001  # max zoom out (in px/s)
        self._max_zoom = 50000.0  # max zoom in  (in px/s)

        # Plugin management
        self._viewer_types = {}
        self._timeline_renderers = {}
        self._rendered_topics = set()
        self.load_plugins()

        # Bag indexer for rendering the default message views on the timeline
        self.index_cache_cv = threading.Condition()
        self.index_cache = {}
        self.invalidated_caches = set()
        self._index_cache_thread = IndexCacheThread(self)

    # TODO the API interface should exist entirely at the bag_timeline level.
    #     Add a "get_draw_parameters()" at the bag_timeline level to access these
    # Properties, work in progress API for plugins:

    # property: playhead
    def _get_playhead(self):
        return self._playhead

    def _set_playhead(self, playhead):
        """
        Sets the playhead to the new position, notifies the threads and updates the scene
        so it will redraw
        :signal: emits status_bar_changed_signal if the playhead is successfully set
        :param playhead: Time to set the playhead to, ''rospy.Time()''
        """
        with self.scene()._playhead_lock:
            if playhead == self._playhead:
                return

            self._playhead = playhead
            if self._playhead != self._end_stamp:
                self.scene().stick_to_end = False

            playhead_secs = playhead.to_sec()
            if playhead_secs > self._stamp_right:
                dstamp = playhead_secs - self._stamp_right + 
                    (self._stamp_right - self._stamp_left) * 0.75
                if dstamp > self._end_stamp.to_sec() - self._stamp_right:
                    dstamp = self._end_stamp.to_sec() - self._stamp_right
                self.translate_timeline(dstamp)

            elif playhead_secs < self._stamp_left:
                dstamp = self._stamp_left - playhead_secs + 
                    (self._stamp_right - self._stamp_left) * 0.75
                if dstamp > self._stamp_left - self._start_stamp.to_sec():
                    dstamp = self._stamp_left - self._start_stamp.to_sec()
                self.translate_timeline(-dstamp)

            # Update the playhead positions
            for topic in self.topics:
                bag, entry = self.scene().get_entry(self._playhead, topic)
                if entry:
                    if topic in self.scene()._playhead_positions and 
                            self.scene()._playhead_positions[topic] == (bag, entry.position):
                        continue
                    new_playhead_position = (bag, entry.position)
                else:
                    new_playhead_position = (None, None)
                with self.scene()._playhead_positions_cvs[topic]:
                    self.scene()._playhead_positions[topic] = new_playhead_position
                    # notify all message loaders that a new message needs to be loaded
                    self.scene()._playhead_positions_cvs[topic].notify_all()
            self.scene().update()
            self.scene().status_bar_changed_signal.emit()

    playhead = property(_get_playhead, _set_playhead)

    # TODO add more api variables here to allow plugin access
    @property
    def _history_right(self):
        return self._history_left + self._history_width

    @property
    def has_selected_region(self):
        return self._selected_left is not None and self._selected_right is not None

    @property
    def play_region(self):
        if self.has_selected_region:
            return (
                rospy.Time.from_sec(self._selected_left), rospy.Time.from_sec(self._selected_right))
        else:
            return (self._start_stamp, self._end_stamp)

    def emit_play_region(self):
        play_region = self.play_region
        if(play_region[0] is not None and play_region[1] is not None):
            self.scene().selected_region_changed.emit(*play_region)

    @property
    def start_stamp(self):
        return self._start_stamp

    @property
    def end_stamp(self):
        return self._end_stamp

    # QGraphicsItem implementation
    def boundingRect(self):
        return QRectF(
            0, 0,
            self._history_left + self._history_width + self._margin_right,
            self._history_bottom + self._margin_bottom)

    def paint(self, painter, option, widget):
        if self._start_stamp is None:
            return

        self._layout()
        self._draw_topic_dividers(painter)
        self._draw_selected_region(painter)
        self._draw_time_divisions(painter)
        self._draw_topic_histories(painter)
        self._draw_bag_ends(painter)
        self._draw_topic_names(painter)
        self._draw_history_border(painter)
        self._draw_playhead(painter)
    # END QGraphicsItem implementation

    # Drawing Functions

    def _qfont_width(self, name):
        return QFontMetrics(self._topic_font).width(name)

    def _trimmed_topic_name(self, topic_name):
        """
        This function trims the topic name down to a reasonable percentage of the viewable scene
        area
        """
        allowed_width = self._scene_width * (self._topic_name_max_percent / 100.0)
        allowed_width = allowed_width - self._topic_name_spacing - self._margin_left
        trimmed_return = topic_name
        if allowed_width < self._qfont_width(topic_name):
            #  We need to trim the topic
            trimmed = ''
            split_name = topic_name.split('/')
            split_name = list(filter(lambda a: a != '', split_name))
            #  Save important last element of topic name provided it is small
            popped_last = False
            if self._qfont_width(split_name[-1]) < .5 * allowed_width:
                popped_last = True
                last_item = split_name[-1]
                split_name = split_name[:-1]
                allowed_width = allowed_width - self._qfont_width(last_item)
            # Shorten and add remaining items keeping lengths roughly equal
            for item in split_name:
                if self._qfont_width(item) > allowed_width / float(len(split_name)):
                    trimmed_item = item[:-3] + '..'
                    while self._qfont_width(trimmed_item) > allowed_width / float(len(split_name)):
                        if len(trimmed_item) >= 3:
                            trimmed_item = trimmed_item[:-3] + '..'
                        else:
                            break
                    trimmed = trimmed + '/' + trimmed_item
                else:
                    trimmed = trimmed + '/' + item
            if popped_last:
                trimmed = trimmed + '/' + last_item
            trimmed = trimmed[1:]
            trimmed_return = trimmed
        return trimmed_return

    def _layout(self):
        """
        Recalculates the layout of the timeline to take into account any changes that have
        occurred
        """
        # Calculate history left and history width
        self._scene_width = self.scene().views()[0].size().width()

        max_topic_name_width = -1
        for topic in self.topics:
            topic_width = self._qfont_width(self._trimmed_topic_name(topic))
            if max_topic_name_width <= topic_width:
                max_topic_name_width = topic_width

        # Calculate font height for each topic
        self._topic_font_height = -1
        for topic in self.topics:
            topic_height = QFontMetrics(self._topic_font).height()
            if self._topic_font_height <= topic_height:
                self._topic_font_height = topic_height

        # Update the timeline boundaries
        new_history_left = self._margin_left + max_topic_name_width + self._topic_name_spacing
        new_history_width = self._scene_width - new_history_left - self._margin_right
        self._history_left = new_history_left
        self._history_width = new_history_width

        # Calculate the bounds for each topic
        self._history_bounds = {}
        y = self._history_top
        for topic in self.topics:
            datatype = self.scene().get_datatype(topic)

            topic_height = None
            if topic in self._rendered_topics:
                renderer = self._timeline_renderers.get(datatype)
                if renderer:
                    topic_height = renderer.get_segment_height(topic)
            if not topic_height:
                topic_height = self._topic_font_height + self._topic_vertical_padding

            self._history_bounds[topic] = (self._history_left, y, self._history_width, topic_height)

            y += topic_height

        # new_history_bottom = max([y + h for (x, y, w, h) in self._history_bounds.values()]) - 1
        new_history_bottom = max([y + h for (_, y, _, h) in self._history_bounds.values()]) - 1
        if new_history_bottom != self._history_bottom:
            self._history_bottom = new_history_bottom

    def _draw_topic_histories(self, painter):
        """
        Draw all topic messages
        :param painter: allows access to paint functions,''QPainter''
        """
        for topic in sorted(self._history_bounds.keys()):
            self._draw_topic_history(painter, topic)

    def _draw_topic_history(self, painter, topic):
        """
        Draw boxes corresponding to message regions on the timeline.
        :param painter: allows access to paint functions,''QPainter''
        :param topic: the topic for which message boxes should be drawn, ''str''
        """

        _, y, _, h = self._history_bounds[topic]

        msg_y = y + 2
        msg_height = h - 2

        datatype = self.scene().get_datatype(topic)

        # Get the renderer and the message combine interval
        renderer = None
        msg_combine_interval = None
        if topic in self._rendered_topics:
            renderer = self._timeline_renderers.get(datatype)
            if renderer is not None:
                msg_combine_interval = self.map_dx_to_dstamp(renderer.msg_combine_px)
        if msg_combine_interval is None:
            msg_combine_interval = self.map_dx_to_dstamp(self._default_msg_combine_px)

        # Get the cache
        if topic not in self.index_cache:
            return
        all_stamps = self.index_cache[topic]

        # start_index = bisect.bisect_left(all_stamps, self._stamp_left)
        end_index = bisect.bisect_left(all_stamps, self._stamp_right)
        # Set pen based on datatype
        datatype_color = self._datatype_colors.get(datatype, self._default_datatype_color)
        # Iterate through regions of connected messages
        width_interval = self._history_width / (self._stamp_right - self._stamp_left)

        # Draw stamps
        for (stamp_start, stamp_end) in 
                self._find_regions(
                    all_stamps[:end_index],
                    self.map_dx_to_dstamp(self._default_msg_combine_px)):
            if stamp_end < self._stamp_left:
                continue

            region_x_start = self._history_left + (stamp_start - self._stamp_left) * width_interval
            if region_x_start < self._history_left:
                region_x_start = self._history_left  # Clip the region
            region_x_end = self._history_left + (stamp_end - self._stamp_left) * width_interval
            region_width = max(1, region_x_end - region_x_start)

            painter.setBrush(QBrush(datatype_color))
            painter.setPen(QPen(datatype_color, 1))
            painter.drawRect(int(region_x_start), int(msg_y), int(region_width), int(msg_height))

        # Draw active message
        if topic in self.scene()._listeners:
            curpen = painter.pen()
            oldwidth = curpen.width()
            curpen.setWidth(self._active_message_line_width)
            painter.setPen(curpen)
            playhead_stamp = None
            playhead_index = bisect.bisect_right(all_stamps, self.playhead.to_sec()) - 1
            if playhead_index >= 0:
                playhead_stamp = all_stamps[playhead_index]
                if self._stamp_left < playhead_stamp < self._stamp_right:
                    playhead_x = self._history_left + 
                        (all_stamps[playhead_index] - self._stamp_left) * width_interval
                    painter.drawLine(int(playhead_x), int(msg_y), int(playhead_x), int(msg_y + msg_height))
            curpen.setWidth(oldwidth)
            painter.setPen(curpen)

        # Custom renderer
        if renderer:
            # Iterate through regions of connected messages
            for (stamp_start, stamp_end) in 
                    self._find_regions(all_stamps[:end_index], msg_combine_interval):
                if stamp_end < self._stamp_left:
                    continue

                region_x_start = self._history_left + 
                    (stamp_start - self._stamp_left) * width_interval
                region_x_end = self._history_left + (stamp_end - self._stamp_left) * width_interval
                region_width = max(1, region_x_end - region_x_start)
                renderer.draw_timeline_segment(
                    painter, topic, stamp_start, stamp_end,
                    region_x_start, msg_y, region_width, msg_height)

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_bag_ends(self, painter):
        """
        Draw markers to indicate the area the bag file represents within the current visible area.
        :param painter: allows access to paint functions,''QPainter''
        """
        x_start, x_end = self.map_stamp_to_x(self._start_stamp.to_sec()), self.map_stamp_to_x(self._end_stamp.to_sec())
        painter.setBrush(QBrush(self._bag_end_color))
        painter.drawRect(int(self._history_left), int(self._history_top), int(x_start -
                         self._history_left), int(self._history_bottom - self._history_top))
        painter.drawRect(int(x_end), int(self._history_top), int(self._history_left +
                         self._history_width - x_end), int(self._history_bottom - self._history_top))
        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_topic_dividers(self, painter):
        """
        Draws horizontal lines between each topic to visually separate the messages
        :param painter: allows access to paint functions,''QPainter''
        """
        clip_left = self._history_left
        clip_right = self._history_left + self._history_width

        row = 0
        for topic in self.topics:
            (x, y, w, h) = self._history_bounds[topic]

            if row % 2 == 0:
                painter.setPen(Qt.lightGray)
                painter.setBrush(QBrush(self._history_background_color_alternate))
            else:
                painter.setPen(Qt.lightGray)
                painter.setBrush(QBrush(self._history_background_color))
            left = max(clip_left, x)
            painter.drawRect(int(left), int(y), int(min(clip_right - left, w)), int(h))
            row += 1
        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_time_divisions(self, painter):
        """
        Draw vertical grid-lines showing major and minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        x_per_sec = self.map_dstamp_to_dx(1.0)
        major_divisions = [s for s in self._sec_divisions if x_per_sec * s >= self._major_spacing]
        if len(major_divisions) == 0:
            major_division = max(self._sec_divisions)
        else:
            major_division = min(major_divisions)

        minor_divisions = [s for s in self._sec_divisions
                           if x_per_sec * s >= self._minor_spacing and major_division % s == 0]
        if len(minor_divisions) > 0:
            minor_division = min(minor_divisions)
        else:
            minor_division = None

        start_stamp = self._start_stamp.to_sec()

        major_stamps = list(self._get_stamps(start_stamp, major_division))
        self._draw_major_divisions(painter, major_stamps, start_stamp, major_division)

        if minor_division:
            minor_stamps = [
                s for s in self._get_stamps(start_stamp, minor_division) if s not in major_stamps]
            self._draw_minor_divisions(painter, minor_stamps, start_stamp, minor_division)

    def _draw_major_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw black hashed vertical grid-lines showing major time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        label_y = self._history_top - self._playhead_pointer_size[1] - 5
        for stamp in stamps:
            x = self.map_stamp_to_x(stamp, False)

            label = self._get_label(division, stamp - start_stamp)
            label_x = x + self._major_divisions_label_indent
            if label_x + self._qfont_width(label) < self.scene().width():
                painter.setBrush(self._default_brush)
                painter.setPen(self._default_pen)
                painter.setFont(self._time_font)
                painter.drawText(int(label_x), int(label_y), label)

            painter.setPen(self._major_division_pen)
            painter.drawLine(
                int(x), int(label_y - self._time_tick_height - self._time_font_size), int(x), int(self._history_bottom))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_minor_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw grey hashed vertical grid-lines showing minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        xs = [self.map_stamp_to_x(stamp) for stamp in stamps]
        painter.setPen(self._minor_division_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top), int(x), int(self._history_bottom))

        painter.setPen(self._minor_division_tick_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top - self._time_tick_height), int(x), int(self._history_top))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_selected_region(self, painter):
        """
        Draws a box around the selected region
        :param painter: allows access to paint functions,''QPainter''
        """
        if self._selected_left is None:
            return

        x_left = self.map_stamp_to_x(self._selected_left)
        if self._selected_right is not None:
            x_right = self.map_stamp_to_x(self._selected_right)
        else:
            x_right = self.map_stamp_to_x(self.playhead.to_sec())

        left = x_left
        top = self._history_top - self._playhead_pointer_size[1] - 5 - self._time_font_size - 4
        width = x_right - x_left
        height = self._history_top - top

        painter.setPen(self._selected_region_color)
        painter.setBrush(QBrush(self._selected_region_color))
        painter.drawRect(int(left), int(top), int(width), int(height))

        painter.setPen(self._selected_region_outline_ends_color)
        painter.setBrush(Qt.NoBrush)
        painter.drawLine(int(left), int(top), int(left), int(top + height))
        painter.drawLine(int(left + width), int(top), int(left + width), int(top + height))

        painter.setPen(self._selected_region_outline_top_color)
        painter.setBrush(Qt.NoBrush)
        painter.drawLine(int(left), int(top), int(left + width), int(top))

        painter.setPen(self._selected_region_outline_top_color)
        painter.drawLine(int(left), int(self._history_top), int(left), int(self._history_bottom))
        painter.drawLine(int(left + width), int(self._history_top), int(left + width), int(self._history_bottom))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_playhead(self, painter):
        """
        Draw a line and 2 triangles to denote the current position being viewed
        :param painter: ,''QPainter''
        """
        px = self.map_stamp_to_x(self.playhead.to_sec())
        pw, ph = self._playhead_pointer_size

        # Line
        painter.setPen(QPen(self._playhead_color))
        painter.setBrush(QBrush(self._playhead_color))
        painter.drawLine(int(px), int(self._history_top - 1), int(px), int(self._history_bottom + 2))

        # Upper triangle
        py = self._history_top - ph
        painter.drawPolygon(
            QPolygonF([QPointF(px, py + ph), QPointF(px + pw, py), QPointF(px - pw, py)]))

        # Lower triangle
        py = self._history_bottom + 1
        painter.drawPolygon(
            QPolygonF([QPointF(px, py), QPointF(px + pw, py + ph), QPointF(px - pw, py + ph)]))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_history_border(self, painter):
        """
        Draw a simple black rectangle frame around the timeline view area
        :param painter: ,''QPainter''
        """
        bounds_width = min(self._history_width, self.scene().width())
        x, y, w, h = self._history_left, self._history_top, bounds_width, self._history_bottom - 
            self._history_top

        painter.setBrush(Qt.NoBrush)
        painter.setPen(Qt.black)
        painter.drawRect(int(x), int(y), int(w), int(h))
        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_topic_names(self, painter):
        """
        Calculate positions of existing topic names and draw them on the left, one for each row
        :param painter: ,''QPainter''
        """
        topics = self._history_bounds.keys()
        coords = [(self._margin_left, y + (h / 2) + (self._topic_font_height / 2))
                  for (_, y, _, h) in self._history_bounds.values()]

        for text, coords in zip([t.lstrip('/') for t in topics], coords):
            painter.setBrush(self._default_brush)
            painter.setPen(self._default_pen)
            painter.setFont(self._topic_font)
            painter.drawText(int(coords[0]), int(coords[1]), self._trimmed_topic_name(text))

    def _draw_time_divisions(self, painter):
        """
        Draw vertical grid-lines showing major and minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        x_per_sec = self.map_dstamp_to_dx(1.0)
        major_divisions = [s for s in self._sec_divisions if x_per_sec * s >= self._major_spacing]
        if len(major_divisions) == 0:
            major_division = max(self._sec_divisions)
        else:
            major_division = min(major_divisions)

        minor_divisions = [s for s in self._sec_divisions
                           if x_per_sec * s >= self._minor_spacing and major_division % s == 0]
        if len(minor_divisions) > 0:
            minor_division = min(minor_divisions)
        else:
            minor_division = None

        start_stamp = self._start_stamp.to_sec()

        major_stamps = list(self._get_stamps(start_stamp, major_division))
        self._draw_major_divisions(painter, major_stamps, start_stamp, major_division)

        if minor_division:
            minor_stamps = [
                s for s in self._get_stamps(start_stamp, minor_division) if s not in major_stamps]
            self._draw_minor_divisions(painter, minor_stamps, start_stamp, minor_division)

    def _draw_major_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw black hashed vertical grid-lines showing major time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        label_y = self._history_top - self._playhead_pointer_size[1] - 5
        for stamp in stamps:
            x = self.map_stamp_to_x(stamp, False)

            label = self._get_label(division, stamp - start_stamp)
            label_x = x + self._major_divisions_label_indent
            if label_x + self._qfont_width(label) < self.scene().width():
                painter.setBrush(self._default_brush)
                painter.setPen(self._default_pen)
                painter.setFont(self._time_font)
                painter.drawText(int(label_x), int(label_y), label)

            painter.setPen(self._major_division_pen)
            painter.drawLine(
                int(x), int(label_y - self._time_tick_height - self._time_font_size), int(x), int(self._history_bottom))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_minor_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw grey hashed vertical grid-lines showing minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        xs = [self.map_stamp_to_x(stamp) for stamp in stamps]
        painter.setPen(self._minor_division_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top), int(x), int(self._history_bottom))

        painter.setPen(self._minor_division_tick_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top - self._time_tick_height), int(x), int(self._history_top))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_topic_histories(self, painter):
        """
        Draw all topic messages
        :param painter: allows access to paint functions,''QPainter''
        """
        for topic in sorted(self._history_bounds.keys()):
            self._draw_topic_history(painter, topic)

    def _draw_topic_history(self, painter, topic):
        """
        Draw boxes corresponding to message regions on the timeline.
        :param painter: allows access to paint functions,''QPainter''
        :param topic: the topic for which message boxes should be drawn, ''str''
        """

        _, y, _, h = self._history_bounds[topic]

        msg_y = y + 2
        msg_height = h - 2

        datatype = self.scene().get_datatype(topic)

        # Get the renderer and the message combine interval
        renderer = None
        msg_combine_interval = None
        if topic in self._rendered_topics:
            renderer = self._timeline_renderers.get(datatype)
            if renderer is not None:
                msg_combine_interval = self.map_dx_to_dstamp(renderer.msg_combine_px)
        if msg_combine_interval is None:
            msg_combine_interval = self.map_dx_to_dstamp(self._default_msg_combine_px)

        # Get the cache
        if topic not in self.index_cache:
            return
        all_stamps = self.index_cache[topic]

        # start_index = bisect.bisect_left(all_stamps, self._stamp_left)
        end_index = bisect.bisect_left(all_stamps, self._stamp_right)
        # Set pen based on datatype
        datatype_color = self._datatype_colors.get(datatype, self._default_datatype_color)
        # Iterate through regions of connected messages
        width_interval = self._history_width / (self._stamp_right - self._stamp_left)

        # Draw stamps
        for (stamp_start, stamp_end) in 
                self._find_regions(
                    all_stamps[:end_index],
                    self.map_dx_to_dstamp(self._default_msg_combine_px)):
            if stamp_end < self._stamp_left:
                continue

            region_x_start = self._history_left + (stamp_start - self._stamp_left) * width_interval
            if region_x_start < self._history_left:
                region_x_start = self._history_left  # Clip the region
            region_x_end = self._history_left + (stamp_end - self._stamp_left) * width_interval
            region_width = max(1, region_x_end - region_x_start)

            painter.setBrush(QBrush(datatype_color))
            painter.setPen(QPen(datatype_color, 1))
            painter.drawRect(int(region_x_start), int(msg_y), int(region_width), int(msg_height))

        # Draw active message
        if topic in self.scene()._listeners:
            curpen = painter.pen()
            oldwidth = curpen.width()
            curpen.setWidth(self._active_message_line_width)
            painter.setPen(curpen)
            playhead_stamp = None
            playhead_index = bisect.bisect_right(all_stamps, self.playhead.to_sec()) - 1
            if playhead_index >= 0:
                playhead_stamp = all_stamps[playhead_index]
                if self._stamp_left < playhead_stamp < self._stamp_right:
                    playhead_x = self._history_left + 
                        (all_stamps[playhead_index] - self._stamp_left) * width_interval
                    painter.drawLine(int(playhead_x), int(msg_y), int(playhead_x), int(msg_y + msg_height))
            curpen.setWidth(oldwidth)
            painter.setPen(curpen)

        # Custom renderer
        if renderer:
            # Iterate through regions of connected messages
            for (stamp_start, stamp_end) in 
                    self._find_regions(all_stamps[:end_index], msg_combine_interval):
                if stamp_end < self._stamp_left:
                    continue

                region_x_start = self._history_left + 
                    (stamp_start - self._stamp_left) * width_interval
                region_x_end = self._history_left + (stamp_end - self._stamp_left) * width_interval
                region_width = max(1, region_x_end - region_x_start)
                renderer.draw_timeline_segment(
                    painter, topic, stamp_start, stamp_end,
                    region_x_start, msg_y, region_width, msg_height)

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_bag_ends(self, painter):
        """
        Draw markers to indicate the area the bag file represents within the current visible area.
        :param painter: allows access to paint functions,''QPainter''
        """
        x_start, x_end = self.map_stamp_to_x(self._start_stamp.to_sec()), self.map_stamp_to_x(self._end_stamp.to_sec())
        painter.setBrush(QBrush(self._bag_end_color))
        painter.drawRect(int(self._history_left), int(self._history_top), int(x_start -
                         self._history_left), int(self._history_bottom - self._history_top))
        painter.drawRect(int(x_end), int(self._history_top), int(self._history_left +
                         self._history_width - x_end), int(self._history_bottom - self._history_top))
        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_topic_dividers(self, painter):
        """
        Draws horizontal lines between each topic to visually separate the messages
        :param painter: allows access to paint functions,''QPainter''
        """
        clip_left = self._history_left
        clip_right = self._history_left + self._history_width

        row = 0
        for topic in self.topics:
            (x, y, w, h) = self._history_bounds[topic]

            if row % 2 == 0:
                painter.setPen(Qt.lightGray)
                painter.setBrush(QBrush(self._history_background_color_alternate))
            else:
                painter.setPen(Qt.lightGray)
                painter.setBrush(QBrush(self._history_background_color))
            left = max(clip_left, x)
            painter.drawRect(int(left), int(y), int(min(clip_right - left, w)), int(h))
            row += 1
        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_time_divisions(self, painter):
        """
        Draw vertical grid-lines showing major and minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        x_per_sec = self.map_dstamp_to_dx(1.0)
        major_divisions = [s for s in self._sec_divisions if x_per_sec * s >= self._major_spacing]
        if len(major_divisions) == 0:
            major_division = max(self._sec_divisions)
        else:
            major_division = min(major_divisions)

        minor_divisions = [s for s in self._sec_divisions
                           if x_per_sec * s >= self._minor_spacing and major_division % s == 0]
        if len(minor_divisions) > 0:
            minor_division = min(minor_divisions)
        else:
            minor_division = None

        start_stamp = self._start_stamp.to_sec()

        major_stamps = list(self._get_stamps(start_stamp, major_division))
        self._draw_major_divisions(painter, major_stamps, start_stamp, major_division)

        if minor_division:
            minor_stamps = [
                s for s in self._get_stamps(start_stamp, minor_division) if s not in major_stamps]
            self._draw_minor_divisions(painter, minor_stamps, start_stamp, minor_division)

    def _draw_major_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw black hashed vertical grid-lines showing major time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        label_y = self._history_top - self._playhead_pointer_size[1] - 5
        for stamp in stamps:
            x = self.map_stamp_to_x(stamp, False)

            label = self._get_label(division, stamp - start_stamp)
            label_x = x + self._major_divisions_label_indent
            if label_x + self._qfont_width(label) < self.scene().width():
                painter.setBrush(self._default_brush)
                painter.setPen(self._default_pen)
                painter.setFont(self._time_font)
                painter.drawText(int(label_x), int(label_y), label)

            painter.setPen(self._major_division_pen)
            painter.drawLine(
                int(x), int(label_y - self._time_tick_height - self._time_font_size), int(x), int(self._history_bottom))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_minor_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw grey hashed vertical grid-lines showing minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        xs = [self.map_stamp_to_x(stamp) for stamp in stamps]
        painter.setPen(self._minor_division_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top), int(x), int(self._history_bottom))

        painter.setPen(self._minor_division_tick_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top - self._time_tick_height), int(x), int(self._history_top))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_topic_names(self, painter):
        """
        Calculate positions of existing topic names and draw them on the left, one for each row
        :param painter: ,''QPainter''
        """
        topics = self._history_bounds.keys()
        coords = [(self._margin_left, y + (h / 2) + (self._topic_font_height / 2))
                  for (_, y, _, h) in self._history_bounds.values()]

        for text, coords in zip([t.lstrip('/') for t in topics], coords):
            painter.setBrush(self._default_brush)
            painter.setPen(self._default_pen)
            painter.setFont(self._topic_font)
            painter.drawText(int(coords[0]), int(coords[1]), self._trimmed_topic_name(text))

    def _draw_playhead(self, painter):
        """
        Draw a line and 2 triangles to denote the current position being viewed
        :param painter: ,''QPainter''
        """
        px = self.map_stamp_to_x(self.playhead.to_sec())
        pw, ph = self._playhead_pointer_size

        # Line
        painter.setPen(QPen(self._playhead_color))
        painter.setBrush(QBrush(self._playhead_color))
        painter.drawLine(int(px), int(self._history_top - 1), int(px), int(self._history_bottom + 2))

        # Upper triangle
        py = self._history_top - ph
        painter.drawPolygon(
            QPolygonF([QPointF(px, py + ph), QPointF(px + pw, py), QPointF(px - pw, py)]))

        # Lower triangle
        py = self._history_bottom + 1
        painter.drawPolygon(
            QPolygonF([QPointF(px, py), QPointF(px + pw, py + ph), QPointF(px - pw, py + ph)]))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_history_border(self, painter):
        """
        Draw a simple black rectangle frame around the timeline view area
        :param painter: ,''QPainter''
        """
        bounds_width = min(self._history_width, self.scene().width())
        x, y, w, h = self._history_left, self._history_top, bounds_width, self._history_bottom - 
            self._history_top

        painter.setBrush(Qt.NoBrush)
        painter.setPen(Qt.black)
        painter.drawRect(int(x), int(y), int(w), int(h))
        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_time_divisions(self, painter):
        """
        Draw vertical grid-lines showing major and minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        x_per_sec = self.map_dstamp_to_dx(1.0)
        major_divisions = [s for s in self._sec_divisions if x_per_sec * s >= self._major_spacing]
        if len(major_divisions) == 0:
            major_division = max(self._sec_divisions)
        else:
            major_division = min(major_divisions)

        minor_divisions = [s for s in self._sec_divisions
                           if x_per_sec * s >= self._minor_spacing and major_division % s == 0]
        if len(minor_divisions) > 0:
            minor_division = min(minor_divisions)
        else:
            minor_division = None

        start_stamp = self._start_stamp.to_sec()

        major_stamps = list(self._get_stamps(start_stamp, major_division))
        self._draw_major_divisions(painter, major_stamps, start_stamp, major_division)

        if minor_division:
            minor_stamps = [
                s for s in self._get_stamps(start_stamp, minor_division) if s not in major_stamps]
            self._draw_minor_divisions(painter, minor_stamps, start_stamp, minor_division)

    def _draw_major_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw black hashed vertical grid-lines showing major time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        label_y = self._history_top - self._playhead_pointer_size[1] - 5
        for stamp in stamps:
            x = self.map_stamp_to_x(stamp, False)

            label = self._get_label(division, stamp - start_stamp)
            label_x = x + self._major_divisions_label_indent
            if label_x + self._qfont_width(label) < self.scene().width():
                painter.setBrush(self._default_brush)
                painter.setPen(self._default_pen)
                painter.setFont(self._time_font)
                painter.drawText(int(label_x), int(label_y), label)

            painter.setPen(self._major_division_pen)
            painter.drawLine(
                int(x), int(label_y - self._time_tick_height - self._time_font_size), int(x), int(self._history_bottom))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_minor_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw grey hashed vertical grid-lines showing minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        xs = [self.map_stamp_to_x(stamp) for stamp in stamps]
        painter.setPen(self._minor_division_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top), int(x), int(self._history_bottom))

        painter.setPen(self._minor_division_tick_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top - self._time_tick_height), int(x), int(self._history_top))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_topic_names(self, painter):
        """
        Calculate positions of existing topic names and draw them on the left, one for each row
        :param painter: ,''QPainter''
        """
        topics = self._history_bounds.keys()
        coords = [(self._margin_left, y + (h / 2) + (self._topic_font_height / 2))
                  for (_, y, _, h) in self._history_bounds.values()]

        for text, coords in zip([t.lstrip('/') for t in topics], coords):
            painter.setBrush(self._default_brush)
            painter.setPen(self._default_pen)
            painter.setFont(self._topic_font)
            painter.drawText(int(coords[0]), int(coords[1]), self._trimmed_topic_name(text))

    def _draw_playhead(self, painter):
        """
        Draw a line and 2 triangles to denote the current position being viewed
        :param painter: ,''QPainter''
        """
        px = self.map_stamp_to_x(self.playhead.to_sec())
        pw, ph = self._playhead_pointer_size

        # Line
        painter.setPen(QPen(self._playhead_color))
        painter.setBrush(QBrush(self._playhead_color))
        painter.drawLine(int(px), int(self._history_top - 1), int(px), int(self._history_bottom + 2))

        # Upper triangle
        py = self._history_top - ph
        painter.drawPolygon(
            QPolygonF([QPointF(px, py + ph), QPointF(px + pw, py), QPointF(px - pw, py)]))

        # Lower triangle
        py = self._history_bottom + 1
        painter.drawPolygon(
            QPolygonF([QPointF(px, py), QPointF(px + pw, py + ph), QPointF(px - pw, py + ph)]))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_history_border(self, painter):
        """
        Draw a simple black rectangle frame around the timeline view area
        :param painter: ,''QPainter''
        """
        bounds_width = min(self._history_width, self.scene().width())
        x, y, w, h = self._history_left, self._history_top, bounds_width, self._history_bottom - 
            self._history_top

        painter.setBrush(Qt.NoBrush)
        painter.setPen(Qt.black)
        painter.drawRect(int(x), int(y), int(w), int(h))
        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_time_divisions(self, painter):
        """
        Draw vertical grid-lines showing major and minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        x_per_sec = self.map_dstamp_to_dx(1.0)
        major_divisions = [s for s in self._sec_divisions if x_per_sec * s >= self._major_spacing]
        if len(major_divisions) == 0:
            major_division = max(self._sec_divisions)
        else:
            major_division = min(major_divisions)

        minor_divisions = [s for s in self._sec_divisions
                           if x_per_sec * s >= self._minor_spacing and major_division % s == 0]
        if len(minor_divisions) > 0:
            minor_division = min(minor_divisions)
        else:
            minor_division = None

        start_stamp = self._start_stamp.to_sec()

        major_stamps = list(self._get_stamps(start_stamp, major_division))
        self._draw_major_divisions(painter, major_stamps, start_stamp, major_division)

        if minor_division:
            minor_stamps = [
                s for s in self._get_stamps(start_stamp, minor_division) if s not in major_stamps]
            self._draw_minor_divisions(painter, minor_stamps, start_stamp, minor_division)

    def _draw_major_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw black hashed vertical grid-lines showing major time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        label_y = self._history_top - self._playhead_pointer_size[1] - 5
        for stamp in stamps:
            x = self.map_stamp_to_x(stamp, False)

            label = self._get_label(division, stamp - start_stamp)
            label_x = x + self._major_divisions_label_indent
            if label_x + self._qfont_width(label) < self.scene().width():
                painter.setBrush(self._default_brush)
                painter.setPen(self._default_pen)
                painter.setFont(self._time_font)
                painter.drawText(int(label_x), int(label_y), label)

            painter.setPen(self._major_division_pen)
            painter.drawLine(
                int(x), int(label_y - self._time_tick_height - self._time_font_size), int(x), int(self._history_bottom))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_minor_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw grey hashed vertical grid-lines showing minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        xs = [self.map_stamp_to_x(stamp) for stamp in stamps]
        painter.setPen(self._minor_division_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top), int(x), int(self._history_bottom))

        painter.setPen(self._minor_division_tick_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top - self._time_tick_height), int(x), int(self._history_top))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_topic_names(self, painter):
        """
        Calculate positions of existing topic names and draw them on the left, one for each row
        :param painter: ,''QPainter''
        """
        topics = self._history_bounds.keys()
        coords = [(self._margin_left, y + (h / 2) + (self._topic_font_height / 2))
                  for (_, y, _, h) in self._history_bounds.values()]

        for text, coords in zip([t.lstrip('/') for t in topics], coords):
            painter.setBrush(self._default_brush)
            painter.setPen(self._default_pen)
            painter.setFont(self._topic_font)
            painter.drawText(int(coords[0]), int(coords[1]), self._trimmed_topic_name(text))

    def _draw_playhead(self, painter):
        """
        Draw a line and 2 triangles to denote the current position being viewed
        :param painter: ,''QPainter''
        """
        px = self.map_stamp_to_x(self.playhead.to_sec())
        pw, ph = self._playhead_pointer_size

        # Line
        painter.setPen(QPen(self._playhead_color))
        painter.setBrush(QBrush(self._playhead_color))
        painter.drawLine(int(px), int(self._history_top - 1), int(px), int(self._history_bottom + 2))

        # Upper triangle
        py = self._history_top - ph
        painter.drawPolygon(
            QPolygonF([QPointF(px, py + ph), QPointF(px + pw, py), QPointF(px - pw, py)]))

        # Lower triangle
        py = self._history_bottom + 1
        painter.drawPolygon(
            QPolygonF([QPointF(px, py), QPointF(px + pw, py + ph), QPointF(px - pw, py + ph)]))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_history_border(self, painter):
        """
        Draw a simple black rectangle frame around the timeline view area
        :param painter: ,''QPainter''
        """
        bounds_width = min(self._history_width, self.scene().width())
        x, y, w, h = self._history_left, self._history_top, bounds_width, self._history_bottom - 
            self._history_top

        painter.setBrush(Qt.NoBrush)
        painter.setPen(Qt.black)
        painter.drawRect(int(x), int(y), int(w), int(h))
        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_topic_names(self, painter):
        """
        Calculate positions of existing topic names and draw them on the left, one for each row
        :param painter: ,''QPainter''
        """
        topics = self._history_bounds.keys()
        coords = [(self._margin_left, y + (h / 2) + (self._topic_font_height / 2))
                  for (_, y, _, h) in self._history_bounds.values()]

        for text, coords in zip([t.lstrip('/') for t in topics], coords):
            painter.setBrush(self._default_brush)
            painter.setPen(self._default_pen)
            painter.setFont(self._topic_font)
            painter.drawText(int(coords[0]), int(coords[1]), self._trimmed_topic_name(text))

    def _draw_time_divisions(self, painter):
        """
        Draw vertical grid-lines showing major and minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        x_per_sec = self.map_dstamp_to_dx(1.0)
        major_divisions = [s for s in self._sec_divisions if x_per_sec * s >= self._major_spacing]
        if len(major_divisions) == 0:
            major_division = max(self._sec_divisions)
        else:
            major_division = min(major_divisions)

        minor_divisions = [s for s in self._sec_divisions
                           if x_per_sec * s >= self._minor_spacing and major_division % s == 0]
        if len(minor_divisions) > 0:
            minor_division = min(minor_divisions)
        else:
            minor_division = None

        start_stamp = self._start_stamp.to_sec()

        major_stamps = list(self._get_stamps(start_stamp, major_division))
        self._draw_major_divisions(painter, major_stamps, start_stamp, major_division)

        if minor_division:
            minor_stamps = [
                s for s in self._get_stamps(start_stamp, minor_division) if s not in major_stamps]
            self._draw_minor_divisions(painter, minor_stamps, start_stamp, minor_division)

    def _draw_major_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw black hashed vertical grid-lines showing major time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        label_y = self._history_top - self._playhead_pointer_size[1] - 5
        for stamp in stamps:
            x = self.map_stamp_to_x(stamp, False)

            label = self._get_label(division, stamp - start_stamp)
            label_x = x + self._major_divisions_label_indent
            if label_x + self._qfont_width(label) < self.scene().width():
                painter.setBrush(self._default_brush)
                painter.setPen(self._default_pen)
                painter.setFont(self._time_font)
                painter.drawText(int(label_x), int(label_y), label)

            painter.setPen(self._major_division_pen)
            painter.drawLine(
                int(x), int(label_y - self._time_tick_height - self._time_font_size), int(x), int(self._history_bottom))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    def _draw_minor_divisions(self, painter, stamps, start_stamp, division):
        """
        Draw grey hashed vertical grid-lines showing minor time divisions.
        :param painter: allows access to paint functions,''QPainter''
        """
        xs = [self.map_stamp_to_x(stamp) for stamp in stamps]
        painter.setPen(self._minor_division_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top), int(x), int(self._history_bottom))

        painter.setPen(self._minor_division_tick_pen)
        for x in xs:
            painter.drawLine(int(x), int(self._history_top - self._time_tick_height), int(x), int(self._history_top))

        painter.setBrush(self._default_brush)
        painter.setPen(self._default_pen)

    # Close function

    def handle_close(self):
        for renderer in self._timeline_renderers.values():
            renderer.close()
        self._index_cache_thread.stop()

    # Plugin interaction functions

    def get_viewer_types(self, datatype):
        return [RawView] + self._viewer_types.get('*', []) + self._viewer_types.get(datatype, [])

    def load_plugins(self):
        from rqt_gui.rospkg_plugin_provider import RospkgPluginProvider
        self.plugin_provider = RospkgPluginProvider('rqt_bag', 'rqt_bag::Plugin')

        plugin_descriptors = self.plugin_provider.discover(None)
        for plugin_descriptor in plugin_descriptors:
            try:
                plugin = self.plugin_provider.load(
                    plugin_descriptor.plugin_id(), plugin_context=None)
            except Exception as e:
                qWarning('rqt_bag.TimelineFrame.load_plugins() failed to load plugin "%s":
%s' %
                         (plugin_descriptor.plugin_id(), e))
                continue
            try:
                view = plugin.get_view_class()
            except Exception as e:
                qWarning(
                    'rqt_bag.TimelineFrame.load_plugins() failed to get view '
                    'from plugin "%s":
%s' % (plugin_descriptor.plugin_id(), e))
                continue

            timeline_renderer = None
            try:
                timeline_renderer = plugin.get_renderer_class()
            except AttributeError:
                pass
            except Exception as e:
                qWarning(
                    'rqt_bag.TimelineFrame.load_plugins() failed to get renderer '
                    'from plugin "%s":
%s' % (plugin_descriptor.plugin_id(), e))

            msg_types = []
            try:
                msg_types = plugin.get_message_types()
            except AttributeError:
                pass
            except Exception as e:
                qWarning(
                    'rqt_bag.TimelineFrame.load_plugins() failed to get message types '
                    'from plugin "%s":
%s' % (plugin_descriptor.plugin_id(), e))
            finally:
                if not msg_types:
                    qWarning(
                        'rqt_bag.TimelineFrame.load_plugins() plugin "%s" declares '
                        'no message types.' % (plugin_descriptor.plugin_id()))

            for msg_type in msg_types:
                self._viewer_types.setdefault(msg_type, []).append(view)
                if timeline_renderer:
                    self._timeline_renderers[msg_type] = timeline_renderer(self)

            qDebug('rqt_bag.TimelineFrame.load_plugins() loaded plugin "%s"' %
                   plugin_descriptor.plugin_id())

    # Timeline renderer interaction functions

    def get_renderers(self):
        """
        :returns: a list of the currently loaded renderers for the plugins
        """
        renderers = []

        for topic in self.topics:
            datatype = self.scene().get_datatype(topic)
            renderer = self._timeline_renderers.get(datatype)
            if renderer is not None:
                renderers.append((topic, renderer))
        return renderers

    def is_renderer_active(self, topic):
        return topic in self._rendered_topics

    def toggle_renderers(self):
        idle_renderers = len(self._rendered_topics) < len(self.topics)

        self.set_renderers_active(idle_renderers)

    def set_renderers_active(self, active):
        if active:
            for topic in self.topics:
                self._rendered_topics.add(topic)
        else:
            self._rendered_topics.clear()
        self.scene().update()

    def set_renderer_active(self, topic, active):
        if active:
            if topic in self._rendered_topics:
                return
            self._rendered_topics.add(topic)
        else:
            if not topic in self._rendered_topics:
                return
            self._rendered_topics.remove(topic)
        self.scene().update()

    # Index Caching functions

    def _update_index_cache(self, topic):
        """
        Updates the cache of message timestamps for the given topic.
        :return: number of messages added to the index cache
        """
        if self._start_stamp is None or self._end_stamp is None:
            return 0

        if topic not in self.index_cache:
            # Don't have any cache of messages in this topic
            start_time = self._start_stamp
            topic_cache = []
            self.index_cache[topic] = topic_cache
        else:
            topic_cache = self.index_cache[topic]

            # Check if the cache has been invalidated
            if topic not in self.invalidated_caches:
                return 0

            if len(topic_cache) == 0:
                start_time = self._start_stamp
            else:
                start_time = rospy.Time.from_sec(max(0.0, topic_cache[-1]))

        end_time = self._end_stamp

        topic_cache_len = len(topic_cache)

        for entry in self.scene().get_entries(topic, start_time, end_time):
            topic_cache.append(entry.time.to_sec())

        if topic in self.invalidated_caches:
            self.invalidated_caches.remove(topic)

        return len(topic_cache) - topic_cache_len

    def _find_regions(self, stamps, max_interval):
        """
        Group timestamps into regions connected by timestamps less than max_interval secs apart
        :param start_stamp: a list of stamps, ''list''
        :param stamp_step: seconds between each division, ''int''
        """
        region_start, prev_stamp = None, None
        for stamp in stamps:
            if prev_stamp:
                if stamp - prev_stamp > max_interval:
                    region_end = prev_stamp
                    yield (region_start, region_end)
                    region_start = stamp
            else:
                region_start = stamp

            prev_stamp = stamp

        if region_start and prev_stamp:
            yield (region_start, prev_stamp)

    def _get_stamps(self, start_stamp, stamp_step):
        """
        Generate visible stamps every stamp_step
        :param start_stamp: beginning of timeline stamp, ''int''
        :param stamp_step: seconds between each division, ''int''
        :returns: generator of stamps
        """
        if start_stamp >= self._stamp_left:
            stamp = start_stamp
        else:
            stamp = start_stamp + 
                int((self._stamp_left - start_stamp) / stamp_step) * stamp_step + stamp_step

        while stamp < self._stamp_right:
            yield stamp
            stamp += stamp_step

    def _get_label(self, division, elapsed):
        """
        :param division: number of seconds in a division, ''int''
        :param elapsed: seconds from the beginning, ''int''
        :returns: relevant time elapsed string, ''str''
        """
        secs = int(elapsed) % 60

        mins = int(elapsed) / 60
        hrs = mins / 60
        days = hrs / 24
        weeks = days / 7

        if division >= 7 * 24 * 60 * 60:  # >1wk divisions: show weeks
            return '%dw' % weeks
        elif division >= 24 * 60 * 60:  # >24h divisions: show days
            return '%dd' % days
        elif division >= 60 * 60:  # >1h divisions: show hours
            return '%dh' % hrs
        elif division >= 5 * 60:  # >5m divisions: show minutes
            return '%dm' % mins
        elif division >= 1:  # >1s divisions: show minutes:seconds
            return '%dm%02ds' % (mins, secs)
        elif division >= 0.1:  # >0.1s divisions: show seconds.0
            return '%d.%ss' % (secs, str(int(10.0 * (elapsed - int(elapsed)))))
        elif division >= 0.01:  # >0.01s divisions: show seconds.00
            return '%d.%02ds' % (secs, int(100.0 * (elapsed - int(elapsed))))
        else:  # show seconds.000
            return '%d.%03ds' % (secs, int(1000.0 * (elapsed - int(elapsed))))

    # Pixel location/time conversion functions
    def map_x_to_stamp(self, x, clamp_to_visible=True):
        """
        converts a pixel x value to a stamp
        :param x: pixel value to be converted, ''int''
        :param clamp_to_visible:
            disallow values that are greater than the current timeline bounds,''bool''
        :returns: timestamp, ''float''
        """
        fraction = float(x - self._history_left) / self._history_width

        if clamp_to_visible:
            if fraction <= 0.0:
                return self._stamp_left
            elif fraction >= 1.0:
                return self._stamp_right

        return self._stamp_left + fraction * (self._stamp_right - self._stamp_left)

    def map_dx_to_dstamp(self, dx):
        """
        converts a distance in pixel space to a distance in stamp space
        :param dx: distance in pixel space to be converted, ''int''
        :returns: distance in stamp space, ''float''
        """
        return float(dx) * (self._stamp_right - self._stamp_left) / self._history_width

    def map_stamp_to_x(self, stamp, clamp_to_visible=True):
        """
        converts a timestamp to the x value where that stamp exists in the timeline
        :param stamp: timestamp to be converted, ''float''
        :param clamp_to_visible:
            disallow values that are greater than the current timeline bounds,''bool''
        :returns: # of pixels from the left border, ''float''
        """
        if self._stamp_left is None:
            return None
        fraction = (stamp - self._stamp_left) / (self._stamp_right - self._stamp_left)

        if clamp_to_visible:
            fraction = min(1.0, max(0.0, fraction))

        return self._history_left + fraction * self._history_width

    def map_dstamp_to_dx(self, dstamp):
        return (float(dstamp) * self._history_width) / (self._stamp_right - self._stamp_left)

    def map_y_to_topic(self, y):
        for topic in self._history_bounds:
            x, topic_y, w, topic_h = self._history_bounds[topic]
            if y > topic_y and y <= topic_y + topic_h:
                return topic
        return None

    # View port manipulation functions
    def reset_timeline(self):
        self.reset_zoom()

        self._selected_left = None
        self._selected_right = None
        self._selecting_mode = _SelectionMode.NONE

        self.emit_play_region()

        if self._stamp_left is not None:
            self.playhead = rospy.Time.from_sec(self._stamp_left)

    def set_timeline_view(self, stamp_left, stamp_right):
        self._stamp_left = stamp_left
        self._stamp_right = stamp_right

    def translate_timeline(self, dstamp):
        self.set_timeline_view(self._stamp_left + dstamp, self._stamp_right + dstamp)
        self.scene().update()

    def translate_timeline_left(self):
        self.translate_timeline((self._stamp_right - self._stamp_left) * -0.05)

    def translate_timeline_right(self):
        self.translate_timeline((self._stamp_right - self._stamp_left) * 0.05)

    # Zoom functions
    def reset_zoom(self):
        start_stamp, end_stamp = self._start_stamp, self._end_stamp
        if start_stamp is None:
            return

        if (end_stamp - start_stamp) < rospy.Duration.from_sec(5.0):
            end_stamp = start_stamp + rospy.Duration.from_sec(5.0)

        self.set_timeline_view(start_stamp.to_sec(), end_stamp.to_sec())
        self.scene().update()

    def zoom_in(self):
        self.zoom_timeline(0.5)

    def zoom_out(self):
        self.zoom_timeline(2.0)

    def can_zoom_in(self):
        return self.can_zoom(0.5)

    def can_zoom_out(self):
        return self.can_zoom(2.0)

    def can_zoom(self, desired_zoom):
        if not self._stamp_left or not self.playhead:
            return False

        new_interval = self.get_zoom_interval(desired_zoom)
        if not new_interval:
            return False

        new_range = new_interval[1] - new_interval[0]
        curr_range = self._stamp_right - self._stamp_left
        actual_zoom = new_range / curr_range

        if desired_zoom < 1.0:
            return actual_zoom < 0.95
        else:
            return actual_zoom > 1.05

    def zoom_timeline(self, zoom, center=None):
        interval = self.get_zoom_interval(zoom, center)
        if not interval:
            return

        self._stamp_left, self._stamp_right = interval

        self.scene().update()

    def get_zoom_interval(self, zoom, center=None):
        """
        @rtype: tuple
        @requires: left & right zoom interval sizes.
        """
        if self._stamp_left is None:
            return None

        stamp_interval = self._stamp_right - self._stamp_left
        if center is None:
            center = self.playhead.to_sec()
        center_frac = (center - self._stamp_left) / stamp_interval

        new_stamp_interval = zoom * stamp_interval
        if new_stamp_interval == 0:
            return None
        # Enforce zoom limits
        px_per_sec = self._history_width / new_stamp_interval
        if px_per_sec < self._min_zoom:
            new_stamp_interval = self._history_width / self._min_zoom
        elif px_per_sec > self._max_zoom:
            new_stamp_interval = self._history_width / self._max_zoom

        left = center - center_frac * new_stamp_interval
        right = left + new_stamp_interval

        return (left, right)

    def pause(self):
        self._paused = True

    def resume(self):
        self._paused = False
        self._bag_timeline.resume()

    # Mouse event handlers
    def on_middle_down(self, event):
        self._clicked_pos = self._dragged_pos = event.pos()
        self.pause()

    def on_left_down(self, event):
        if self.playhead is None:
            return

        self._clicked_pos = self._dragged_pos = event.pos()

        self.pause()

        if event.modifiers() == Qt.ShiftModifier:
            return

        x = self._clicked_pos.x()
        y = self._clicked_pos.y()
        if self._history_left <= x <= self._history_right:
            if self._history_top <= y <= self._history_bottom:
                # Clicked within timeline - set playhead
                playhead_secs = self.map_x_to_stamp(x)
                if playhead_secs <= 0.0:
                    self.playhead = rospy.Time(0, 1)
                else:
                    self.playhead = rospy.Time.from_sec(playhead_secs)
                self.scene().update()

            elif y <= self._history_top:
                # Clicked above timeline
                if self._selecting_mode == _SelectionMode.NONE:
                    self._selected_left = None
                    self._selected_right = None
                    self._selecting_mode = _SelectionMode.LEFT_MARKED
                    self.scene().update()
                    self.emit_play_region()

                elif self._selecting_mode == _SelectionMode.MARKED:
                    left_x = self.map_stamp_to_x(self._selected_left)
                    right_x = self.map_stamp_to_x(self._selected_right)
                    if x < left_x - self._selection_handle_width or 
                            x > right_x + self._selection_handle_width:
                        self._selected_left = None
                        self._selected_right = None
                        self._selecting_mode = _SelectionMode.LEFT_MARKED
                        self.scene().update()
                    self.emit_play_region()
                elif self._selecting_mode == _SelectionMode.SHIFTING:
                    self.scene().views()[0].setCursor(QCursor(Qt.ClosedHandCursor))

    def on_mouse_up(self, event):
        self.resume()

        if self._selecting_mode in [
                _SelectionMode.LEFT_MARKED,
                _SelectionMode.MOVE_LEFT,
                _SelectionMode.MOVE_RIGHT,
                _SelectionMode.SHIFTING]:
            if self._selected_left is None:
                self._selecting_mode = _SelectionMode.NONE
            else:
                self._selecting_mode = _SelectionMode.MARKED
        self.scene().views()[0].setCursor(QCursor(Qt.ArrowCursor))
        self.scene().update()

    def on_mousewheel(self, event):
        try:
            delta = event.angleDelta().y()
        except AttributeError:
            delta = event.delta()
        dz = delta / 120.0
        self.zoom_timeline(1.0 - dz * 0.2)

    def on_mouse_move(self, event):
        if not self._history_left:  # TODO: need a better notion of initialized
            return

        x = event.pos().x()
        y = event.pos().y()

        if event.buttons() == Qt.NoButton:
            # Mouse moving
            if self._selecting_mode in [
                    _SelectionMode.MARKED,
                    _SelectionMode.MOVE_LEFT,
                    _SelectionMode.MOVE_RIGHT,
                    _SelectionMode.SHIFTING]:
                if y <= self._history_top and self._selected_left is not None:
                    left_x = self.map_stamp_to_x(self._selected_left)
                    right_x = self.map_stamp_to_x(self._selected_right)

                    if abs(x - left_x) <= self._selection_handle_width:
                        self._selecting_mode = _SelectionMode.MOVE_LEFT
                        self.scene().views()[0].setCursor(QCursor(Qt.SizeHorCursor))
                        return
                    elif abs(x - right_x) <= self._selection_handle_width:
                        self._selecting_mode = _SelectionMode.MOVE_RIGHT
                        self.scene().views()[0].setCursor(QCursor(Qt.SizeHorCursor))
                        return
                    elif left_x < x < right_x:
                        self._selecting_mode = _SelectionMode.SHIFTING
                        self.scene().views()[0].setCursor(QCursor(Qt.OpenHandCursor))
                        return
                    else:
                        self._selecting_mode = _SelectionMode.MARKED
                self.scene().views()[0].setCursor(QCursor(Qt.ArrowCursor))
        else:
            # Mouse dragging
            if event.buttons() == Qt.MidButton or event.modifiers() == Qt.ShiftModifier:
                # Middle or shift: zoom and pan
                dx_drag, dy_drag = x - self._dragged_pos.x(), y - self._dragged_pos.y()

                if dx_drag != 0:
                    self.translate_timeline(-self.map_dx_to_dstamp(dx_drag))
                if (dx_drag == 0 and abs(dy_drag) > 0) or 
                        (dx_drag != 0 and abs(float(dy_drag) / dx_drag) > 0.2 and abs(dy_drag) > 1):
                    zoom = min(
                        self._max_zoom_speed,
                        max(self._min_zoom_speed, 1.0 + self._zoom_sensitivity * dy_drag))
                    self.zoom_timeline(zoom, self.map_x_to_stamp(x))

                self.scene().views()[0].setCursor(QCursor(Qt.ClosedHandCursor))
            elif event.buttons() == Qt.LeftButton:
                # Left: move selected region and move selected region boundary
                clicked_x = self._clicked_pos.x()
                clicked_y = self._clicked_pos.y()

                x_stamp = self.map_x_to_stamp(x)

                if y <= self._history_top:
                    if self._selecting_mode == _SelectionMode.LEFT_MARKED:
                        # Left and selecting: change selection region
                        clicked_x_stamp = self.map_x_to_stamp(clicked_x)

                        self._selected_left = min(clicked_x_stamp, x_stamp)
                        self._selected_right = max(clicked_x_stamp, x_stamp)
                        self.scene().update()

                    elif self._selecting_mode == _SelectionMode.MOVE_LEFT:
                        self._selected_left = x_stamp
                        self.scene().update()

                    elif self._selecting_mode == _SelectionMode.MOVE_RIGHT:
                        self._selected_right = x_stamp
                        self.scene().update()

                    elif self._selecting_mode == _SelectionMode.SHIFTING:
                        dx_drag = x - self._dragged_pos.x()
                        dstamp = self.map_dx_to_dstamp(dx_drag)

                        self._selected_left = max(
                            self._start_stamp.to_sec(),
                            min(self._end_stamp.to_sec(), self._selected_left + dstamp))
                        self._selected_right = max(
                            self._start_stamp.to_sec(),
                            min(self._end_stamp.to_sec(), self._selected_right + dstamp))
                        self.scene().update()
                    self.emit_play_region()

                elif self._history_left <= clicked_x <= self._history_right and 
                        self._history_top <= clicked_y <= self._history_bottom:
                    # Left and clicked within timeline: change playhead
                    if x_stamp <= 0.0:
                        self.playhead = rospy.Time(0, 1)
                    else:
                        self.playhead = rospy.Time.from_sec(x_stamp)
                    self.scene().update()
            self._dragged_pos = event.pos()

不过感觉也可以选择重新拉取新版的rqt_bag的新版本(如1.2.0,上述方法安装的是0.5.1版)替换原有的原文件,但是这个方法,没有尝试。

本文地址:https://www.vps345.com/7812.html

搜索文章

Tags

PV计算 带宽计算 流量带宽 服务器带宽 上行带宽 上行速率 什么是上行带宽? CC攻击 攻击怎么办 流量攻击 DDOS攻击 服务器被攻击怎么办 源IP 服务器 linux 运维 游戏 云计算 javascript 前端 chrome edge ubuntu ssh python MCP llama 算法 opencv 自然语言处理 神经网络 语言模型 阿里云 网络 网络安全 网络协议 php 人工智能 进程 操作系统 进程控制 Ubuntu debian PVE 经验分享 deepseek Ollama 模型联网 API CherryStudio macos adb mysql android RTSP xop RTP RTSPServer 推流 视频 java C# MQTTS 双向认证 emqx docker 容器 科技 ai 个人开发 harmonyos 华为 开发语言 typescript 计算机网络 机器学习 windows json nginx 负载均衡 数据库 centos oracle 关系型 安全 分布式 开发环境 Dify asm vscode tcp/ip tomcat mac 游戏程序 ios Dell R750XS HarmonyOS Next 虚拟机 VMware Docker Hub docker pull 镜像源 daemon.json Linux MacOS录屏软件 c# 面试 性能优化 jdk intellij-idea 架构 学习 YOLO efficientVIT YOLOv8替换主干网络 TOLOv8 llm transformer git elasticsearch Flask FastAPI Waitress Gunicorn uWSGI Uvicorn 英语 xcode ide 产品经理 agi microsoft vim 开源 github 实时音视频 实时互动 powerpoint 自动化 pycharm dify EtherCAT转Modbus ECT转Modbus协议 EtherCAT转485网关 ECT转Modbus串口网关 EtherCAT转485协议 ECT转Modbus网关 宝塔面板访问不了 宝塔面板网站访问不了 宝塔面板怎么配置网站能访问 宝塔面板配置ip访问 宝塔面板配置域名访问教程 宝塔面板配置教程 物联网 mcu iot 信息与通信 高级IO epoll conda DevEco Studio java-ee ssl 前端框架 云原生 etcd 数据安全 RBAC spring boot k8s kubernetes 智能路由器 外网访问 内网穿透 端口映射 vue.js audio vue音乐播放器 vue播放音频文件 Audio音频播放器自定义样式 播放暂停进度条音量调节快进快退 自定义audio覆盖默认样式 思科 数据结构 c语言 笔记 学习方法 嵌入式 linux驱动开发 arm开发 嵌入式硬件 Qwen2.5-coder 离线部署 进程信号 rust http c++ fastapi mcp mcp-proxy mcp-inspector fastapi-mcp agent sse unix 深度学习 目标检测 计算机视觉 pip jenkins 互信 filezilla 无法连接服务器 连接被服务器拒绝 vsftpd 331/530 ui 华为云 华为od ip命令 新增网卡 新增IP 启动网卡 jellyfin nas openvpn server openvpn配置教程 centos安装openvpn 运维开发 并查集 leetcode 创意 社区 vue3 HTML audio 控件组件 vue3 audio音乐播放器 Audio标签自定义样式默认 vue3播放音频文件音效音乐 自定义audio播放器样式 播放暂停调整声音大小下载文件 numpy gitee 鸿蒙 GaN HEMT 氮化镓 单粒子烧毁 辐射损伤 辐照效应 网络药理学 生信 生物信息学 gromacs 分子动力学模拟 MD 动力学模拟 protobuf 序列化和反序列化 安装 ue5 vr apache AI编程 eureka docker compose chatgpt 大模型 llama3 Chatglm 开源大模型 prometheus 监控k8s 监控kubernetes DeepSeek pytorch rpc 后端 缓存 强制清理 强制删除 mac废纸篓 bash web安全 mount挂载磁盘 wrong fs type LVM挂载磁盘 Centos7.9 rocketmq xml wireshark 显示过滤器 ICMP Wireshark安装 压测 ECS 单片机 温湿度数据上传到服务器 Arduino HTTP rime 课程设计 大数据 golang bug dubbo ansible playbook 剧本 mongodb 机器人 视觉检测 VMware安装mocOS macOS系统安装 VMware创建虚拟机 visual studio code 编辑器 电脑 .net sql KingBase minicom 串口调试工具 测试工具 kafka AI大模型 大模型技术 本地部署大模型 开发 cpu 内存 实时 使用 博客 监控k8s集群 集群内prometheus websocket 无人机 dell服务器 Windsurf Ubuntu共享文件夹 共享目录 Linux共享文件夹 bcompare Beyond Compare C语言 系统开发 binder 车载系统 framework 源码环境 Samba NAS word图片自动上传 word一键转存 复制word图片 复制word图文 复制word公式 粘贴word图文 粘贴word公式 聚类 jar gradle react.js 前端面试题 node.js 持续部署 YOLOv8 NPU Atlas800 A300I pro asi_bench ai小智 语音助手 ai小智配网 ai小智教程 智能硬件 esp32语音助手 diy语音助手 Linux PID redis selete postgresql ip WSL2 express p2p gnu ollama下载加速 Cline 自动化编程 postman mock mock server 模拟服务器 mock服务器 Postman内置变量 Postman随机数据 系统架构 微服务 设计模式 软件工程 ESP32 camera Arduino 电子信息 linux安装配置 UOS 统信操作系统 yum AIGC kali 共享文件夹 RAGFLOW KylinV10 麒麟操作系统 Vmware ros2 moveit 机器人运动 ddos iBMC UltraISO qt stm32项目 stm32 中兴光猫 换光猫 网络桥接 自己换光猫 unity ping++ 低代码 fpga开发 docker搭建pg docker搭建pgsql pg授权 postgresql使用 postgresql搭建 鸿蒙系统 zotero WebDAV 同步失败 代理模式 iperf3 带宽测试 域名服务 DHCP 符号链接 配置 fd 文件描述符 计算机外设 软件需求 安装教程 GPU环境配置 Ubuntu22 CUDA PyTorch Anaconda安装 gitlab udp ollama 隐藏文件 隐藏目录 文件系统 管理器 通配符 向日葵 uni-app sublime text svn 1024程序员节 aws googlecloud 微信 微信分享 Image wxopensdk oceanbase rc.local 开机自启 systemd 麒麟 matplotlib 智能手机 Termux 政务 分布式系统 监控运维 Prometheus Grafana jmeter 软件测试 银河麒麟 kylin v10 麒麟 v10 虚拟局域网 kylin 目标跟踪 OpenVINO 推理应用 gateway Clion Nova ResharperC++引擎 Centos7 远程开发 AI 爬虫 数据集 迁移指南 tcpdump ffmpeg 音视频 Portainer搭建 Portainer使用 Portainer使用详解 Portainer详解 Portainer portainer ESXi 数据挖掘 网络用户购物行为分析可视化平台 大数据毕业设计 html5 firefox sqlserver kamailio sip VoIP WSL2 上安装 Ubuntu 大数据平台 腾讯云 maven intellij idea list 模拟实现 gpu算力 QT 5.12.12 QT开发环境 Ubuntu18.04 OpenManus rust腐蚀 客户端 threejs 3D CLion 远程连接 IDE https docker搭建nacos详解 docker部署nacos docker安装nacos 腾讯云搭建nacos centos7搭建nacos 工业4.0 数据分析 命名管道 客户端与服务端通信 监控 自动化运维 docker-compose selenium 远程 命令 执行 sshpass 操作 ux 多线程 豆瓣 追剧助手 迅雷 设置代理 实用教程 代码调试 ipdb virtualenv linux环境变量 中间件 iis vSphere vCenter 软件定义数据中心 sddc CPU 主板 电源 网卡 LDAP 飞牛nas fnos C 环境变量 进程地址空间 Agent 远程控制 远程看看 远程协助 HCIE 数通 springcloud spring 硬件工程 安防软件 ue4 着色器 虚幻 .netcore 串口服务器 rag ragflow ragflow 源码启动 指令 Reactor C++ mq rabbitmq 5G 3GPP 卫星通信 alias unalias 别名 pillow DigitalOcean GPU服务器购买 GPU服务器哪里有 GPU服务器 live555 rtsp rtp cuda cudnn anaconda Kali Linux 黑客 渗透测试 信息收集 VMware安装Ubuntu Ubuntu安装k8s 云桌面 微软 AD域控 证书服务器 WSL win11 无法解析服务器的名称或地址 僵尸进程 小程序 微信小程序域名配置 微信小程序服务器域名 微信小程序合法域名 小程序配置业务域名 微信小程序需要域名吗 微信小程序添加域名 集成学习 集成测试 windows 服务器安装 NFS hive Hive环境搭建 hive3环境 Hive远程模式 vnc 远程工作 flash-attention 报错 深度求索 私域 知识库 程序人生 环境配置 firewalld WebUI DeepSeek V3 基础环境 log4j go DeepSeek-R1 API接口 源码剖析 rtsp实现步骤 流媒体开发 Ubuntu Server Ubuntu 22.04.5 MQTT协议 消息服务器 代码 权限 多线程服务器 Linux网络编程 FTP 服务器 JAVA Java spring cloud linux上传下载 统信UOS bonding 链路聚合 openwrt fstab ipython flutter ssh漏洞 ssh9.9p2 CVE-2025-23419 Hyper-V WinRM TrustedHosts mybatis YOLOv12 webstorm flask gcc centos 7 rancher 图形化界面 Kylin-Server 国产操作系统 服务器安装 bootstrap html 嵌入式系统开发 iftop 网络流量监控 ecmascript nextjs react reactjs windows日志 Trae AI代码编辑器 etl 自动驾驶 make命令 makefile文件 流式接口 游戏服务器 Minecraft DOIT 四博智联 远程桌面 WLAN 系统安全 网络结构图 yaml Ultralytics 可视化 Ark-TS语言 Dell HPE 联想 浪潮 iDRAC R720xd 小番茄C盘清理 便捷易用C盘清理工具 小番茄C盘清理的优势尽显何处? 教你深度体验小番茄C盘清理 C盘变红?!不知所措? C盘瘦身后电脑会发生什么变化? zabbix 单例模式 Deepseek Linux的权限 Google pay Apple pay freebsd 大语言模型 android studio 交互 媒体 服务器繁忙 安卓 vue css less 部署 镜像 ssrf 失效的访问控制 宝塔面板 压力测试 测试用例 功能测试 mamba shell 磁盘监控 软件构建 ROS SSL证书 ip协议 QQ 聊天室 消息队列 jupyter 虚拟显示器 jina cmos 硬件 export import save load 迁移镜像 Docker引擎已经停止 Docker无法使用 WSL进度一直是0 镜像加速地址 perf XFS xfs文件系统损坏 I_O error xrdp 流水线 脚本式流水线 路径解析 FunASR ASR 重启 排查 系统重启 日志 原因 软链接 硬链接 file server http server web server nftables 防火墙 muduo X11 Xming Vmamba tcp composer 产测工具框架 IMX6ULL 管理框架 odoo 服务器动作 Server action ros 环境迁移 Linux的基础指令 minio IIS .net core Hosting Bundle .NET Framework vs2022 gpt HarmonyOS NEXT 原生鸿蒙 Typore RAG 检索增强生成 文档解析 大模型垂直应用 毕设 计算生物学 生物信息 基因组 dba LLM CrewAI CH340 串口驱动 CH341 uart 485 gitea 模拟器 教程 微信公众平台 微信小程序 jetty undertow devops ci/cd hadoop 医疗APP开发 app开发 openEuler MNN Qwen 策略模式 Wi-Fi web Socket DNS 信号处理 ubuntu24 vivado24 深度优先 图论 并集查找 换根法 树上倍增 lb 协议 ubuntu20.04 ros1 Noetic 20.04 apt 安装 本地部署AI大模型 SSH 程序员 具身智能 强化学习 ubuntu24.04.1 Invalid Host allowedHosts Erlang OTP gen_server 热代码交换 事务语义 其他 可信计算技术 安全架构 网络攻击模型 云电竞 云电脑 todesk fast 交换机 telnet 远程登录 交叉编译 n8n 工作流 workflow hugo Netty 即时通信 NIO SWAT 配置文件 服务管理 网络共享 gaussdb k8s集群资源管理 云原生开发 服务器时间 CentOS Stream CentOS idm ruoyi AI写作 AI作画 IIS服务器 IIS性能 日志监控 DIFY webrtc 实战案例 主从复制 micropython esp32 mqtt 思科模拟器 Cisco lsb_release /etc/issue /proc/version uname -r 查看ubuntu版本 IPv4 子网掩码 公网IP 私有IP MCP server C/S nuxt3 SSH 密钥生成 SSH 公钥 私钥 生成 cfssl SSH 服务 SSH Server OpenSSH Server pygame 单元测试 ShenTong 国产化 树莓派 VNC 蓝桥杯 银河麒麟服务器操作系统 系统激活 r语言 数据可视化 灵办AI kvm ruby 链表 wsl 算力 dity make 计算机 okhttp 社交电子 nlp 换源 国内源 Debian yolov5 虚拟现实 蓝耘科技 元生代平台工作流 ComfyUI HarmonyOS 服务器配置 双系统 GRUB引导 Linux技巧 next.js 部署next.js 搜索引擎 searxng windwos防火墙 defender防火墙 win防火墙白名单 防火墙白名单效果 防火墙只允许指定应用上网 防火墙允许指定上网其它禁止 ocr 线程 硬件架构 spark wsl2 vscode 1.86 群晖 飞牛 tensorflow 图像处理 3d trae 直流充电桩 充电桩 GCC crosstool-ng 技能大赛 Redis Desktop W5500 OLED u8g2 TCP服务器 SEO chfs ubuntu 16.04 上传视频文件到服务器 uniApp本地上传视频并预览 uniapp移动端h5网页 uniapp微信小程序上传视频 uniapp app端视频上传 uniapp uview组件库 私有化 本地部署 firewall rdp 实验 AP配网 AK配网 小程序AP配网和AK配网教程 WIFI设备配网小程序UDP开 c/c++ 串口 王者荣耀 网络穿透 云服务器 火绒安全 django Nuxt.js Alexnet AI-native Docker Desktop mariadb 多层架构 解耦 弹性计算 裸金属服务器 弹性裸金属服务器 虚拟化 rclone AList webdav fnOS pdf 办公自动化 自动化生成 pdf教程 致远OA OA服务器 服务器磁盘扩容 matlab 设备 GPU PCI-Express 分析解读 dns 跨域 uniapp elk Linux无人智慧超市 LInux多线程服务器 QT项目 LInux项目 单片机项目 powerbi 信息可视化 grafana 边缘计算 信号 历史版本 下载 arm 能力提升 面试宝典 技术 IT信息化 arcgis Ubuntu DeepSeek DeepSeek Ubuntu DeepSeek 本地部署 DeepSeek 知识库 DeepSeek 私有化知识库 本地部署 DeepSeek DeepSeek 私有化部署 safari Mac 系统 显卡驱动 sqlite nvidia MacMini 迷你主机 mini Apple DeepSeek行业应用 Heroku 网站部署 openssl 密码学 宠物 毕业设计 免费学习 宠物领养 宠物平台 业界资讯 DBeaver 鲲鹏 模拟退火算法 pyautogui 小艺 Pura X 职场和发展 excel MQTT mosquitto gpt-3 文心一言 游戏机 k8s二次开发 集群管理 skynet 推荐算法 金融 AISphereButler AutoDL 序列化反序列化 prompt vpn bot Docker asp.net大文件上传 asp.net大文件上传源码 ASP.NET断点续传 asp.net上传文件夹 asp.net上传大文件 .net core断点续传 .net mvc断点续传 用户缓冲区 游戏引擎 lio-sam SLAM 支付 微信支付 开放平台 ArkTs ArkUI 程序员创富 Java Applet URL操作 服务器建立 Socket编程 网络文件读取 华为认证 网络工程师 拓扑图 VR手套 数据手套 动捕手套 动捕数据手套 矩阵 ukui 麒麟kylinos openeuler 服务器管理 配置教程 网站管理 宝塔 Mac内存不够用怎么办 springboot远程调试 java项目远程debug docker远程debug java项目远程调试 springboot远程 NLP模型 NLP 自学笔记 小米 澎湃OS Android 输入法 av1 电视盒子 机顶盒ROM 魔百盒刷机 miniapp 真机调试 调试 debug 断点 网络API请求调试方法 数据库系统 P2P HDLC VPS 进程优先级 调度队列 进程切换 高效远程协作 TrustViewer体验 跨设备操作便利 智能远程控制 Node-Red 编程工具 流编程 统信 UOS1070e 数学建模 SenseVoice hibernate apt 代码托管服务 Open WebUI Doris搭建 docker搭建Doris Doris搭建过程 linux搭建Doris Doris搭建详细步骤 Doris部署 yolov8 网站搭建 serv00 curl wget 程序 编程 性能分析 漏洞 big data Kali 渗透 kind 微信开放平台 微信公众号配置 opensearch helm keepalived xpath定位元素 RAID RAID技术 磁盘 存储 同步 备份 建站 服务器主板 AI芯片 sonoma 自动更新 安全威胁分析 MI300x uv WebRTC fonts-noto-cjk docker run 数据卷挂载 交互模式 大模型入门 大模型教程 版本 IPMI chrome devtools chromedriver Python 网络编程 聊天服务器 套接字 TCP IPMITOOL BMC 硬件管理 ArcTS 登录 ArcUI GridItem RoboVLM 通用机器人策略 VLA设计哲学 vlm fot robot 视觉语言动作模型 unity3d arkUI 多进程 Xterminal wps 上传视频至服务器代码 vue3批量上传多个视频并预览 如何实现将本地视频上传到网页 element plu视频上传 ant design vue vue3本地上传视频及预览移除 asp.net大文件上传下载 文件分享 rnn 恒源云 移动云 Cookie Cursor 实习 云服务 su sudo NPS 雨云服务器 雨云 KVM springsecurity6 oauth2 授权服务器 token sas OpenSSH c 崖山数据库 YashanDB CORS easyui langchain Ubuntu22.04 开发人员主页 redhat trea idea 飞书 毕昇JDK SSL 域名 Anolis nginx安装 环境安装 linux插件下载 半虚拟化 硬件虚拟化 Hypervisor seatunnel LLMs 服务器数据恢复 数据恢复 存储数据恢复 raid5数据恢复 磁盘阵列数据恢复 OpenHarmony 银河麒麟操作系统 oneapi 大模型微调 nfs 服务器部署ai模型 sqlite3 企业微信 Linux24.04 deepin code-server Docker Compose pgpool 端口测试 图形渲染 键盘 三级等保 服务器审计日志备份 田俊楠 DeepSeek r1 小游戏 五子棋 MS Materials sdkman 开机自启动 金仓数据库 2025 征文 数据库平替用金仓 docker命令大全 echarts 网页设计 黑客技术 nac 802.1 portal URL api banner 联想开天P90Z装win10 免费域名 域名解析 TRAE outlook 虚拟机安装 Jellyfin mysql离线安装 ubuntu22.04 mysql8.0 框架搭建 大文件分片上传断点续传及进度条 如何批量上传超大文件并显示进度 axios大文件切片上传详细教 node服务器合并切片 vue3大文件上传报错提示错误 大文件秒传跨域报错cors 源码 网工 通信工程 毕业 混合开发 JDK remote-ssh Linux awk awk函数 awk结构 awk内置变量 awk参数 awk脚本 awk详解 京东云 EasyConnect 命令行 基础入门 ceph springboot RustDesk自建服务器 rustdesk服务器 docker rustdesk linux内核 HiCar CarLife+ CarPlay QT RK3588 web3.py string模拟实现 深拷贝 浅拷贝 经典的string类问题 三个swap centos-root /dev/mapper yum clean all df -h / du -sh rustdesk 考研 conda配置 conda镜像源 pyqt 数据库架构 数据管理 数据治理 数据编织 数据虚拟化 OD机试真题 华为OD机试真题 服务器能耗统计 安卓模拟器 x64 SIGSEGV SSE xmm0 稳定性 看门狗 chrome 浏览器下载 chrome 下载安装 谷歌浏览器下载 RTMP 应用层 npm 昇腾 npu eNSP 网络规划 VLAN 企业网络 zip unzip thingsboard 大模型面经 大模型学习 AnythingLLM AnythingLLM安装 孤岛惊魂4 智能音箱 智能家居 TrinityCore 魔兽世界 k8s资源监控 annotations自动化 自动化监控 监控service 监控jvm linux 命令 sed 命令 MySql adobe 传统数据库升级 银行 相差8小时 UTC 时间 本地环回 bind netty edge浏览器 qemu libvirt opcua opcda KEPServer安装 WebVM open webui 直播推流 腾讯云大模型知识引擎 区块链 繁忙 解决办法 替代网站 汇总推荐 AI推理 Ubuntu 24.04.1 轻量级服务器 Xinference RAGFlow can 线程池 状态管理的 UDP 服务器 Arduino RTOS VSCode 飞牛NAS 飞牛OS MacBook Pro 驱动开发 risc-v 自动化任务管理 cnn XCC Lenovo 邮件APP 免费软件 IM即时通讯 剪切板对通 HTML FORMAT virtualbox ssh远程登录 软考 saltstack embedding rsyslog 代理 健康医疗 互联网医院 yum源切换 更换国内yum源 Playwright 自动化测试 visualstudio vmware 卡死 AI 原生集成开发环境 Trae AI 嵌入式实习 LORA SysBench 基准测试 database 宕机切换 服务器宕机 ROS2 像素流送api 像素流送UE4 像素流送卡顿 像素流送并发支持 多个客户端访问 IO多路复用 回显服务器 TCP相关API iphone IO模型 cursor Helm k8s集群 burp suite 抓包 axure 富文本编辑器 mcp服务器 client close hosts 宝塔面板无法访问 开机黑屏 网卡的名称修改 eth0 ens33 jvm Mermaid 可视化图表 李心怡 网络建设与运维 网络搭建 神州数码 神州数码云平台 云平台 copilot SRS 流媒体 直播 数据仓库 kerberos docker部署Python navicat openstack Xen 视频编解码 IMX317 MIPI H265 VCU dash 正则表达式 TCP协议 db neo4j 知识图谱 uni-file-picker 拍摄从相册选择 uni.uploadFile H5上传图片 微信小程序上传图片 浏览器自动化 Attention tidb GLIBC deekseek 常用命令 文本命令 目录命令 python3.11 远程过程调用 Windows环境 Logstash 日志采集 Spring Security es rtsp服务器 rtsp server android rtsp服务 安卓rtsp服务器 移动端rtsp服务 大牛直播SDK 信创 信创终端 中科方德 计算虚拟化 弹性裸金属 DenseNet milvus visual studio 搭建个人相关服务器 wordpress 无法访问wordpess后台 打开网站页面错乱 linux宝塔面板 wordpress更换服务器 MVS 海康威视相机 grub 版本升级 扩容 增强现实 沉浸式体验 应用场景 技术实现 案例分析 AR ISO镜像作为本地源 智能电视 游戏开发 FTP服务器 ubuntu 18.04 显示管理器 lightdm gdm 我的世界服务器搭建 proxy模式 top Linux top top命令详解 top命令重点 top常用参数 虚幻引擎 备份SQL Server数据库 数据库备份 傲梅企业备份网络版 反向代理 性能调优 安全代理 DocFlow 我的世界 我的世界联机 数码 vu大文件秒传跨域报错cors LInux 磁盘镜像 服务器镜像 服务器实时复制 实时文件备份 cd 目录切换 嵌入式Linux IPC 网页服务器 web服务器 Nginx onlyoffice 在线office 大模型应用 磁盘清理 EMUI 回退 降级 升级 minecraft 怎么卸载MySQL MySQL怎么卸载干净 MySQL卸载重新安装教程 MySQL5.7卸载 Linux卸载MySQL8.0 如何卸载MySQL教程 MySQL卸载与安装 7z HTTP 服务器控制 ESP32 DeepSeek ecm bpm dns是什么 如何设置电脑dns dns应该如何设置 react native xss 分布式训练 lua 容器技术 Ubuntu 24 常用命令 Ubuntu 24 Ubuntu vi 异常处理 烟花代码 烟花 元旦 AI agent 机柜 1U 2U 音乐服务器 Navidrome 音流 aarch64 编译安装 HPC 离线部署dify 多端开发 智慧分发 应用生态 鸿蒙OS 欧标 OCPP 音乐库 qt项目 qt项目实战 qt教程 企业网络规划 华为eNSP H3C 国标28181 视频监控 监控接入 语音广播 流程 SIP SDP notepad React Next.js 开源框架 服务器无法访问 ip地址无法访问 无法访问宝塔面板 宝塔面板打不开 对比 工具 meld DiffMerge 服务器安全 网络安全策略 防御服务器攻击 安全威胁和解决方案 程序员博客保护 数据保护 安全最佳实践 云耀服务器 IO 银河麒麟高级服务器 外接硬盘 Kylin PPI String Cytoscape CytoHubba 前后端分离 元服务 应用上架 clickhouse 匿名管道 语法 抗锯齿 tar 项目部署 个人博客 Qwen2.5-VL vllm 热榜 智慧农业 开源鸿蒙 团队开发 软件卸载 系统清理 deployment daemonset statefulset cronjob 阻塞队列 生产者消费者模型 服务器崩坏原因 备选 网站 调用 示例 Linux权限 权限命令 特殊权限 影刀 #影刀RPA# dock 加速 语音识别 g++ g++13 话题通信 服务通信 MDK 嵌入式开发工具 论文笔记 国产数据库 瀚高数据库 数据迁移 下载安装 seleium win服务器架设 windows server 银河麒麟桌面操作系统 Kylin OS CDN MAC SecureCRT glibc 在线预览 xlsx xls文件 在浏览器直接打开解析xls表格 前端实现vue3打开excel 文件地址url或接口文档流二进 EtherNet/IP串口网关 EIP转RS485 EIP转Modbus EtherNet/IP网关协议 EIP转RS485网关 EIP串口服务器 cron crontab日志 llama.cpp pppoe radius K8S k8s管理系统 运维监控 vasp安装 端口聚合 windows11 查询数据库服务IP地址 SQL Server 硅基流动 ChatBox figma 达梦 DM8 UEFI Legacy MBR GPT U盘安装操作系统 flink 人工智能生成内容 大大通 第三代半导体 碳化硅 GoogLeNet Radius java-rocketmq PX4 WebServer MacOS 状态模式 System V共享内存 进程通信 生活 物联网开发 ELF加载 根服务器 软负载 cocoapods 项目部署到linux服务器 项目部署过程 docker desktop image EMQX 通信协议 VS Code junit AD 域管理 端口 查看 ss AI员工 cpp-httplib hexo xshell termius iterm2 读写锁 web3 数据库开发 小智AI服务端 xiaozhi TTS deep learning word maxkb ARG 需求分析 规格说明书 服务器扩容没有扩容成功 服务网格 istio kernel sysctl.conf vm.nr_hugepages frp 内网服务器 内网代理 内网通信 CosyVoice ranger MySQL8.0 fork wait waitpid exit AD域 授时服务 北斗授时 合成模型 扩散模型 图像生成 MAVROS 四旋翼无人机 高效日志打印 串口通信日志 服务器日志 系统状态监控日志 异常记录日志 本地化部署 鸿蒙开发 移动开发 zookeeper 钉钉 nosql 捆绑 链接 谷歌浏览器 youtube google gmail Headless Linux Windows ai工具 wpf ldap 黑苹果 python2 ubuntu24.04 sequoiaDB 抓包工具 qt5 客户端开发 华为机试 架构与原理 prometheus数据采集 prometheus数据模型 prometheus特点 自定义客户端 SAS 相机 eclipse 代理服务器 内网环境 极限编程 浪潮信息 AI服务器 安装MySQL triton 模型分析 perl 卷积神经网络 TrueLicense UDP的API使用 regedit 开机启动 Web服务器 多线程下载工具 PYTHON 做raid 装系统 armbian u-boot IDEA VM搭建win2012 win2012应急响应靶机搭建 攻击者获取服务器权限 上传wakaung病毒 应急响应并溯源 挖矿病毒处置 应急响应综合性靶场 超融合 本地知识库部署 DeepSeek R1 模型 h.264 Reactor反应堆 vue-i18n 国际化多语言 vue2中英文切换详细教程 如何动态加载i18n语言包 把语言json放到服务器调用 前端调用api获取语言配置文件 Linux环境 webgl 远程服务 ftp CVE-2024-7347 Unity Dedicated Server Host Client 无头主机 Python基础 Python教程 Python技巧 Deepseek-R1 私有化部署 推理模型 GameFramework HybridCLR Unity编辑器扩展 自动化工具 性能测试 vscode1.86 1.86版本 ssh远程连接 open Euler dde LLM Web APP Streamlit bat 大模型部署 Claude 玩机技巧 软件分享 软件图标 ArtTS docker部署翻译组件 docker部署deepl docker搭建deepl java对接deepl 翻译组件使用 北亚数据恢复 oracle数据恢复 midjourney Linux 维护模式 单一职责原则 sentinel 网络爬虫 IMM 查看显卡进程 fuser HistoryServer Spark YARN jobhistory 佛山戴尔服务器维修 佛山三水服务器维修 rpa 沙盒 swoole 多路转接 移动魔百盒 USB转串口 无桌面 nvm whistle opengl harmonyOS面试题 电视剧收视率分析与可视化平台 Carla 智能驾驶 技术共享 Linux find grep 问题解决 加解密 Yakit yaklang java-rabbitmq kotlin USB网络共享 僵尸世界大战 游戏服务器搭建 干货分享 黑客工具 密码爆破 deepseek r1 GIS 遥感 WebGIS 执法记录仪 智能安全帽 smarteye 阿里云ECS tailscale derp derper 中转 线性代数 电商平台 samba C++软件实战问题排查经验分享 0xfeeefeee 0xcdcdcdcd 动态库加载失败 程序启动失败 程序运行权限 标准用户权限与管理员权限 浏览器开发 AI浏览器 ebpf uprobe Sealos v10 软件 论文阅读 mm-wiki搭建 linux搭建mm-wiki mm-wiki搭建与使用 mm-wiki使用 mm-wiki详解 Mac软件 粘包问题 网络管理 2024 2024年上半年 下午真题 答案 大屏端 shell脚本免交互 expect linux免交互 NAT转发 NAT Server Unity插件 iventoy VmWare OpenEuler scapy Zoertier 内网组网 css3 搜狗输入法 中文输入法 UDP scikit-learn compose Qualcomm WoS QNN AppBuilder 服务器正确解析请求体 输入系统 联机 僵尸毁灭工程 游戏联机 开服 HP Anyware 跨平台 mysql安装报错 windows拒绝安装 数字证书 签署证书 开源软件 CPU 使用率 系统监控工具 linux 命令 大模型推理 风扇控制软件 镜像下载 oracle fusion oracle中间件 wsgiref Web 服务器网关接口 SVN Server tortoise svn 网易邮箱大师 ardunio BLE HAProxy 接口优化 cmake 图片增强 增强数据 laravel AI Agent 字节智能运维 华为证书 HarmonyOS认证 华为证书考试 视频平台 录像 视频转发 视频流 autodl DevOps 软件交付 数据驱动 解决方案 AzureDataStudio 服务器部署 本地拉取打包 ABAP 内核 CNNs 图像分类 MobaXterm 存储维护 NetApp存储 EMC存储 多产物 Web应用服务器 yum换源 lvm 磁盘挂载 磁盘分区 西门子PLC 通讯 桌面环境 带外管理 流量运营 macOS 蓝牙 动态规划 零售 免密 公钥 私钥 代码规范 stable diffusion zerotier Apache Beam 批流统一 案例展示 数据分区 容错机制 Tabs组件 TabContent TabBar TabsController 导航页签栏 滚动导航栏 NFC 近场通讯 智能门锁 netlink libnl3 es6 qt6.3 g726 deepseek-r1 大模型本地部署 笔灵AI AI工具 ECT转485串口服务器 ECT转Modbus485协议 ECT转Modbus串口服务器 内网渗透 靶机渗透 蓝桥杯C++组 负载测试 js k8s部署 MySQL8.0 高可用集群(1主2从) 错误代码2603 无网络连接 2603 Docker快速入门 csrutil mac恢复模式进入方法 恢复模式 lighttpd安装 Ubuntu配置 Windows安装 服务器优化 显示器 sudo原理 su切换 VMware Tools vmware tools安装 vmwaretools安装步骤 vmwaretools安装失败 vmware tool安装步骤 vm tools安装步骤 vm tools安装后不能拖 vmware tools安装步骤 小智 弹性服务器 iNode Macos ShapeFile GeoJSON 网络文件系统 联网 easyconnect WINCC xfce Pyppeteer Chatbox archlinux kde plasma 进程间通信 EVE-NG yashandb gunicorn 锁屏不生效 ftp服务 文件上传 底层实现 glm4 工具分享 ubuntu安装 linux入门小白 录音麦克风权限判断检测 录音功能 录音文件mp3播放 小程序实现录音及播放功能 RecorderManager 解决录音报错播放没声音问题 vite VPN wireguard 环境搭建 Maven burpsuite 安全工具 mac安全工具 burp安装教程 渗透工具 高效I/O GeneCards OMIM TTD qps 高并发 nohup后台启动 nacos deepseak 豆包 KIMI 腾讯元宝 iTerm2 终端 VGG网络 卷积层 池化层 服务器ssl异常解决 配置原理 ArkTS 移动端开发 文件传输