Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/botbotrobotics/BotBrain
/ functions
Functions
1,454 in github.com/botbotrobotics/BotBrain
⨍
Functions
1,454
◇
Types & classes
379
↓ 461 callers
Function
t
(section: T, key: NestedTranslationKey<T>)
frontend/src/contexts/LanguageContext.tsx:43
↓ 456 callers
Method
log
(event: AuditLogEvent)
frontend/src/utils/audit-logger.ts:105
↓ 93 callers
Function
useRobotConnection
()
frontend/src/contexts/RobotConnectionContext.tsx:436
↓ 74 callers
Function
cn
(...inputs: ClassValue[])
frontend/src/utils/cn.tsx:4
↓ 55 callers
Function
useLanguage
()
frontend/src/contexts/LanguageContext.tsx:56
↓ 33 callers
Function
parseValue
(values: { key: string; value: string }[], key: string)
frontend/src/hooks/ros/useRosJetsonDiagnostics.ts:234
↓ 30 callers
Function
generateId
()
frontend/src/contexts/DashboardContext.tsx:7
↓ 28 callers
Function
useSupabase
()
frontend/src/contexts/SupabaseProvider.tsx:93
↓ 26 callers
Function
parseNumericValue
(values: { key: string; value: string }[], key: string, defaultValue: number = 0)
frontend/src/hooks/ros/useRosJetsonDiagnostics.ts:240
↓ 22 callers
Function
getDarkModeFolder
()
frontend/src/hooks/useMenuActions.tsx:36
↓ 22 callers
Method
update
botbrain_ws/src/bot_state_machine/src/state_controller.cpp:13
↓ 21 callers
Function
dispatchAction
(options: ServiceOptions)
frontend/src/hooks/ros/useRobotActionDispatcher.tsx:10
↓ 20 callers
Function
successCallback
( response: any, options?: RobotActionCallbackOptions )
frontend/src/hooks/ros/useRobotActions.tsx:29
↓ 19 callers
Method
_nmcli
(self, cmd: str, timeout: float = 15.0)
botbrain_ws/src/bot_jetson_stats/bot_jetson_stats/scripts/wifi_services.py:517
↓ 18 callers
Function
getConfig
(key: K)
frontend/src/utils/config.ts:48
↓ 16 callers
Function
getButtonClass
(index: number)
frontend/src/components/settings/gamepad-visualizer.tsx:22
↓ 15 callers
Function
clamp
(value: number, min: number, max: number)
frontend/src/utils/clamp.tsx:1
↓ 15 callers
Function
publishVelocity
(newVelocity: Twist, inputSource?: 'joystick' | 'keyboard' | 'gamepad')
frontend/src/hooks/ros/useRobotVelocityPublisher.tsx:31
↓ 14 callers
Function
hslToHex
* Converts HSL to hex color
frontend/src/utils/theme-generator.ts:56
↓ 14 callers
Method
print_info
botbrain_ws/src/bot_state_machine/src/lifecycle_manager.cpp:312
↓ 14 callers
Function
useDashboard
()
frontend/src/contexts/DashboardContext.tsx:241
↓ 13 callers
Function
_run
Run a shell command safely and return stdout (merged with stderr).
botbrain_ws/src/bot_jetson_stats/bot_jetson_stats/scripts/wifi_services.py:26
↓ 13 callers
Function
useNotifications
()
frontend/src/contexts/NotificationsContext.tsx:76
↓ 12 callers
Function
joystickMove
(options: JoyStickMoveOptions)
frontend/src/hooks/useJoystickMove.tsx:146
↓ 10 callers
Method
send_sport_request
(self, request, response)
botbrain_ws/src/go2_pkg/scripts/go2_write.py:500
↓ 10 callers
Method
setActiveMission
(id: string | null)
frontend/src/services/missions.ts:154
↓ 10 callers
Function
updateWidgetProps
(id: string, props: Record<string, any>)
frontend/src/contexts/DashboardContext.tsx:194
↓ 10 callers
Function
useHeader
()
frontend/src/contexts/HeaderContext.tsx:50
↓ 10 callers
Function
useNetworkMetrics
( refreshInterval: number = 1000 )
frontend/src/hooks/ros/useNetworkMetrics.tsx:14
↓ 9 callers
Method
start
botbrain_ws/src/g1_pkg/src/g1_driver/g1_driver.cpp:193
↓ 8 callers
Function
getChartColor
()
frontend/src/components/chart-card.tsx:165
↓ 8 callers
Function
getSignedImageUrl
( supabase: SupabaseClient, urlOrPath: string | null, expiresIn: number = 3600 // 1 hour default )
frontend/src/utils/supabase-storage.ts:48
↓ 8 callers
Function
updateTransform
()
frontend/src/components/map-view.tsx:643
↓ 8 callers
Function
useRobotStatus
(_useDummy: boolean = false)
frontend/src/hooks/ros/useRobotStatus.tsx:13
↓ 7 callers
Function
getCurrentTopicLabel
()
frontend/src/components/chart-card.tsx:159
↓ 7 callers
Function
isImageDataEmpty
(data: any)
frontend/src/components/ros-camera-img.tsx:200
↓ 7 callers
Function
useMapPose
(options?: UseMapPoseOptions)
frontend/src/hooks/ros/useMapPose.tsx:24
↓ 7 callers
Function
useRobotCustomModeContext
()
frontend/src/contexts/RobotCustomModesContext.tsx:51
↓ 6 callers
Function
_write_status_file
(path: str, text: str)
botbrain_ws/src/bot_jetson_stats/bot_jetson_stats/scripts/wifi_services.py:105
↓ 6 callers
Function
cleanupSubscriptions
()
frontend/src/hooks/ros/useRosJetsonDiagnostics.ts:599
↓ 6 callers
Function
formatDataRate
(bytesPerSec: number)
frontend/src/utils/format-utils.tsx:34
↓ 6 callers
Function
formatTempShort
(temp: number | undefined)
frontend/src/components/weather/WeatherDashboard.tsx:235
↓ 6 callers
Function
normalizeAngle
(angle: number)
frontend/src/utils/waypointProjection.ts:30
↓ 6 callers
Function
sendCombinedJoystickCommands
()
frontend/src/components/ui/joysticks.tsx:71
↓ 6 callers
Function
updateRobot
(newData: Partial<RobotConnectionData>)
frontend/src/contexts/RobotConnectionContext.tsx:120
↓ 6 callers
Function
useOccupancyGrid
(options?: UseOccupancyGridOptions)
frontend/src/hooks/ros/useOccupancyGrid.tsx:14
↓ 6 callers
Function
useRobotActionDispatcher
()
frontend/src/hooks/ros/useRobotActionDispatcher.tsx:8
↓ 6 callers
Function
useRobotActionsTransitions
(currentStatus: RobotStatus)
frontend/src/hooks/ros/useRobotActionsTransitions.tsx:9
↓ 6 callers
Function
useRosMappingServices
()
frontend/src/hooks/ros/useRosMappingServices.tsx:21
↓ 5 callers
Function
connectToRobotWithInfo
(robot: Robot, timeoutMs?: number)
frontend/src/contexts/RobotConnectionContext.tsx:357
↓ 5 callers
Function
createClient
()
frontend/src/utils/supabase/client.ts:3
↓ 5 callers
Function
createSupabaseClient
()
frontend/src/utils/supabase-client.ts:4
↓ 5 callers
Function
fetchUserLayouts
()
frontend/src/components/dashboard/WidgetSelector.tsx:65
↓ 5 callers
Function
isLightTheme
()
frontend/src/components/ui/joysticks.tsx:17
↓ 5 callers
Function
metersPerSecToMph
(mps: number)
frontend/src/components/weather/WeatherDashboard.tsx:226
↓ 5 callers
Function
resolveStatus
(status: RobotStatus)
frontend/src/hooks/useRobotAvailability.ts:87
↓ 5 callers
Function
setConfig
(key: K, value: ConfigValues[K])
frontend/src/utils/config.ts:130
↓ 5 callers
Method
setSize
(width: number, height: number)
frontend/src/components/robot-3d-viewer.tsx:576
↓ 5 callers
Function
updateSettings
(updates: any)
frontend/src/components/widgets/SidewaysGaugeWidget.tsx:138
↓ 5 callers
Function
updateSettings
(updates: any)
frontend/src/components/widgets/GaugeWidget.tsx:116
↓ 5 callers
Function
useRobotActions
()
frontend/src/hooks/ros/useRobotActions.tsx:15
↓ 5 callers
Function
useRobotProfile
()
frontend/src/contexts/RobotProfileContext.tsx:74
↓ 5 callers
Function
useRosNavPlan
(topicName: string = '/plan')
frontend/src/hooks/ros/useRosNavPlan.tsx:41
↓ 4 callers
Method
_construct_full_path
Construct full database path from filename using the dynamic database directory.
botbrain_ws/src/bot_localization/bot_localization/scripts/rtab_manager.py:198
↓ 4 callers
Method
_get_database_directory
Get the database directory path based on robot_model parameter. Always uses the source directory for database storage.
botbrain_ws/src/bot_localization/bot_localization/scripts/rtab_manager.py:169
↓ 4 callers
Function
addWidget
(type: WidgetType, widgetData?: Record<string, any>)
frontend/src/contexts/DashboardContext.tsx:114
↓ 4 callers
Function
applyDeadzone
(value: number)
frontend/src/hooks/useGamepadInput.tsx:96
↓ 4 callers
Function
cancelNavigation
()
frontend/src/hooks/ros/useNav2Goal.tsx:122
↓ 4 callers
Function
celsiusToFahrenheit
(celsius: number)
frontend/src/components/weather/WeatherDashboard.tsx:225
↓ 4 callers
Function
clearWidgets
()
frontend/src/contexts/DashboardContext.tsx:204
↓ 4 callers
Function
createJoystickStyles
(zone: HTMLElement)
frontend/src/components/ui/joysticks.tsx:39
↓ 4 callers
Function
dispatchAction
(options: ServiceOptions)
frontend/src/hooks/useProfileAwareROS.tsx:32
↓ 4 callers
Function
executeRobotAction
( serviceType: 'mode' | 'pose' | 'light' | 'antiCollision', request: any, actionName: string )
frontend/src/hooks/useBlockProgramExecution.tsx:596
↓ 4 callers
Function
formatDecimal
( value: number, decimalDigits = DECIMAL_DIGITS )
frontend/src/utils/ros/roslib-utils.tsx:11
↓ 4 callers
Function
getRosMsgType
(typeKey: keyof typeof rosTypes)
frontend/src/utils/ros/messages.tsx:52
↓ 4 callers
Function
isLightTheme
()
frontend/src/components/widgets/JoystickWidget.tsx:40
↓ 4 callers
Function
loadRobots
()
frontend/src/app/fleet/page.tsx:73
↓ 4 callers
Method
logCommand
(command: string, robotId?: string, robotName?: string, details?: Record<string, any>)
frontend/src/utils/audit-logger.ts:209
↓ 4 callers
Function
mmToInches
(mm: number)
frontend/src/components/weather/WeatherDashboard.tsx:227
↓ 4 callers
Function
moveChatToBottom
()
frontend/src/components/chat.tsx:48
↓ 4 callers
Method
on_cleanup
(self, state: State)
botbrain_ws/src/bot_localization/bot_localization/scripts/rtab_manager.py:155
↓ 4 callers
Method
print_error
botbrain_ws/src/bot_state_machine/src/lifecycle_manager.cpp:317
↓ 4 callers
Function
screenToWorld
(screenX: number, screenY: number)
frontend/src/components/map-view-nav2.tsx:710
↓ 4 callers
Function
screenToWorld
(screenX: number, screenY: number)
frontend/src/components/mission-map-view.tsx:861
↓ 4 callers
Function
serializeSupabaseError
(error: any)
frontend/src/services/missions.ts:18
↓ 4 callers
Function
setLanguage
(lang: LanguageCode)
frontend/src/contexts/LanguageContext.tsx:37
↓ 4 callers
Function
setSpeedMode
(mode: SpeedMode)
frontend/src/contexts/SpeedModeContext.tsx:60
↓ 4 callers
Method
stop_move
botbrain_ws/src/g1_pkg/src/g1_driver/g1_driver.cpp:218
↓ 4 callers
Method
updateCameraPosition
()
frontend/src/components/robot-3d-viewer.tsx:257
↓ 4 callers
Function
useMenuActions
()
frontend/src/hooks/useMenuActions.tsx:9
↓ 4 callers
Function
useTheme
()
frontend/src/contexts/ThemeContext.tsx:75
↓ 3 callers
Function
_active_wifi_ssid
()
botbrain_ws/src/bot_jetson_stats/bot_jetson_stats/scripts/wifi_services.py:87
↓ 3 callers
Method
_cleanup_resources
(self)
botbrain_ws/src/bot_yolo/bot_yolo/yolo_node.py:182
↓ 3 callers
Method
_destroy_services
(self)
botbrain_ws/src/bot_jetson_stats/bot_jetson_stats/scripts/wifi_services.py:216
↓ 3 callers
Function
_has_ip
(iface: str)
botbrain_ws/src/bot_jetson_stats/bot_jetson_stats/scripts/wifi_services.py:101
↓ 3 callers
Method
_resolve_iface
Resolve interface: request -> parameter -> auto-detect.
botbrain_ws/src/bot_jetson_stats/bot_jetson_stats/scripts/wifi_services.py:522
↓ 3 callers
Function
applyTheme
(colors: ReturnType<typeof generateTheme>)
frontend/src/utils/theme-generator.ts:139
↓ 3 callers
Method
callServiceWithCallback
(options: ServiceOptions)
frontend/src/utils/ros/topics-and-services.tsx:208
↓ 3 callers
Function
cleanup
()
frontend/src/hooks/useRobotAvailability.ts:76
↓ 3 callers
Function
deleteStorageImage
( supabase: SupabaseClient, urlOrPath: string | null )
frontend/src/utils/supabase-storage.ts:92
next →
1–100 of 1,454, ranked by callers