Spaces:
No application file
No application file
| # Query: move_equipment_to_location | |
| { | |
| "instruction_function": { | |
| "name": "move_equipment_to_location", | |
| "parameters": { | |
| "equipment_ids": ["excavator1", "truck1"], | |
| "location": "soil_pile" | |
| }, | |
| "start_flag": "start_move_equipment", | |
| "stop_flag": "end_move_equipment", | |
| "dependencies": [], | |
| "parallel_flag": false | |
| } | |
| } | |
| # done | |
| # Query: start_digging_at_location | |
| { | |
| "instruction_function": { | |
| "name": "Excavation", | |
| "parameters": { | |
| "location": "soil_pile" | |
| }, | |
| "start_flag": "start_digging", | |
| "stop_flag": "end_digging", | |
| "dependencies": ["end_move_equipment"], | |
| "parallel_flag": true | |
| } | |
| } | |
| # done | |
| # Query: load_soil_into_truck | |
| { | |
| "instruction_function": { | |
| "name": "DumpLoading", | |
| "parameters": { | |
| "truck_id": "truck1", | |
| "location": "soil_pile" | |
| }, | |
| "start_flag": "start_loading_soil", | |
| "stop_flag": "end_loading_soil", | |
| "dependencies": ["start_digging"], | |
| "parallel_flag": true | |
| } | |
| } | |
| # done | |
| # Query: transport_soil | |
| { | |
| "instruction_function": { | |
| "name": "transport_soil", | |
| "parameters": { | |
| "truck_id": "truck1", | |
| "from_location": "soil_pile", | |
| "to_location": "pit" | |
| }, | |
| "start_flag": "start_transporting_soil", | |
| "stop_flag": "end_transporting_soil", | |
| "dependencies": ["start_loading_soil"], | |
| "parallel_flag": true | |
| } | |
| } | |
| # done | |
| # Query: unload_soil_at_location | |
| { | |
| "instruction_function": { | |
| "name": "DumpUnloading", | |
| "parameters": { | |
| "truck_id": "truck1", | |
| "location": "pit" | |
| }, | |
| "start_flag": "start_unloading_soil", | |
| "stop_flag": "end_unloading_soil", | |
| "dependencies": ["end_transporting_soil"], | |
| "parallel_flag": false | |
| } | |
| } | |
| # done | |
| # Query: return_truck_to_location | |
| { | |
| "instruction_function": { | |
| "name": "return_to_start_for_specific_robots", | |
| "parameters": { | |
| "robot_ids": ["truck1"], | |
| "location": "soil_pile" | |
| }, | |
| "start_flag": "start_return_truck", | |
| "stop_flag": "end_return_truck", | |
| "dependencies": ["end_unloading_soil"], | |
| "parallel_flag": true | |
| } | |
| } | |
| # done | |
| # Query: check_if_half_soil_moved | |
| { | |
| "instruction_function": { | |
| "name": "check_if_half_soil_moved", | |
| "parameters": { | |
| "condition": "Soil moved is less than 50%" | |
| }, | |
| "start_flag": "start_check_half_moved", | |
| "stop_flag": "end_check_half_moved", | |
| "dependencies": ["end_return_truck"], | |
| "parallel_flag": false | |
| } | |
| } | |
| # done | |
| # Query: return_equipment_to_starting_positions | |
| { | |
| "instruction_function": { | |
| "name": "return_to_start_for_all_robots", | |
| "parameters": { | |
| "equipment_ids": ["excavator1", "truck1"] | |
| }, | |
| "start_flag": "start_return_equipment", | |
| "stop_flag": "end_return_equipment", | |
| "dependencies": ["end_check_half_moved"], | |
| "parallel_flag": false | |
| } | |
| } | |
| # done | |