Skip to main content

mote_link

Python client for talking to Mote robots over the network.

mote_link handles discovery (via mDNS), connection, and message serialization / deserialization.

Installation

pip install mote_link

Add the demo extra (pip install mote_link[demo]) to also install rerun-sdk and pyglet, needed only by the bundled rerun-demo example.

Example

import asyncio

from mote_link import MoteClient, SetDriveBaseVelocity, DriveBaseState


async def main():
    async with MoteClient() as mote:
        # Opens an interactive prompt if the robot's IP or UID isn't known.
        await mote.connect()

        # Drive both wheels forward.
        await mote.send(SetDriveBaseVelocity(left_velocity_rad_per_s=1.0, right_velocity_rad_per_s=1.0))

        # Read messages from the robot.
        message = await mote.recv()
        if isinstance(message, DriveBaseState):
            print(f"left: {message.left}, right: {message.right}")


asyncio.run(main())

Documentation

See the Mote documentation for hardware setup, configuration, and the full API reference.

Metadata

Release files for mote-link 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mote-link 0.2.0
File Size Uploaded Provenance Actions
mote_link-0.2.0.tar.gz 204.1 kB Without provenance Details for mote_link-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mote-link 0.2.0
File Actions
mote_link-0.2.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for mote_link-0.2.0-cp38-abi3-win_amd64.whl
mote_link-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for mote_link-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mote_link-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details for mote_link-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
mote_link-0.2.0-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for mote_link-0.2.0-cp38-abi3-macosx_11_0_arm64.whl
mote_link-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details for mote_link-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl

Total release size: 1.8 MB

Security for mote-link 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page