fkie_mas_pylib: Jazzy
  • Links
    • Rosindex
    • Website
  • Python API
    • fkie_mas_pylib package
      • Subpackages
        • fkie_mas_pylib.interface package
        • fkie_mas_pylib.launch package
        • fkie_mas_pylib.logging package
        • fkie_mas_pylib.parameters package
        • fkie_mas_pylib.service package
        • fkie_mas_pylib.system package
        • fkie_mas_pylib.tests package
        • fkie_mas_pylib.websocket package
      • Submodules
        • fkie_mas_pylib.defines module
        • fkie_mas_pylib.formats module
        • fkie_mas_pylib.names module
        • fkie_mas_pylib.ros_pkg module
        • fkie_mas_pylib.settings module
      • Module contents
  • Standard Documents
    • PACKAGE
    • CHANGELOG
      • Changelog for package fkie_mas_pylib
        • 5.0.0 (05.12.2025)
        • 4.6.0 (24.11.2025)
        • 4.5.0 (11.11.2025)
        • 4.4.2 (10.09.2025)
        • 4.4.1 (28.05.2025)
        • 4.4.0 (23.05.2025)
        • 4.3.0 (02.05.2025)
        • 4.2.2 (23.04.2025)
        • 4.2.1 (28.02.2025)
        • 4.2.0 (30.01.2025)
        • 4.1.1 (24.01.2025)
        • 4.1.0 (23.01.2025)
        • 4.0.0 (21.01.2025)
        • 3.2.0 (12.01.2025)
        • 3.1.0 (09.01.2025)
        • 3.0.0 (2024-07-05)
        • 2.0.0 (2024-01-24)
  • ROS Package Dependencies
    • rclpy
  • Index
fkie_mas_pylib: Jazzy
  • fkie_mas_pylib
  • fkie_mas_pylib package
  • fkie_mas_pylib.websocket package
  • View page source

fkie_mas_pylib.websocket package

Submodules

  • fkie_mas_pylib.websocket.client module
    • WebSocketClient
      • WebSocketClient.handle_callback()
      • WebSocketClient.publish()
      • WebSocketClient.recv_handler()
      • WebSocketClient.register()
      • WebSocketClient.shutdown()
      • WebSocketClient.subscribe()
  • fkie_mas_pylib.websocket.handler module
    • RemoteCallInfo
    • WebSocketHandler
      • WebSocketHandler.handle_callback()
      • WebSocketHandler.publish()
      • WebSocketHandler.remote_call()
      • WebSocketHandler.shutdown()
      • WebSocketHandler.spin()
  • fkie_mas_pylib.websocket.queue module
    • Full
    • PQueue
      • PQueue.clear()
      • PQueue.get()
      • PQueue.put()
      • PQueue.size()
    • QueueItem
  • fkie_mas_pylib.websocket.server module
    • WebSocketServer
      • WebSocketServer.count_clients()
      • WebSocketServer.get_callback()
      • WebSocketServer.publish()
      • WebSocketServer.register()
      • WebSocketServer.register_rpc()
      • WebSocketServer.shutdown()
      • WebSocketServer.spin()
      • WebSocketServer.start_threaded()
      • WebSocketServer.subscribe()
      • WebSocketServer.unregister_rpc()
      • WebSocketServer.ws_handler()

Module contents

fkie_mas_pylib.websocket.ws_port() → int

Depending on the ROS version, different ports are used for the websocket server. The ROS_DOMAIN_ID is also added for ROS1 and ROS2.

fkie_mas_pylib.websocket.ws_port_from(mcast_port, ros_master_uri) → int

Depending on the ROS version, different ports are used for the websocket server. The ROS_DOMAIN_ID is also added for ROS2.

Previous Next

© Copyright The <fkie_mas_pylib> Contributors. License: MIT.

Built with Sphinx using a theme provided by Read the Docs.