Breadcrumbs

get_cockpit()

Features

Returns the cockpit information of the current safety setup parameters.

Return

Value

Data Types

Description

ret

class.config_cockpit

About cockpit settings

Class

class.config_cockpit

Field

Data Types

Description

obj

list

Object information for that class

enable

int

0 : Disable

1 : Enable

button

int[2]

0 : Direct Instruction

1 : TCP-Z

2 : TCP-XY

3 : Orietation Only

4 : Position Only

recovery_teach

int

0 : Disable

1 : Enable

Example

Python
ret = get_cockpit()
print(ret.button) ## list of button state