Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Aasthaengg/ROSMASTERx3
/ functions
Functions
30 in github.com/Aasthaengg/ROSMASTERx3
⨍
Functions
30
◇
Types & classes
4
↓ 22 callers
Method
send_direction
Sends a single 'direction' command (0..1) to the bot, waits 'duration' seconds, then sends STOP. direction mapping in parse
rosmaster_control.py:54
↓ 13 callers
Function
text_to_speech
Convert text to speech using Deepgram's API and play the audio immediately.
app.py:35
↓ 2 callers
Method
_build_btn_control
(car_type_hex, num_dir_hex)
rosmaster_control.py:40
↓ 2 callers
Method
connect
Create a TCP socket and connect to the bot.
rosmaster_control.py:21
↓ 2 callers
Method
dance_routine
Example 'dance' routine: forward -> rotate left -> backward -> rotate right -> etc.
rosmaster_control.py:82
↓ 2 callers
Method
disconnect
Close the socket connection.
rosmaster_control.py:27
↓ 1 callers
Method
_calc_checksum
(values)
rosmaster_control.py:35
↓ 1 callers
Method
caption
( self, image: Image.Image, length: str = "short" )
moondream.py:17
↓ 1 callers
Method
circle_routine
'Circle' routine: turn the bot in a circle. (If your bot can go forward + slight turn, adapt accordingly.)
rosmaster_control.py:107
↓ 1 callers
Function
command_parser
Parses user input (transcribed text) and returns a dictionary of recognized commands.
app.py:84
↓ 1 callers
Method
detect
( self, image: Image.Image, object_type: str )
moondream.py:31
↓ 1 callers
Method
drift_routine
'Drift' routine: maybe short forward then a rotate to simulate drifting
rosmaster_control.py:96
↓ 1 callers
Function
get_video_stream
Fetch video stream from the Flask server.
test.py:9
↓ 1 callers
Function
get_video_stream
Fetch video stream from the Flask server.
app.py:55
↓ 1 callers
Method
inference
(self)
whisperstt.py:11
↓ 1 callers
Function
main
()
app.py:214
↓ 1 callers
Method
point
( self, image: Image.Image, object_type: str )
moondream.py:38
↓ 1 callers
Method
process
(self)
speechstream.py:69
↓ 1 callers
Method
process_frame
Dynamically processes frame based on commands. :param frame: The captured video frame. :param commands: Dictionary of Moondr
moondream.py:46
↓ 1 callers
Method
query
( self, image: Image.Image, question: str )
moondream.py:24
↓ 1 callers
Method
square_routine
'Square' routine: move forward, turn, do 4 edges
rosmaster_control.py:116
↓ 1 callers
Method
triangle_routine
'Triangle' routine: 3 edges
rosmaster_control.py:126
Method
__init__
(self)
moondream.py:7
Method
__init__
(self, model_size: str = 'small', english: bool = True, translate: bool = False)
whisperstt.py:4
Method
__init__
Initialize the BotController with default IP and port.
rosmaster_control.py:13
Method
__init__
( self, assist=None, samplerate: int = 44100, blocksize: int
speechstream.py:11
Method
callback
(self, indata, frames, t, status)
speechstream.py:40
Function
conversation
Continuously checks for new speech recognition results and updates the global TEXT dictionary with recognized commands.
app.py:189
Method
listen
(self)
speechstream.py:88
Function
vision
Continuously fetch and update frames.
app.py:157