ip address localhost
This commit is contained in:
parent
048a0ea447
commit
c3012cd7a4
@ -17,10 +17,10 @@ def handle_thermal_controller_hk_data(
|
||||
pw.dlog("Received Sensor Temperature data")
|
||||
|
||||
# get all the floats
|
||||
tm_data = struct.unpack("!ffffffffffffffff", hk_data[: 16 * 4])
|
||||
tm_data = struct.unpack("!ffffffffffffffff", hk_data[: 18 * 4])
|
||||
parsed_data = {}
|
||||
|
||||
# put them into an nice dictionary
|
||||
# put them into a nice dictionary
|
||||
parsed_data["SENSOR_PLOC_HEATSPREADER"] = tm_data[0]
|
||||
parsed_data["SENSOR_PLOC_MISSIONBOARD"] = tm_data[1]
|
||||
parsed_data["SENSOR_4K_CAMERA"] = tm_data[2]
|
||||
@ -37,5 +37,7 @@ def handle_thermal_controller_hk_data(
|
||||
parsed_data["SENSOR_PLPCDU_HEATSPREADER"] = tm_data[13]
|
||||
parsed_data["SENSOR_TCS_BOARD"] = tm_data[14]
|
||||
parsed_data["SENSOR_MAGNETTORQUER"] = tm_data[15]
|
||||
parsed_data["TMP1075 1"] = tm_data[16]
|
||||
parsed_data["TMP1075 2"] = tm_data[17]
|
||||
|
||||
TM_TCP_SERVER.report_parsed_hk_data(object_id, set_id, parsed_data)
|
||||
|
@ -8,7 +8,7 @@ from tmtccmd.utility.obj_id import ObjectId
|
||||
from dle_encoder import DleEncoder
|
||||
|
||||
# TODO add to configuration parameters
|
||||
SERVER_HOST = ""
|
||||
SERVER_HOST = "localhost"
|
||||
SERVER_PORT = 7305
|
||||
|
||||
LOGGER = get_console_logger()
|
||||
|
Loading…
Reference in New Issue
Block a user