temas.Common

class Common(port=8083, ip_address='')[source]

Bases: object

This class included the common settings of Temas

__init__(port=8083, ip_address='')[source]

Initial values of class Common

Methods

__init__([port, ip_address])

Initial values of class Common

get_fw_version()

Get firmware version of Temas

get_hostname()

Get hostname of Temas

get_ip()

Get ip address of Temas

get_laser_x_los()

Get the x value los of Laser in pixels relative to the visual frame.

get_laser_y_los()

Get the y value los of Laser in pixels relative to the visual frame.

get_mac()

Get the mac address of Temas

get_port_camera()

Get port of Temas visual camera

get_port_common()

Get port of Temas common settings

get_port_control()

Get port of control device

get_port_tof_camera()

Get port of Temas tof camera

get_sn()

Get serial number of Temas

get_temperature()

Read Temperature of Temas

near_mode_off()

tof near mode off

near_mode_on()

tof near mode on

restart()

Restart Temas

set_direct_static_ip(ip)

static ip /24 without dhcp :param ip: IP address

set_hostname(hostname)

Set hostname of Temas

set_static_ip(ip, gateway, dns)

static ip /24 dhcp :param ip: IP address :param gateway: Default gateway for the network :param dns: DNS server address

shutdown()

Shutdown Temas

shutdown()[source]

Shutdown Temas

Returns:

Status message indicating if the shutdown was successful. Returns True if successful.

Return type:

String

restart()[source]

Restart Temas

Returns:

Status message indicating if the restart was successful. Returns True if successful.

Return type:

String

get_temperature()[source]

Read Temperature of Temas

Returns:

Temperature Temas [°C]

Return type:

String

get_ip()[source]

Get ip address of Temas

Returns:

Ip address

Return type:

String

get_sn()[source]

Get serial number of Temas

Returns:

Serial number is returned

Return type:

String

get_fw_version()[source]

Get firmware version of Temas

Returns:

Firmware version is returned

Return type:

String

get_hostname()[source]

Get hostname of Temas

Returns:

Hostname is returned

Return type:

String

set_hostname(hostname)[source]

Set hostname of Temas

get_port_camera()[source]

Get port of Temas visual camera

Returns:

Port from visual camera

Return type:

String

get_port_tof_camera()[source]

Get port of Temas tof camera

Returns:

Port from tof camera

Return type:

String

get_port_common()[source]

Get port of Temas common settings

Returns:

Port from Temas common settings

Return type:

String

get_port_control()[source]

Get port of control device

Returns:

Port from control device

Return type:

String

get_mac()[source]

Get the mac address of Temas

Returns:

Returns the mac address

Return type:

String

get_laser_x_los()[source]

Get the x value los of Laser in pixels relative to the visual frame.

Returns:

Returns the x value los (px)

Return type:

String

get_laser_y_los()[source]

Get the y value los of Laser in pixels relative to the visual frame.

Returns:

Returns the y value los

Return type:

String

set_static_ip(ip, gateway, dns)[source]

static ip /24 dhcp :param ip: IP address :param gateway: Default gateway for the network :param dns: DNS server address

set_direct_static_ip(ip)[source]

static ip /24 without dhcp :param ip: IP address

near_mode_on()[source]

tof near mode on

near_mode_off()[source]

tof near mode off