MCPcopy Create free account

hub / github.com/DominiquePaul/golden-robot-retriever / functions

Functions48 in github.com/DominiquePaul/golden-robot-retriever

↓ 6 callersFunctiontext_to_personality_speech
Convert text to speech matching the golden retriever personality and play it.
main.py:81
↓ 3 callersMethodclose
Properly release the camera resources.
golden_robot_retriever/cameras.py:56
↓ 2 callersFunctioncheck_if_user_object_is_visible_in_image
(client, user_object, img)
golden_robot_retriever/openai_interface.py:223
↓ 2 callersMethodcleanup
Properly close resources.
main.py:168
↓ 2 callersMethodget_frame
Capture and return the current webcam frame.
golden_robot_retriever/cameras.py:43
↓ 2 callersFunctionrecord_and_extract_bool
(client, question_we_asked)
golden_robot_retriever/openai_interface.py:212
↓ 2 callersMethodrun
(self, max_runtime_s=15)
golden_robot_retriever/robot_code/client.py:19
↓ 2 callersFunctionspeech_to_text_until_silence
(client)
golden_robot_retriever/openai_interface.py:97
↓ 2 callersFunctiontext_to_speech
(client, input_text, prev_conversation=[])
golden_robot_retriever/openai_interface.py:40
↓ 1 callersFunctionask_if_this_is_what_we_want
Ask the user if the detected object is what they requested.
main.py:97
↓ 1 callersMethodask_user_for_desire
(self)
main.py:202
↓ 1 callersFunctionask_what_the_user_wants
Ask the user how the robot can help them.
main.py:91
↓ 1 callersFunctionconvert_text_to_personality
(client, text, context)
golden_robot_retriever/openai_interface.py:20
↓ 1 callersFunctionextract_what_the_user_wants_from_voice
(client)
golden_robot_retriever/openai_interface.py:177
↓ 1 callersFunctionget_camera
Get a camera instance based on the camera type.
golden_robot_retriever/cameras.py:11
↓ 1 callersFunctionget_pretrained_policy_path
Get the path to the pretrained policy, either from HF Hub or local.
golden_robot_retriever/robot_code/server.py:66
↓ 1 callersFunctionget_safe_torch_device
Get a safe torch device, defaulting to CPU if requested device is not available.
golden_robot_retriever/robot_code/server.py:53
↓ 1 callersFunctionload_policy
Download and load the ACT policy.
golden_robot_retriever/robot_code/server.py:114
↓ 1 callersFunctionmain
()
golden_robot_retriever/robot_code/server.py:270
↓ 1 callersFunctionmain
()
golden_robot_retriever/misc/make_cartoon.py:20
↓ 1 callersFunctionmock_run_policy
Execute the robot's grasping policy and return success status.
main.py:129
↓ 1 callersFunctionparse_input_features
Parse JSON data from a file path and return the input_features dictionary. Args: file_path (str): Path to the JSON file Returns
golden_robot_retriever/robot_code/server.py:88
↓ 1 callersFunctionplease_take_the_object
Tell the user that he should take the object.
main.py:123
↓ 1 callersFunctionprocess_image
Process image through the ACT policy.
golden_robot_retriever/robot_code/server.py:148
↓ 1 callersFunctionrecord_until_silence
()
golden_robot_retriever/openai_interface.py:107
↓ 1 callersMethodrun
Main function orchestrating the retrieval robot's behavior loop.
main.py:207
↓ 1 callersFunctionshould_try_again
Ask the user if another attempt should be made.
main.py:117
↓ 1 callersFunctiontell_that_we_cant_see_obj_yet
Inform the user that the requested object hasn't been found yet.
main.py:109
↓ 1 callersFunctiontext_to_goal_object_or_none
(client, text)
golden_robot_retriever/openai_interface.py:159
↓ 1 callersFunctiontext_to_yes_no
(client, question, answer)
golden_robot_retriever/openai_interface.py:194
↓ 1 callersFunctionwe_grabbed_stuff
Inform the user that the object was grasped successfully.
main.py:103
Method__del__
Clean up resources when the object is destroyed.
main.py:164
Method__init__
(self)
main.py:136
Method__init__
(self)
golden_robot_retriever/cameras.py:24
Method__init__
( self, camera_id=0, # Default to camera 0 instead of None )
golden_robot_retriever/cameras.py:33
Method__init__
(self)
golden_robot_retriever/cameras.py:63
Method__init__
(self)
golden_robot_retriever/robot_code/client.py:10
Methodclose
Properly release the camera resources.
golden_robot_retriever/cameras.py:96
Functiondisplay_frames
Display camera frames and check for space bar presses in a separate thread.
main.py:38
Methodget_frame
Return the current camera frame.
golden_robot_retriever/cameras.py:27
Methodget_frame
Capture and return the current color frame from the RealSense camera.
golden_robot_retriever/cameras.py:81
Functionhealth_check
Endpoint to check if the policy is loaded and ready.
golden_robot_retriever/robot_code/server.py:260
Functioninference
Endpoint for ACT policy inference.
golden_robot_retriever/robot_code/server.py:209
Functionon_press
(key)
golden_robot_retriever/misc/make_cartoon.py:14
Functionspeech_to_text
(client)
golden_robot_retriever/openai_interface.py:70
Functiontest_webcam_camera
()
tests/test_cameras.py:4
Methodtime_since_last_ask
(self)
main.py:191
Methodtime_to_evaluate_image_again
(self)
main.py:195