mc_core

Module feetech

Source

Structs§

Enums§

Functions§

  • Find all Feetech URT1 servo serial busses. This function uses /sys/bus/usb/devices to find the USB devices, and then derive the corresponding /dev/ttyUSB* port.
  • Decode Feetech current register value to current in amperes.
  • Decode Feetech load register value to load fraction (0..1).
  • Decode Feetech offset register value to offset in radians.
  • Decode Feetech position register value to position in radians.
  • Decode Feetech speed register value to speed in radians per second.
  • Decode Feetech temperature register value to temperature in degrees Celsius.
  • Decode Feetech voltage register value to voltage in volts.
  • Encode acceleration to Feetech acceleration register value.
  • Encode load fraction (0..1) to Feetech load register value.
  • Encode offset to Feetech offset register value.
  • Encode position to Feetech position register value. Note that we always shift the position by 2048 to encode the range as -pi..pi, rather than 0..2pi.
  • Encode speed to Feetech speed register value.
  • Encode temperature to Feetech temperature register value.
  • Encode voltage to Feetech voltage register value.