Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Master-Bw3 committed Sep 22, 2023
1 parent db91fa9 commit aa70545
Show file tree
Hide file tree
Showing 675 changed files with 1,217 additions and 139,531 deletions.
8 changes: 8 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[build]
target = "build/armv7a-vex-eabi.json"

[unstable]
build-std = ["core", "alloc"]

[target.armv7a-vex-eabi]
runner = "build/upload.sh"
1 change: 0 additions & 1 deletion .catkin_workspace

This file was deleted.

19 changes: 0 additions & 19 deletions .clang-format

This file was deleted.

29 changes: 29 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM ros:noetic-ros-base-focal

RUN sudo apt-get update && \
sudo apt-get install -y software-properties-common && \
sudo apt-get update && \
sudo add-apt-repository -y ppa:git-core/ppa && \
sudo apt-get update && \
sudo apt-get install -y git python3 python3-pip python-is-python3 python3-rosdep ros-noetic-tf libeigen3-dev wget && \
sudo apt-get update && \
sudo mkdir /install-dir && \
cd /install-dir && \
wget https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 --no-check-certificate && \
tar -xjvf gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 && \
sudo python -m pip install https://github.com/purduesigbots/pros-cli/releases/download/3.1.4/pros_cli_v5-3.1.4-py3-none-any.whl

ENV PATH "$PATH:/install-dir/gcc-arm-none-eabi-9-2020-q2-update/bin/"

# install Rust toolchain
RUN sudo apt-get install curl
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2022-11-11 -y
ENV PATH="/root/.cargo/bin:${PATH}"

RUN sudo apt-get install clang -y


RUN echo "export PATH=/install-dir/gcc-arm-none-eabi-9-2020-q2-update/bin/:${PATH}" >> /root/.bashrc

RUN echo "source /opt/ros/noetic/setup.bash" >> /root/.bashrc

18 changes: 12 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"image": "docker.io/raiderrobotics/container-registry:rr-noetic-base",
// Causes permission errors when running make (i.e. colcon build) without sudo?
// "remoteUser": "ros",
"customizations": {
"name": "VEX-rt",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.profiles.linux": {
Expand All @@ -21,7 +22,12 @@
"GitHub.vscode-pull-request-github",
"DotJoshJohnson.xml",
"redhat.vscode-yaml",
"yzhang.markdown-all-in-one"
"yzhang.markdown-all-in-one",
"vadimcn.vscode-lldb",
"mutantdino.resourcemonitor",
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"serayuzgur.crates"
]
}
},
Expand All @@ -34,4 +40,4 @@
"--security-opt=apparmor:unconfined"
// "--volume=/tmp/.X11-unix:/tmp/.X11-unix"
]
}
}
3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,17 @@ temp.errors

# VSCode
.history/

# Generated by Cargo
# will have compiled files and executables
debug/
target/

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

/target
project.pros
9 changes: 0 additions & 9 deletions .gitmodules

This file was deleted.

22 changes: 0 additions & 22 deletions .vscode/c_cpp_properties.json

This file was deleted.

8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,11 @@
"python.autoComplete.extraPaths": [
"/opt/ros/humble/lib/python3.8/site-packages/"
],
"cmake.configureOnOpen": false
"cmake.configureOnOpen": false,
"[rust]": {
"editor.formatOnSave": true,
},
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
"rust-analyzer.procMacro.enable": true,
}
65 changes: 0 additions & 65 deletions C++ Guide.md

This file was deleted.

Loading

0 comments on commit aa70545

Please sign in to comment.