Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Version Information

Read version information for the L6 dexterous hand.

Overview

Use hand.version to access version-related functionality:

  • Read complete device information, including serial number and PCB / firmware / mechanical versions

Read Device Information

hand.version.get_device_info() -> DeviceInfo

Returns a DeviceInfo object containing:

FieldTypeDescription
serial_numberstrDevice serial number
pcb_versionVersionPCB hardware version
firmware_versionVersionFirmware version
mechanical_versionVersionMechanical version
timestampfloatRetrieval time (Unix time)

The Version object has major, minor, and patch fields, and its string format is V{major}.{minor}.{patch}.

Exception:

  • TimeoutError: Request timed out

Example

Read Device Information

from realhand import L6

hand = L6(channel="can0", hand_id=1)

info = hand.version.get_device_info()
print(f"Serial number: {info.serial_number}")
print(f"Firmware version: {info.firmware_version}")

hand.close()