Skip to main content

A Python library for processing sensor data on Dexmate Robots

Project description

Dexsensor

A unified sensor management system for Dexmate robots. Dexsensor provides automatic robot detection and configuration for cameras, IMU, LiDAR, and other sensors through an easy-to-use command line interface.

License Python

Features

  • Automatic Robot Detection: Detects robot model and loads appropriate sensor configuration
  • Multiple Robot Variants: Support for different robot models with optimized sensor configurations
  • Unified Sensor Management: Consistent interface for cameras, IMU, LiDAR, and other sensors
  • Real-time Communication: High-performance sensor data streaming
  • Flexible Configuration: Easy configuration management with YAML files
  • Command Line Interface: Simple CLI for sensor control and configuration

Installation

DexSensor is distributed as a pre-built package for Dexmate robot systems.

# Install DexSensor package
pip install dexsensor

# Verify installation
dexsensor --help

Quick Start

Automatic Robot Detection

Set your robot model and launch sensors:

# Launch sensors with automatic detection
dexsensor launch

Manual Robot Selection

# Launch specific sensors only
dexsensor launch --sensor head_camera base_front_camera

# Override configuration values
dexsensor launch --set head_camera.fps=60 lidar.enable=true

Command Line Interface

Launch Sensors

# Basic usage
dexsensor launch


# Launch specific sensors
dexsensor launch --sensor head_camera lidar

# Launch all sensors (enables all sensors regardless of default config)
dexsensor launch --sensor all

# Launch all base cameras (base_left, base_right, base_front, base_back)
dexsensor launch --sensor base_camera

# Override configuration
dexsensor launch --set head_camera.fps=60 lidar.enable=true

# Use custom configuration file
dexsensor launch --config /path/to/config.yaml

# Combine options
dexsensor launch --set head_camera.fps=30 --sensor head_camera

Configuration Management

# Generate configuration template
dexsensor gen-cfg


# Save to custom location
dexsensor gen-cfg --output /path/to/config.yaml

Command Options

Option Description Example
--robot Specify robot variant --robot vega-1
--sensor Launch specific sensors, "all", or "base_camera" --sensor head_camera lidar, --sensor all, or --sensor base_camera
--config Use custom config file --config config.yaml
--set Override config values --set head_camera.fps=60
--zenoh Custom Zenoh config --zenoh zenoh.json5

Configuration

Configuration Files

DexSensor uses YAML configuration files with the following precedence:

  1. Command line overrides (--set key=value)
  2. Custom configuration files (--config file.yaml)
  3. Default configuration file (~/.dexmate/sensors/default_config.yaml)
  4. Robot variant defaults (based on detected/specified robot model)

Configuration Example

head_camera:
  enable: true
  fps: 30
  resolution: HD1080
  depth_mode: NEURAL

base_front_camera:
  enable: true
  width: 640
  height: 480
  fps: 30
  format: MJPG

lidar:
  enable: false
  ip_address: "192.168.50.41"
  udp_port: 8089

base_imu:
  enable: true

head_imu:
  enable: true

Licensing

This project is dual-licensed:

Open Source License

This software is available under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details.

Commercial License

For businesses that want to use this software in proprietary applications without the AGPL requirements, commercial licenses are available. Contact us for commercial licensing: contact@dexmate.ai

Commercial licenses provide:

  • Right to use in closed-source applications
  • No source code disclosure requirements
  • Priority support options

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dexsensor-0.1.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dexsensor-0.1.12-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dexsensor-0.1.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dexsensor-0.1.12-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dexsensor-0.1.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dexsensor-0.1.12-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dexsensor-0.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dexsensor-0.1.12-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

File details

Details for the file dexsensor-0.1.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c70329750bde1beed22591693cd650cb60e275eac89a90449b4abf866b236362
MD5 a0c21b583e7005470d10ffa7ed07b234
BLAKE2b-256 2e21fc5dcf460f8233c8db630a19af8d7488d773849b027f1743e45c4d00d17c

See more details on using hashes here.

File details

Details for the file dexsensor-0.1.12-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.12-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fe9449f47a3509549d5776b61e11084e1fd80c26f02d6f563eed20e4e31b8275
MD5 d1a6c39225eaef4520686112a6209d09
BLAKE2b-256 c381a055df30762771fc5056527efbe4b34399548e9418d2c9894af849209be9

See more details on using hashes here.

File details

Details for the file dexsensor-0.1.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0fb2bc820524ed35da0026341b7452c81da3ad71fafce7ed7c463c2d9d6bfc36
MD5 9c8cfe6ce0c55923e3e5893d2c43b618
BLAKE2b-256 e72f2f118d23bc4433322ffb7481e584e35375680926c91bd81bbee0f89e6475

See more details on using hashes here.

File details

Details for the file dexsensor-0.1.12-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.12-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c5ef3f51430f3107072c706a849eff49f726f02b0cdf0799e6917d3d2390bca7
MD5 4ae4b21a8b5fe1746ddc0c3992324882
BLAKE2b-256 7031666990ec8606e197648147c1a823b8d7c25257d5ef805921d51594301173

See more details on using hashes here.

File details

Details for the file dexsensor-0.1.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cf64a9756490224d5ebc50a8c1e6d7148424a115a1fe7a78aa8d5e3ae0ffa20f
MD5 35bd82564b8eb55bd55538f2c235aa4b
BLAKE2b-256 d4ea0674fb3331a84956e850ab6fcb7d4008702846c87cc4cfded690ef02cdfb

See more details on using hashes here.

File details

Details for the file dexsensor-0.1.12-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.12-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1d76fa3d4bdc0ef81958c26fb97beb96d00a4970071fbd55440cf3fd6a65a33e
MD5 80db374528643e2448ba9e9d87a0169f
BLAKE2b-256 cff7365ea93df40b4903bff5c59c235bcffe585ab23fc0925096bbc9af932a1a

See more details on using hashes here.

File details

Details for the file dexsensor-0.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a5199c17d2ec3c3e512f1bc2cffa1bac5920036acbed22cc25bd7aae58fa7467
MD5 95c7f8f28c5cec3d9df6a8b05eb1289b
BLAKE2b-256 30e2fef13e08e6803ff0f9f8766a8afc3df0b8dfeae60af7ad1b1606300886ed

See more details on using hashes here.

File details

Details for the file dexsensor-0.1.12-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.12-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b598a70020e6701db7ec8b3356dcc80d84abd8fd8e3e92895b4ecd851f030461
MD5 1b9cd7a14fbb1d98da73feffb66ab544
BLAKE2b-256 5b40df58fef7d37f5f765a7036ec7c1bd46f43687615a0ab24f60ba53b5a7d47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page