nimo.input_tools package

nimo.input_tools.preparation_input_standard module

class nimo.input_tools.preparation_input_standard.Standard(input_file, input_folder)

Bases: object

Class of Standard

This class can create input file for robot experiments and start the robot experiments.

load_data(input_file)

Loading proposals

This function do not depend on robot.

Parameters:

input_file (str) – the file for proposals from AI algorithm

Returns:

True for success, False otherwise. p_List (list[float]): the list of proposals

Return type:

res (bool)

make_machine_file(p_List, inputFolder)

Making input files for robot

This function DEPEND on robot.

Parameters:
  • p_List (list[float]) – the list of proposals

  • inputFolder (str) – the folder where the input files for robot are stored

Returns:

True for success, False otherwise.

Return type:

res (bool)

perform()

perfroming preparation input and starting robot experiments

This function do not depend on robot.

Returns:

True for success, False otherwise.

Return type:

res (str)

send_message_machine(inputFolder)

Sending a message to start the robot

This function DEPEND on robot.

Parameters:

inputFolder (str) – the folder where the input files for robot are stored

Returns:

True for success, False otherwise.

Return type:

res (bool)

nimo.input_tools.preparation_input_naree module

class nimo.input_tools.preparation_input_naree.NAREE(input_file, input_folder)

Bases: object

Class of NAREE

This class can create input file for robot experiments and start the robot experiments.

fileendCheck(inputFolder)

Sending a message to start the robot

This function DEPEND on robot.

Parameters:

inputFolder (str) – the folder where the inputend file is stored

Returns:

True for success, False otherwise.

Return type:

res (bool)

load_data(input_file)

Loading proposals

This function do not depend on robot.

Parameters:

input_file (str) – the file for proposals from MI algorithm

Returns:

True for success, False otherwise. p_List (list[float]): the list of proposals

Return type:

res (bool)

make_machine_file(p_List, inputFolder)

Making input files for robot

This function DEPEND on robot.

Parameters:
  • p_List (list[float]) – the list of proposals

  • inputFolder (str) – the folder where the input files for robot are stored

Returns:

True for success, False otherwise.

Return type:

res (bool)

perform()

perfroming preparation input and starting robot experiments

This function do not depend on robot.

Returns:

True for success, False otherwise.

Return type:

res (str)

send_message_machine()

Sending a message to start the robot

This function DEPEND on robot.

Returns:

True for success, False otherwise.

Return type:

res (bool)