BB.Error.Invalid.Bridge.TorqueMustBeDisabled exception (bb_servo_feetech v0.2.3)

Copy Markdown View Source

Parameter modification requires torque to be disabled.

EEPROM parameters in Feetech servos can only be modified when torque is disabled. Disable torque before modifying this parameter.

Summary

Types

t()

@type t() :: %BB.Error.Invalid.Bridge.TorqueMustBeDisabled{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  param_name: atom(),
  path: term(),
  servo_id: non_neg_integer() | nil,
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %BB.Error.Invalid.Bridge.TorqueMustBeDisabled{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  param_name: term(),
  path: term(),
  servo_id: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.BB.Error.Invalid.Bridge.TorqueMustBeDisabled without raising it.

Keys

  • :param_name
  • :servo_id