Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DominiquePaul/golden-robot-retriever
/ functions
Functions
48 in github.com/DominiquePaul/golden-robot-retriever
⨍
Functions
48
◇
Types & classes
6
↳
Endpoints
2
↓ 6 callers
Function
text_to_personality_speech
Convert text to speech matching the golden retriever personality and play it.
main.py:81
↓ 3 callers
Method
close
Properly release the camera resources.
golden_robot_retriever/cameras.py:56
↓ 2 callers
Function
check_if_user_object_is_visible_in_image
(client, user_object, img)
golden_robot_retriever/openai_interface.py:223
↓ 2 callers
Method
cleanup
Properly close resources.
main.py:168
↓ 2 callers
Method
get_frame
Capture and return the current webcam frame.
golden_robot_retriever/cameras.py:43
↓ 2 callers
Function
record_and_extract_bool
(client, question_we_asked)
golden_robot_retriever/openai_interface.py:212
↓ 2 callers
Method
run
(self, max_runtime_s=15)
golden_robot_retriever/robot_code/client.py:19
↓ 2 callers
Function
speech_to_text_until_silence
(client)
golden_robot_retriever/openai_interface.py:97
↓ 2 callers
Function
text_to_speech
(client, input_text, prev_conversation=[])
golden_robot_retriever/openai_interface.py:40
↓ 1 callers
Function
ask_if_this_is_what_we_want
Ask the user if the detected object is what they requested.
main.py:97
↓ 1 callers
Method
ask_user_for_desire
(self)
main.py:202
↓ 1 callers
Function
ask_what_the_user_wants
Ask the user how the robot can help them.
main.py:91
↓ 1 callers
Function
convert_text_to_personality
(client, text, context)
golden_robot_retriever/openai_interface.py:20
↓ 1 callers
Function
extract_what_the_user_wants_from_voice
(client)
golden_robot_retriever/openai_interface.py:177
↓ 1 callers
Function
get_camera
Get a camera instance based on the camera type.
golden_robot_retriever/cameras.py:11
↓ 1 callers
Function
get_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 callers
Function
get_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 callers
Function
load_policy
Download and load the ACT policy.
golden_robot_retriever/robot_code/server.py:114
↓ 1 callers
Function
main
()
golden_robot_retriever/robot_code/server.py:270
↓ 1 callers
Function
main
()
golden_robot_retriever/misc/make_cartoon.py:20
↓ 1 callers
Function
mock_run_policy
Execute the robot's grasping policy and return success status.
main.py:129
↓ 1 callers
Function
parse_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 callers
Function
please_take_the_object
Tell the user that he should take the object.
main.py:123
↓ 1 callers
Function
process_image
Process image through the ACT policy.
golden_robot_retriever/robot_code/server.py:148
↓ 1 callers
Function
record_until_silence
()
golden_robot_retriever/openai_interface.py:107
↓ 1 callers
Method
run
Main function orchestrating the retrieval robot's behavior loop.
main.py:207
↓ 1 callers
Function
should_try_again
Ask the user if another attempt should be made.
main.py:117
↓ 1 callers
Function
tell_that_we_cant_see_obj_yet
Inform the user that the requested object hasn't been found yet.
main.py:109
↓ 1 callers
Function
text_to_goal_object_or_none
(client, text)
golden_robot_retriever/openai_interface.py:159
↓ 1 callers
Function
text_to_yes_no
(client, question, answer)
golden_robot_retriever/openai_interface.py:194
↓ 1 callers
Function
we_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
Method
close
Properly release the camera resources.
golden_robot_retriever/cameras.py:96
Function
display_frames
Display camera frames and check for space bar presses in a separate thread.
main.py:38
Method
get_frame
Return the current camera frame.
golden_robot_retriever/cameras.py:27
Method
get_frame
Capture and return the current color frame from the RealSense camera.
golden_robot_retriever/cameras.py:81
Function
health_check
Endpoint to check if the policy is loaded and ready.
golden_robot_retriever/robot_code/server.py:260
Function
inference
Endpoint for ACT policy inference.
golden_robot_retriever/robot_code/server.py:209
Function
on_press
(key)
golden_robot_retriever/misc/make_cartoon.py:14
Function
speech_to_text
(client)
golden_robot_retriever/openai_interface.py:70
Function
test_webcam_camera
()
tests/test_cameras.py:4
Method
time_since_last_ask
(self)
main.py:191
Method
time_to_evaluate_image_again
(self)
main.py:195