Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
sense-core documentation
sense-core documentation

📘 Introduction

  • Sense Core (s6)
  • System Architecture Overview
  • GUI Architecture & Interaction
  • command_queue Control Channel
  • Pipeline Configuration
  • Dataset Storage and R2 Utilities
  • Legacy Streamer Retirement (TCP/HTTP)
  • Applications (s6 CLI)
    • camera_preview
    • cog/keypoint — Keypoint Training, Preview, And ONNX Export
    • Train explicitly with bf16 autocast on CUDA
    • Train for 50 epochs and export the checkpoint from that same run to the
    • auto-generated assets/models/_… path
    • Export a fixed batch-2 ONNX model from the latest saved checkpoint
    • Override the output path explicitly when needed
    • data/collect — Retired
    • data/filter — Interactive dataset browser and filter
    • dataset — Manage datasets (local and R2)
    • id — Retired
    • perf-stats — Compare profiling runs
    • Placeholder
    • robotic/remote-control — Qt GUI for remote control
    • robotic/server — Robotics REST API server
    • Blender Simulation Renderer (s6 sim render)
    • stream — Retired
    • test — Run the project’s unit tests
    • track — Run the tracking stack
    • uplink — Push mock telemetry into a visualizer
  • Recipes
    • Recipe: Dataset Capture + Dev Loop
    • Recipe: Model Refine
    • Recipe: Pipeline Chrome Trace
  • s6.app
    • s6.app.pipeline
      • s6.app.pipeline.base
      • s6.app.pipeline.t1
      • s6.app.pipeline.v1
      • s6.app.pipeline.v2
    • s6.app.r2
      • s6.app.r2._common
      • s6.app.r2.delete
      • s6.app.r2.download
      • s6.app.r2.list
      • s6.app.r2.test
      • s6.app.r2.upload
    • s6.app.robotic
      • s6.app.robotic.control
      • s6.app.robotic.server
    • s6.app.sim
      • s6.app.sim.calib
      • s6.app.sim.install_package
      • s6.app.sim.render
      • s6.app.sim.render_animation
    • s6.app._common
    • s6.app._contextgenerators
    • s6.app._gui
    • s6.app._pipeline
    • s6.app._preview
    • s6.app._vispy
    • s6.app.camera_preview
    • s6.app.dataset
    • s6.app.ds
    • s6.app.id
    • s6.app.keypoint_runtime
    • s6.app.main
    • s6.app.monitor
    • s6.app.replay
    • s6.app.test
    • s6.app.track
    • s6.app.uplink
  • s6.app.data
    • s6.app.data.collect
    • s6.app.data.convert
    • s6.app.data.filter
    • s6.app.data.instrument_render_v3
    • s6.app.data.render
    • s6.app.data.visualize
  • s6.app.cog
    • s6.app.cog.augmented_dataset
    • s6.app.cog.benchmark
    • s6.app.cog.dataloader
    • s6.app.cog.keypoint
    • s6.app.cog.trt_runtime_experiment
    • s6.app.cog.yolo
  • s6.vision
    • s6.vision.camera
    • s6.vision.detectors
    • s6.vision.drawing
    • s6.vision.preprocess
    • s6.vision.solver
    • s6.vision.tracking
    • s6.vision.trajectory
  • s6.schema
    • s6.schema.calibration
    • s6.schema.connection
    • s6.schema.data
    • s6.schema.gstreamer
    • s6.schema.pipeline_config
    • s6.schema.pipeline_settings
    • s6.schema.platform
    • s6.schema.primitives
    • s6.schema.robotic
    • s6.schema.trace
  • s6.robotic
    • s6.robotic.client
    • s6.robotic.service
    • s6.robotic.stepper
  • s6.rendering
    • s6.rendering.visuals
  • s6.nn
    • s6.nn.data
      • s6.nn.data.aug
      • s6.nn.data.augmentation
      • s6.nn.data.dataset
    • s6.nn.ops
      • s6.nn.ops.layers
    • s6.nn.keypoint_detector_v2
    • s6.nn.keypoints
    • s6.nn.runtime
    • s6.nn.trt_runtime
    • s6.nn.utils
  • s6.utils
    • s6.utils.blender
    • s6.utils.bounding_box_selector
    • s6.utils.calibration
    • s6.utils.camera_capture
    • s6.utils.camera_identifier
    • s6.utils.camera_identifier_aruco
    • s6.utils.camera_identifier_bottom
    • s6.utils.camera_identifier_interface
    • s6.utils.cleartext
    • s6.utils.datapipe
    • s6.utils.devices
    • s6.utils.filters
    • s6.utils.infra
    • s6.utils.logging_utils
    • s6.utils.os
    • s6.utils.path_patterns
    • s6.utils.paths
    • s6.utils.profiler
    • s6.utils.r2
    • s6.utils.stage_decorator
    • s6.utils.sync_controller
    • s6.utils.tensor_registry
    • s6.utils.waypoint_utils
  • Docstring Style Guide (for Sphinx Autodoc)
Back to top
View this page

s6.app.uplink¶

Push mock telemetry snapshots into a visualizer uplink WebSocket.

This command opens a client WebSocket connection to a visualizer uplink endpoint and continuously publishes a synthetic telemetry payload. The payload matches the visualizer’s default binding paths so it can drive the instrument tip and marker immediately.

s6.app.uplink.parse_args(argv: list[str] | None = None) → Namespace

Parse command-line arguments for the mock uplink publisher.

Parameters:

argv (list of str, optional) – Explicit argument vector for tests or embedding.

Returns:

Parsed command-line options.

Return type:

argparse.Namespace

s6.app.uplink.build_mock_payload(timestamp_s: float, radius: float = 0.02, marker_offset: float = 0.01) → dict[str, Any]

Build a visualizer-compatible mock telemetry snapshot.

Parameters:
  • timestamp_s (float) – Monotonic timestamp in seconds used to vary the vector.

  • radius (float, optional) – Radius of the synthetic motion in solver units.

  • marker_offset (float, optional) – X-axis offset between the tip and marker vectors.

Returns:

Telemetry payload matching the visualizer’s default binding paths.

Return type:

dict of str to Any

async s6.app.uplink.publish_mock_telemetry(args: Namespace) → int

Connect to the uplink endpoint and publish synthetic snapshots.

Parameters:

args (argparse.Namespace) – Parsed command-line arguments.

Returns:

Process-style status code.

Return type:

int

s6.app.uplink.main(argv: list[str] | None = None) → int

Run the mock telemetry uplink publisher.

Parameters:

argv (list of str, optional) – Explicit argument vector for tests or embedding.

Returns:

Process-style exit code.

Return type:

int

Next
s6.app.data
Previous
s6.app.track
Copyright © 2025, vicky
Made with Sphinx and @pradyunsg's Furo