Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2a62c51
whisper stuff
iyevenko Dec 28, 2024
3a4e8ba
add transcription code to main
iyevenko Dec 28, 2024
eece39d
Add integrated code from other repo
jai17 Jan 6, 2025
3fe4bb5
Removed balancing
jai17 Jan 24, 2025
577d9d8
Remove dashboard, balancing, add nodes folder
jai17 Jan 26, 2025
4cb9a66
Fix grid
jai17 Jan 27, 2025
4f3b31a
setup changes and some planning debug
angadbajwa Jan 28, 2025
af4e296
increase swap memory to allow pip install to work
sincethestudy Jan 28, 2025
5f0d9b5
Changes after new flash setup
jai17 Jan 29, 2025
b1915a4
added zupt, fixed initialization
angadbajwa Jan 31, 2025
fd847c4
why do we do this
angadbajwa Jan 31, 2025
6716249
Merge branch 'integration' of https://github.com/BracketBotCapstone/q…
angadbajwa Jan 31, 2025
4e8c362
add tof, seperate planning from control, wasd node
jai17 Jan 31, 2025
72f4650
Merge branch 'integration' of https://github.com/BracketBotCapstone/q…
jai17 Jan 31, 2025
defa019
Changes after testing planning
jai17 Jan 31, 2025
41abee4
Visualization updates
jai17 Feb 2, 2025
5e4f25e
fixed some planning reference frames and control structure
angadbajwa Feb 4, 2025
babfa98
Merge branch 'integration' of https://github.com/BracketBotCapstone/q…
angadbajwa Feb 4, 2025
a1e9e5d
changed some control structure
angadbajwa Feb 5, 2025
02703ff
Updated rerun visualization with map and path
jai17 Feb 5, 2025
a3da3d4
Update readme
jai17 Feb 7, 2025
8b4212f
Update setup_os.sh
sincethestudy Feb 8, 2025
0dadc0e
Update node_wasd.py
sincethestudy Feb 8, 2025
9a0479c
Update node_wasd.py
sincethestudy Feb 8, 2025
ad64427
Update node_wasd.py
sincethestudy Feb 8, 2025
12a5786
Update setup_os.sh
sincethestudy Feb 8, 2025
4544a00
Update calibrate_odrive.py
sincethestudy Feb 8, 2025
473670d
Fix baudrate
iyevenko Feb 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@jai17
@sincethestudy
@iyevenko
@angadbajwa
6 changes: 6 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# PR Checks

The following items should be performed and checked off before merging.

- [ ] Does it work? Show proof of concept in PR description
- [ ] Does it pass ruff checks? (Run with `ruff check .`)
195 changes: 182 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,187 @@
# Python cache files
__pycache__/
# Build Related Files
# Bazel build files
bazel-*
user.bazelrc
auth.bazelrc
MODULE.bazel.lock

# Doxygen output
dox-*
DoxygenWarnings-*

# Python bytecode
*.pyc
*.pyo
*.pyd
__pycache__/

# Generated files
*.png
*.txt
*.err
*.log
# Artifacts and logs
artifacts/
testlogs/
profile.gz
install/
targets_incompatible_with_*
logs/

# Config and environment files
motor_dir.json
# Ruff cache
.ruff_cache/

# IDE Related Files
.clangd
.clwb
.env
.ipynb_checkpoints/
*.log
pyrightconfig.json
.idea/

# Data Related Files
*.bag
*.osm
*.mcap

# Cargo Generated Files
/target/
examples/**/*.txt
**/*.rs.bk

# Dora Specific Files
**/*.arrow
*.pt
out/

# Device Tree Blob Overlays
*.dtbo

# Python Virtual Environment
venv/
.venv/

# Compiled Object Files
*.o
*.slo
*.lo
*.obj

# CMake artifacts
build/
bin/

# Additional Entries
*.TXT
recordings/bracket_bot/
*.stl
*.part
!*_collision*.stl
constants.*
lib/messages.h
lib/messages.py

# Prerequisites
*.d
build/

# Compiled Dynamic Libraries
*.so
*.dylib
*.dll

# Fortran Module Files
*.mod
*.smod

# Compiled Static Libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# Debugging Files
*.gdb*
*.dblite

# Byte-compiled / Optimized / DLL Files
*.py[cod]
*$py.class

# C Extensions
*.so

# Distribution / Packaging Files
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller Files
*.manifest
*.spec

# Installer Logs
pip-log.txt
pip-delete-this-directory.txt

# Unit Test / Coverage Reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django Specific Files
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask Specific Files
instance/
.webassets-cache

# Scrapy Specific Files
.scrapy/

# Sphinx Documentation
docs/_build/

# PyBuilder Files
.pybuilder/
target/

# Jupyter Notebook Checkpoints
.ipynb_checkpoints/

# IPython Configuration
profile_default/
ipython_config.py

# Device tree overlay
pwm-pi5.dtbo
# Miscellaneous
.lgd-nfy0
17 changes: 17 additions & 0 deletions .vscode/.bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Get the directory containing this script, assuming this script is being sourced
SCRIPT_DIR=$( dirname "${BASH_SOURCE[0]}" )

# Include .bashrc if it exists
if [ -f $HOME/.bashrc ]; then
. $HOME/.bashrc
fi

# Include .bashrc if it exists
if [ -f $SCRIPT_DIR/user.bashrc ]; then
. $SCRIPT_DIR/user.bashrc
fi

# Provide git/bazel/etc.. completion for everyone
source /usr/share/bash-completion/bash_completion

export PATH=$PATH:$HOME/.local/bin
4 changes: 4 additions & 0 deletions .vscode/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
user/
user.bashrc
settings.json
c_cpp_properties.json
54 changes: 54 additions & 0 deletions .vscode/cpp.json.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
// Place your workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"hpptemplate": {
"prefix": "hpptemplate",
"body": [
"// CONFIDENTIAL - do not disclose, distribute, or alter without express permission by Bracket Bot Inc.",
"// All use subject to express agreement only. No implied use or license.",
"//",
"// Software copyrights by Bracket Bot, Inc as of initial publish date.",
"//",
"// Unless required by applicable law or agreed in writing, use of software is on an \"AS IS\" BASIS,",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
"",
"// Initial Publish Date: $CURRENT_DATE $CURRENT_MONTH_NAME_SHORT $CURRENT_YEAR",
"// Initial Author: $0",
"",
"#ifndef ${RELATIVE_FILEPATH/(?:^.*\\\\src\\\\)?(\\w+)(?!\\w*$)|(\\W)|(\\w+)$/${1:/upcase}${2:+_}${3:/upcase}/g}",
"#define ${RELATIVE_FILEPATH/(?:^.*\\\\src\\\\)?(\\w+)(?!\\w*$)|(\\W)|(\\w+)$/${1:/upcase}${2:+_}${3:/upcase}/g}",
"",
"#endif // ${RELATIVE_FILEPATH/(?:^.*\\\\src\\\\)?(\\w+)(?!\\w*$)|(\\W)|(\\w+)$/${1:/upcase}${2:+_}${3:/upcase}/g}"
]
},
"cpptemplate": {
"prefix": "cpptemplate",
"body": [
"// CONFIDENTIAL - do not disclose, distribute, or alter without express permission by Bracket Bot Inc.",
"// All use subject to express agreement only. No implied use or license.",
"//",
"// Software copyrights by Bracket Bot, Inc as of initial publish date.",
"//",
"// Unless required by applicable law or agreed in writing, use of software is on an \"AS IS\" BASIS,",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
"",
"// Initial Publish Date: $CURRENT_DATE $CURRENT_MONTH_NAME_SHORT $CURRENT_YEAR",
"// Initial Author: $0",
""
]
},
}
29 changes: 29 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"ms-vscode-remote.remote-containers",
"augustocdias.tasks-shell-input",
"eamodio.gitlens",
"golang.go",
"hbenl.vscode-test-explorer",
"llvm-vs-code-extensions.vscode-clangd",
"matepek.vscode-catch2-test-adapter",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-vscode.cpptools",
"ms-vscode.cpptools-themes",
"ms-vscode-remote.remote-containers",
"rioj7.command-variable",
"streetsidesoftware.code-spell-checker",
"twxs.cmake",
"ms-python.debugpy",
"svelte.svelte-vscode"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
"ms-vscode.cmake-tools"
]
}
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "debugpy",
"request": "launch",
"program": ".devcontainer/dummy.py",
"console": "integratedTerminal",
},
],
"inputs": [
]
}
23 changes: 23 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# To install the dependencies and build the config and messages, use:
# CONFIG=bot_quickstart CONFIG_MSGS=bot_quickstart_msgs make

# To only build the config and messages, use:
# CONFIG=bot_quickstart CONFIG_MSGS=bot_quickstart_msgs make build

.PHONY: all debug setup clean build

CONFIG ?= bot_quickstart
CONFIG_MSGS ?= bot_quickstart_msgs
CFG_PATH = $(shell pwd)/config/$(CONFIG).toml

all: install build

build:
python3 lib/parse_toml_config.py config/$(CONFIG).toml
python3 lib/messages/generate_mqtt_messages.py config/$(CONFIG_MSGS).toml

clean:
# nothing to clean

install:
pip3 install -e .
Loading