-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit db91fa9
Showing
674 changed files
with
140,094 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file currently only serves to mark the location of a catkin workspace for tool integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Use the Google style in this project. | ||
BasedOnStyle: Google | ||
|
||
# int& format | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
|
||
# const value | ||
QualifierAlignment: Left | ||
|
||
# Custom stuff for us: | ||
AlignAfterOpenBracket: AlwaysBreak | ||
AllowAllArgumentsOnNextLine: true | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
AllowShortBlocksOnASingleLine: Always | ||
AllowShortFunctionsOnASingleLine: All | ||
AllowShortLambdasOnASingleLine: All | ||
# There shouldn't be short empty loops, but fine | ||
AllowShortLoopsOnASingleLine: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"image": "docker.io/raiderrobotics/container-registry:rr-noetic-base", | ||
// Causes permission errors when running make (i.e. colcon build) without sudo? | ||
// "remoteUser": "ros", | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"bash": { | ||
"path": "bash" | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.linux": "bash" | ||
}, | ||
"extensions": [ | ||
"ms-azuretools.vscode-docker", | ||
"ms-vscode.cpptools", | ||
"twxs.cmake", | ||
"ms-iot.vscode-ros", | ||
"streetsidesoftware.code-spell-checker", | ||
"GitHub.vscode-pull-request-github", | ||
"DotJoshJohnson.xml", | ||
"redhat.vscode-yaml", | ||
"yzhang.markdown-all-in-one" | ||
] | ||
} | ||
}, | ||
// This will launch the container as a non-root user | ||
"runArgs": [ | ||
// This will allow you to use a ptrace-based debugger like C++ | ||
"--network=host", | ||
"--cap-add=SYS_PTRACE", | ||
"--security-opt=seccomp:unconfined", | ||
"--security-opt=apparmor:unconfined" | ||
// "--volume=/tmp/.X11-unix:/tmp/.X11-unix" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* text=auto eol=lf | ||
*.{cmd,[cC][mM][dD]} text eol=crlf | ||
*.{bat,[bB][aA][tT]} text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Robot Code Checks | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
container: raiderrobotics/container-registry:rr-noetic-base | ||
steps: | ||
- name: ✔️ Checkout Repository and Submodules | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: 🔨 Build Project | ||
run: | | ||
/bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make v5_hal_firmware_build" | ||
test: | ||
needs: build | ||
runs-on: ubuntu-20.04 | ||
container: raiderrobotics/container-registry:rr-noetic-base | ||
steps: | ||
- name: ✔️ Checkout Repository and Submodules | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: 🧪 Execute v5_hal Unit Tests | ||
run: | | ||
/bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make run_tests_v5_hal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Catkin build files | ||
build/ | ||
devel/ | ||
install/ | ||
src/v5_hal/firmware/include/ros_lib/* | ||
src/CMakeLists.txt | ||
|
||
# Compiled Object files | ||
*.o | ||
*.obj | ||
|
||
# Executables | ||
*.bin | ||
*.elf | ||
|
||
# PROS | ||
bin/ | ||
compile_commands.json | ||
temp.log | ||
temp.errors | ||
*.ini | ||
.d/ | ||
|
||
# VSCode | ||
.history/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[submodule "src/rosserial"] | ||
path = src/rosserial | ||
url = https://github.com/msoe-vex/rosserial.git | ||
[submodule "src/navx_publisher/src/navXTimeSync"] | ||
path = src/navx_publisher/src/navXTimeSync | ||
url = https://github.com/FRC900/navXTimeSync.git | ||
[submodule "src/v5_hal/firmware/include/eigen"] | ||
path = src/v5_hal/firmware/include/eigen | ||
url = https://gitlab.com/libeigen/eigen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Linux", | ||
"includePath": [ | ||
"/opt/ros/noetic/include/**", | ||
"${workspaceFolder}/src", | ||
"${workspaceFolder}/pros" | ||
], | ||
"compilerPath": "/usr/bin/gcc", | ||
"cppStandard": "c++20", | ||
"intelliSenseMode": "linux-gcc-x64", | ||
"browse": { | ||
"path": [ | ||
"${workspaceFolder}/src" | ||
], | ||
"limitSymbolsToIncludedHeaders": true | ||
} | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "ROS: Attach", | ||
"type": "ros", | ||
"request": "attach" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
{ | ||
"task.autoDetect": "off", | ||
"task.allowAutomaticTasks": "off", | ||
"C_Cpp.default.intelliSenseMode": "linux-gcc-x86", | ||
"C_Cpp.formatting": "clangFormat", | ||
"search.exclude": { | ||
"**/node_modules": true, | ||
"**/bower_components": true, | ||
"**/*.code-search": true, | ||
"**/build": true, | ||
"**/install": true, | ||
"**/log": true, | ||
"**/pros": true | ||
}, | ||
"cSpell.allowCompoundWords": true, | ||
"cSpell.ignorePaths": [ | ||
"**/package-lock.json", | ||
"**/node_modules/**", | ||
"**/vscode-extension/**", | ||
"**/.git/objects/**", | ||
".vscode", | ||
".vscode-insiders", | ||
".devcontainer/devcontainer.json" | ||
], | ||
"cSpell.words": [ | ||
"COMMS", | ||
"Holonomic", | ||
"libeigen", | ||
"nodiscard", | ||
"opcontrol", | ||
"proto", | ||
"rclcpp", | ||
"rosdep", | ||
"rpms", | ||
"struct", | ||
"Structs", | ||
"VEXU" | ||
], | ||
"files.associations": { | ||
"array": "cpp", | ||
"atomic": "cpp", | ||
"bit": "cpp", | ||
"*.tcc": "cpp", | ||
"cctype": "cpp", | ||
"chrono": "cpp", | ||
"clocale": "cpp", | ||
"cmath": "cpp", | ||
"condition_variable": "cpp", | ||
"csignal": "cpp", | ||
"cstdarg": "cpp", | ||
"cstddef": "cpp", | ||
"cstdint": "cpp", | ||
"cstdio": "cpp", | ||
"cstdlib": "cpp", | ||
"cstring": "cpp", | ||
"ctime": "cpp", | ||
"cwchar": "cpp", | ||
"cwctype": "cpp", | ||
"deque": "cpp", | ||
"list": "cpp", | ||
"map": "cpp", | ||
"set": "cpp", | ||
"unordered_map": "cpp", | ||
"vector": "cpp", | ||
"exception": "cpp", | ||
"algorithm": "cpp", | ||
"functional": "cpp", | ||
"iterator": "cpp", | ||
"memory": "cpp", | ||
"memory_resource": "cpp", | ||
"numeric": "cpp", | ||
"optional": "cpp", | ||
"random": "cpp", | ||
"ratio": "cpp", | ||
"string": "cpp", | ||
"string_view": "cpp", | ||
"system_error": "cpp", | ||
"tuple": "cpp", | ||
"type_traits": "cpp", | ||
"utility": "cpp", | ||
"fstream": "cpp", | ||
"future": "cpp", | ||
"initializer_list": "cpp", | ||
"iosfwd": "cpp", | ||
"iostream": "cpp", | ||
"istream": "cpp", | ||
"limits": "cpp", | ||
"mutex": "cpp", | ||
"new": "cpp", | ||
"ostream": "cpp", | ||
"shared_mutex": "cpp", | ||
"sstream": "cpp", | ||
"stdexcept": "cpp", | ||
"streambuf": "cpp", | ||
"thread": "cpp", | ||
"typeindex": "cpp", | ||
"typeinfo": "cpp", | ||
"unordered_set": "cpp", | ||
"strstream": "cpp", | ||
"bitset": "cpp", | ||
"codecvt": "cpp", | ||
"complex": "cpp", | ||
"iomanip": "cpp", | ||
"cfenv": "cpp", | ||
"cinttypes": "cpp", | ||
"valarray": "cpp", | ||
"variant": "cpp", | ||
"dense": "cpp" | ||
}, | ||
"files.autoSave": "afterDelay", | ||
"files.autoSaveDelay": 1000, | ||
"editor.formatOnSave": true, | ||
"editor.formatOnSaveMode": "file", | ||
// Python stuff | ||
"python.envFile": "${workspaceFolder}/.env", | ||
"python.analysis.extraPaths": [ | ||
"/opt/ros/humble/lib/python3.8/site-packages/" | ||
], | ||
"python.autoComplete.extraPaths": [ | ||
"/opt/ros/humble/lib/python3.8/site-packages/" | ||
], | ||
"cmake.configureOnOpen": false | ||
} |
Oops, something went wrong.