MotionController

class ingeniamotion.MotionController

Bases: object

Motion Controller.

servo_name(servo='default')

Get the servo name.

Parameters:

servo (str) – servo alias to reference it. default by default.

Return type:

str

Returns:

The servo name.

get_register_enum(register, servo='default', axis=1)

Get a register enum.

Parameters:
  • register (str) – The register UID.

  • servo (str) – servo alias to reference it. default by default.

  • axis (int) – axis force read errors in target axis. None by default.

Return type:

IntEnum

Returns:

The register enum as an IntEnum.

is_alive(servo='default')

Check if the servo is alive.

Parameters:

servo (str) – servo alias to reference it. default by default.

Return type:

bool

Returns:

True if the servo is alive, False otherwise.

property servos: dict[str, Servo]

Dict of ingenialink.Servo connected indexed by alias.

Return type:

dict[str, Servo]

property net: dict[str, Network]

Dict of ingenialink.Network connected indexed by alias.

Return type:

dict[str, Network]

property servo_net: dict[str, str]

Get the servo network dictionary.

Return type:

dict[str, str]

Returns:

The servo network dictionary.

property configuration: Configuration

Instance of Configuration class.

Return type:

Configuration

property motion: Motion

Instance of Motion class.

Return type:

Motion

property capture: Capture

Instance of Capture class.

Return type:

Capture

property communication: Communication

Instance of Communication class.

Return type:

Communication

property tests: DriveTests

Instance of DriveTests class.

Return type:

DriveTests

property errors: Errors

Instance of Errors class.

Return type:

Errors

property info: Information

Instance of Information class.

Return type:

Information

property fsoe: FSoEMaster

Instance of FSoEMaster class.

Return type:

FSoEMaster

property fsoe_is_installed: bool

Indicates if the FSoE Module is available.

Return type:

bool

property io: InputsOutputs

Instance of InputsOutputs class.

Return type:

InputsOutputs