This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- place in ~/.config/wireshark/plugins/ | |
local p_xrce_dds = Proto("xrce-dds", "XRCE-DDS"); | |
local p_xrce_dds_header = Proto("xrce-dds-header", "Header"); | |
local p_xrce_dds_submessage = Proto("xrce-dds-submessage", "Submessage"); | |
local f_sessionId = ProtoField.uint8("xrce-dds.sessionId", "sessionId", base.HEX) | |
local f_streamId = ProtoField.uint8("xrce-dds.streamId", "streamId", base.HEX) | |
local f_sequenceNr = ProtoField.uint16("xrce-dds.sequenceNr", "sequenceNr", base.DEC) | |
local f_clientKey = ProtoField.uint32("xrce-dds.clientKey", "clientKey", base.HEX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from threading import Event | |
from example_interfaces.srv import AddTwoInts | |
import rclpy | |
from rclpy.node import Node | |
from rclpy.callback_groups import ReentrantCallbackGroup | |
from rclpy.executors import MultiThreadedExecutor, SingleThreadedExecutor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import threading | |
from flask import Flask | |
from websocket_server import WebsocketServer | |
import logging | |
import time | |
app = Flask(__name__) |