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.13-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.13-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.13-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.13-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.13-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.13-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.13-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.13-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.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dexsensor-0.1.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d7ea7a6f4c3d73cbf890e799e820f821c4a089a064c2d1750791f656c9d27513
MD5 bb0a93c10fd125cc16b719bc30d0d358
BLAKE2b-256 25faaadebac7d2f75efa7340a3af126048aa309256d6330c2e353998a6fcf183

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dexsensor-0.1.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d7d820bd41919e0ca462398c3eed97949d588eb11da3fb7187a4bb446f5585a6
MD5 7723516633aa0dbbde6f53303c91c55a
BLAKE2b-256 46b12e21c9d9a1a68f0c7864647aab2e3581be28268eee64d4590bdfd35545ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dexsensor-0.1.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6de5431b882a8b53caaa275e1082ec01f3e96220724373d9fb5ab0204e189545
MD5 2adae37552416a95c4977f49b7094065
BLAKE2b-256 74c380c591ba524dc53e58bc213508c1b3edb49c7183ad84f971f44f884e4b59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dexsensor-0.1.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1da58d4b10309c6684eb9385bb4b61dd5d4fe66a7e539944e1757e5d6970286e
MD5 1e008230107959cb88aad9ae550483d3
BLAKE2b-256 baef42c412896a47df5b7899b37868d70289993e27cf6fe1ee1dc97b0636dbd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dexsensor-0.1.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49b0e213a1f334db6bf120030671e6ebe32a7456c5420ab991133a6722e5e760
MD5 776ba612858187eaa2e8adc163266bff
BLAKE2b-256 98574bcebd7896b108b96a2df80e2108fc540de3f62e68030cad149df9229817

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dexsensor-0.1.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8c2c8d3007d7dadd027ce5c3a866cdd50505cc65a25fa0d2ff95942ad606fa63
MD5 48de6aa4eada05632334649ca3b0f41c
BLAKE2b-256 50b99a2f18683c17de6e8eecac56bacd1109a79239be4e0c1770589835dc8a25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dexsensor-0.1.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84247ccf9ff67bc8d48301b3059ae0a30e01040726ff022dadb7b6eb9be28a88
MD5 63d1b7de84212b91c2f9a2de6603fd15
BLAKE2b-256 5923028c4072a92663cfe5f355503457a1ef9115ea76a31e02adf883c9d06274

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dexsensor-0.1.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f8a6a390dae878ec3be89234da73c1a377ee65a28a7455fefa1aff91dcd114b3
MD5 0317ef5a6397649f4f98f164fa8fe68b
BLAKE2b-256 275710a64654d0f33d3a2a18ecce2b26b5ec7815b8d6b20d11572b938226319b

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