temas.Common
- class Common(port=8083, ip_address='')[source]
Bases:
objectThis class included the common settings of Temas
Methods
__init__([port, ip_address])Initial values of class Common
Get firmware version of Temas
Get hostname of Temas
get_ip()Get ip address of Temas
Get the x value los of Laser in pixels relative to the visual frame.
Get the y value los of Laser in pixels relative to the visual frame.
get_mac()Get the mac address of Temas
Get port of Temas visual camera
Get port of Temas common settings
Get port of control device
Get port of Temas tof camera
get_sn()Get serial number of Temas
Read Temperature of Temas
tof near mode off
tof near mode on
restart()Restart Temas
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_fw_version()[source]
Get firmware version of Temas
- Returns:
Firmware version is returned
- Return type:
String
- 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