Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
0c22c52
PJ and new intake subsystem
Iwild29 Oct 1, 2025
ecc60c3
3 level intake
Iwild29 Oct 1, 2025
b2e2980
Intake 2 motor system
Iwild29 Oct 1, 2025
cb89013
Updated speed & motor IDs
DigiWorm0 Oct 3, 2025
3b2d34b
Replaced Runnables w/ AsyncTask system for stability
DigiWorm0 Oct 9, 2025
6d875dd
Intake adjustment (4 motors!!!)
Iwild29 Oct 29, 2025
c8ef445
Merge branch 'dev' of https://github.com/UWST-Robotics/2024-2025-Vex …
Iwild29 Oct 29, 2025
8f79279
Oh Austin!!! I Make biiiigggg change, is now cooler and more betterer
Iwild29 Nov 7, 2025
1158175
damn brotha, we added pnematics n' shit
Iwild29 Nov 12, 2025
897a63c
Big changes!! Intake controls are peak now!!
Iwild29 Dec 3, 2025
3af206f
Skills auto started 12/3/25
Iwild29 Dec 4, 2025
3bbda64
Initial PJ Skills Auto and Updated "Exit Cycler Mid"
DigiWorm0 Dec 5, 2025
d32f120
WIP: PJ Skills Auto
DigiWorm0 Dec 10, 2025
ae29dbe
Updated Intake System + PJ Skills Auto
DigiWorm0 Dec 11, 2025
be8ea6f
WIP: Blaze Skills Auto
DigiWorm0 Dec 11, 2025
404dfae
WIP: PJ Skill Auto
DigiWorm0 Dec 12, 2025
4fe57a1
Isaac Changes
DigiWorm0 Dec 12, 2025
8f79148
Rice Lake
DigiWorm0 Dec 13, 2025
4d3920e
Robin Code!
Iwild29 Dec 22, 2025
061002d
Added CLion IDE Support w/ a CMake Wrapper
DigiWorm0 Feb 3, 2026
51d73cb
DevilLib Overhaul/Refactoring
DigiWorm0 Feb 4, 2026
892b1c1
Added additional chassis types and new TrapezoidMotionProfile
DigiWorm0 Feb 9, 2026
92f3cdf
Bump PROS to 4.2.1
DigiWorm0 Feb 10, 2026
aa5c03d
Improved Hardware Error Handling
DigiWorm0 Feb 10, 2026
1c34d15
Downgrade LVGL to 8.3.9 due to crashing issues
DigiWorm0 Feb 12, 2026
04c27e7
Added ToastDisplay and updated `DevilBotsDisplay`
DigiWorm0 Feb 12, 2026
e34b895
WIP: Added Profiled PID Controller to RotateTo AutoStep
DigiWorm0 Feb 12, 2026
32c6e22
Added dedicated feedforward control to AutoRotateToStep
DigiWorm0 Feb 12, 2026
55d7cc3
Tuned/Improved AutoRotateToStep
DigiWorm0 Feb 13, 2026
2478f53
Removed lots of legacy code
DigiWorm0 Feb 13, 2026
062a4eb
RAMSETE Bug Fixes + Tuning
DigiWorm0 Feb 14, 2026
ab810f1
Merge branch 'feature/autosteps-v2' into dev
DigiWorm0 Feb 19, 2026
15c9d15
BLaZeeeeeeee UWU
Iwild29 Feb 19, 2026
23f7c32
oh ya know (more blaze stuff)
Iwild29 Feb 19, 2026
c601077
Updated Ports
DigiWorm0 Feb 22, 2026
6cb7903
Added Initial Match Auton
DigiWorm0 Feb 22, 2026
1112f4e
Slight changes (some port changes)
Iwild29 Feb 23, 2026
561ffd3
LED Strip
DigiWorm0 Feb 24, 2026
cdb84e8
Merge remote-tracking branch 'origin/dev' into dev
DigiWorm0 Feb 24, 2026
aba75f8
WE ARE SO BACK BRO!
Iwild29 Feb 25, 2026
0e0befa
Ok bro, did some stuff, now pneumatics should prolly work
Iwild29 Feb 26, 2026
e7ea0ba
SMALL CHANGES = BIG TEXT (not compensating)
Iwild29 Feb 26, 2026
c8a0080
Added Stick PID and PTO drive control
DigiWorm0 Feb 27, 2026
ef5ab7c
Tuned Robot Controls
DigiWorm0 Feb 27, 2026
7f1f761
Tuned Auto and Fixed PTO Bug
DigiWorm0 Feb 28, 2026
5b5ac1b
Added Initial Match Auton
DigiWorm0 Feb 28, 2026
0252f09
Replaced Stick Homing w/ IR Sensor
DigiWorm0 Feb 28, 2026
f740bb3
Match Auton Fixes
DigiWorm0 Mar 1, 2026
6798064
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm…
Iwild29 Mar 3, 2026
9c2c1a1
Added Skills Auto
DigiWorm0 Mar 3, 2026
a25b973
Merge remote-tracking branch 'origin/dev' into dev
DigiWorm0 Mar 3, 2026
aa5a162
HOLY HECK BRO! BIG AH CHANGES THIS TIME I SWEAR!!!!!
DigiWorm0 Mar 3, 2026
209896c
Switch PTO to Stick on Stick Button
DigiWorm0 Mar 3, 2026
6eeb724
huaf;ashfu;shaeoife;hiojiommmmmmmgmgmgm
Iwild29 Mar 4, 2026
2c7f14c
Merge branch 'dev' of https://github.com/UWST-Robotics/DEVIL5-RobotCo…
Iwild29 Mar 4, 2026
befab27
Improved Skills Auton
DigiWorm0 Mar 5, 2026
bf45ebd
Auton Picker Fixes
DigiWorm0 Mar 5, 2026
a762113
Improved match auton
DigiWorm0 Mar 5, 2026
8663316
Improved Skills
DigiWorm0 Mar 6, 2026
1c0bc3d
Updates Skills/Match Autons
DigiWorm0 Mar 6, 2026
b367c4a
Improved Skills/Match Autons
DigiWorm0 Mar 7, 2026
b851f0c
FRICKKKKKKKK
Iwild29 Apr 15, 2026
1d5259c
BIG PJ CHANGES!
Iwild29 Apr 18, 2026
2ad67f1
Blaze auto
Iwild29 Apr 19, 2026
718c56d
gosh darn it digi
Iwild29 Apr 21, 2026
a23bb7e
changes i guess
Iwild29 Apr 23, 2026
7865607
Bug Fixes
DigiWorm0 Apr 25, 2026
59e6934
yo yo yo mother fricker
Iwild29 Apr 25, 2026
94b36e4
Tuned Match Auto for Worlds
Iwild29 Apr 25, 2026
e0350ad
Partner controller works, funny other things too
Iwild29 Apr 25, 2026
5234876
golly gee
Iwild29 Apr 25, 2026
8b61ab5
matcn auto fixes
Iwild29 Apr 26, 2026
8a1b303
did stuff (prolly match auto)
Iwild29 Apr 26, 2026
e0606de
Swerev stiuff
Iwild29 Apr 27, 2026
6d75ddb
final Pj match auto changesIm so tired austin. I slept until 1pm :(
Iwild29 Apr 28, 2026
cf32501
Merge branch 'dev' of https://github.com/UWST-Robotics/DEVIL5-RobotCo…
Iwild29 Apr 28, 2026
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# CLion
.idea/

# Compiled Object files
*.o
*.obj
Expand Down
38 changes: 38 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
cmake_minimum_required(VERSION 3.20)
project(DEVIL5-RobotCode LANGUAGES C CXX)

# Modern C++
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Include source and header files
include_directories(
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/include
)

file(GLOB_RECURSE SOURCES
src/*.c
src/*.cpp
include/*.h
include/*.hpp
)

# Dummy build target for Intellisense purposes
add_executable(dummy_index ${SOURCES})
set_target_properties(dummy_index PROPERTIES
LINKER_LANGUAGE CXX
EXCLUDE_FROM_ALL TRUE
CXX_STANDARD 20
CXX_STANDARD_REQUIRED YES
CXX_EXTENSIONS NO
)

# Actual build target that points to PROS's Makefile
add_custom_target(vex_build ALL
COMMAND make
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Building project with PROS Makefile"
)
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ INCDIR=$(ROOT)/include

WARNFLAGS+=
EXTRA_CFLAGS=
EXTRA_CXXFLAGS=
EXTRA_CXXFLAGS=-Wall -Wextra -Wpedantic -Wdouble-promotion -Wno-unused-parameter

# Set to 1 to enable hot/cold linking
USE_PACKAGE:=1
Expand Down
19 changes: 19 additions & 0 deletions arm-none-eabi-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Indicate cross-compilation
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR arm)

# Compilers
set(CMAKE_C_COMPILER "$ENV{PROS_TOOLCHAIN}/bin/arm-none-eabi-gcc.exe")
set(CMAKE_CXX_COMPILER "$ENV{PROS_TOOLCHAIN}/bin/arm-none-eabi-g++.exe")

# Disable trying to compile test programs for the host
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)

# Paths for finding includes and libraries
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

# Additional flags for ARM Cortex V5 (VEX)
set(CMAKE_C_FLAGS "--specs=nosys.specs -mcpu=cortex-m7 -mthumb")
set(CMAKE_CXX_FLAGS "--specs=nosys.specs -mcpu=cortex-m7 -mthumb")
4 changes: 0 additions & 4 deletions assets/test.txt

This file was deleted.

17 changes: 9 additions & 8 deletions common.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARCHTUPLE=arm-none-eabi-
DEVICE=VEX EDR V5

MFLAGS=-mcpu=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=softfp -Os -g
MFLAGS=-mcpu=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -Os -g -mthumb
CPPFLAGS=-D_POSIX_THREADS -D_UNIX98_THREAD_MUTEX_ATTRIBUTES -D_POSIX_TIMERS -D_POSIX_MONOTONIC_CLOCK
GCCFLAGS=-ffunction-sections -fdata-sections -fdiagnostics-color -funwind-tables

Expand All @@ -20,8 +20,8 @@ WARNFLAGS+=-Wno-psabi
SPACE := $() $()
COMMA := ,

C_STANDARD?=gnu11
CXX_STANDARD?=gnu++20
C_STANDARD?=gnu2x
CXX_STANDARD?=gnu++23

DEPDIR := .d
$(shell mkdir -p $(DEPDIR))
Expand All @@ -34,7 +34,7 @@ LIBRARIES+=$(wildcard $(FWDIR)/*.a)
EXCLUDE_COLD_LIBRARIES+=$(FWDIR)/libc.a $(FWDIR)/libm.a
COLD_LIBRARIES=$(filter-out $(EXCLUDE_COLD_LIBRARIES), $(LIBRARIES))
wlprefix=-Wl,$(subst $(SPACE),$(COMMA),$1)
LNK_FLAGS=--gc-sections --start-group $(strip $(LIBRARIES)) -lgcc -lstdc++ --end-group -T$(FWDIR)/v5-common.ld
LNK_FLAGS=--gc-sections --start-group $(strip $(LIBRARIES)) -lgcc -lstdc++ --end-group -T$(FWDIR)/v5-common.ld --no-warn-rwx-segments --sort-section=alignment --sort-common

ASMFLAGS=$(MFLAGS) $(WARNFLAGS)
CFLAGS=$(MFLAGS) $(CPPFLAGS) $(WARNFLAGS) $(GCCFLAGS) --std=$(C_STANDARD)
Expand Down Expand Up @@ -188,7 +188,7 @@ quick: $(DEFAULT_BIN)

all: clean $(DEFAULT_BIN)

clean:
clean::
@echo Cleaning project
-$Drm -rf $(BINDIR)
-$Drm -rf $(DEPDIR)
Expand All @@ -206,14 +206,15 @@ clean-template:
-$Drm -rf $(TEMPLATE_DIR)

$(LIBAR): $(call GETALLOBJ,$(EXCLUDE_SRC_FROM_LIB)) $(EXTRA_LIB_DEPS)
-$Dmkdir $(BINDIR)
-$Drm -f $@
$(call test_output_2,Creating $@ ,$(AR) rcs $@ $^, $(DONE_STRING))

.PHONY: library
library: $(LIBAR)

.PHONY: template
template: clean-template $(LIBAR)
template:: clean-template $(LIBAR)
$Dpros c create-template . $(LIBNAME) $(VERSION) $(foreach file,$(TEMPLATE_FILES) $(LIBAR),--system "$(file)") --target v5 $(CREATE_TEMPLATE_FLAGS)
endif

Expand Down Expand Up @@ -262,7 +263,7 @@ $(foreach asmext,$(ASMEXTS),$(eval $(call asm_rule,$(asmext))))

define c_rule
$(BINDIR)/%.$1.o: $(SRCDIR)/%.$1
$(BINDIR)/%.$1.o: $(SRCDIR)/%.$1 $(DEPDIR)/$(basename $1).d
$(BINDIR)/%.$1.o: $(SRCDIR)/%.$1 $(DEPDIR)/$(basename %).d
$(VV)mkdir -p $$(dir $$@)
$(MAKEDEPFOLDER)
$$(call test_output_2,Compiled $$< ,$(CC) -c $(INCLUDE) -iquote"$(INCDIR)/$$(dir $$*)" $(CFLAGS) $(EXTRA_CFLAGS) $(DEPFLAGS) -o $$@ $$<,$(OK_STRING))
Expand Down Expand Up @@ -305,4 +306,4 @@ cxx-sysroot:
$(DEPDIR)/%.d: ;
.PRECIOUS: $(DEPDIR)/%.d

include $(wildcard $(patsubst $(SRCDIR)/%,$(DEPDIR)/%.d,$(CSRC) $(CXXSRC)))
include $(wildcard $(patsubst $(SRCDIR)/%,$(DEPDIR)/%.d,$(CSRC) $(CXXSRC)))
Binary file modified firmware/libc.a
Binary file not shown.
Binary file modified firmware/liblvgl.a
Binary file not shown.
Binary file modified firmware/libm.a
Binary file not shown.
Binary file modified firmware/libpros.a
Binary file not shown.
47 changes: 5 additions & 42 deletions firmware/v5-common.ld
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ SECTIONS
*(.gcc_except_table)
} > RAM

.mmu_tbl (ALIGN(16384)) : {
__mmu_tbl_start = .;
*(.mmu_tbl)
__mmu_tbl_end = .;
} > RAM

.ARM.exidx : {
__exidx_start = .;
*(.ARM.exidx*)
Expand Down Expand Up @@ -166,11 +160,9 @@ SECTIONS
__fini_array_end = .;
} > RAM

.ARM.attributes : {
__ARM.attributes_start = .;
*(.ARM.attributes)
__ARM.attributes_end = .;
} > RAM
/DISCARD/ : {
*(.ARM.attributes*)
}

.sdata : {
__sdata_start = .;
Expand Down Expand Up @@ -228,36 +220,7 @@ _SDA2_BASE_ = __sdata2_start + ((__sbss2_end - __sdata2_start) / 2 );
_heap_end = .;
HeapLimit = .;
} > HEAP

.stack (NOLOAD) : {
. = ALIGN(16);
_stack_end = .;
. += _STACK_SIZE;
. = ALIGN(16);
_stack = .;
__stack = _stack;
. = ALIGN(16);
_irq_stack_end = .;
. += _IRQ_STACK_SIZE;
. = ALIGN(16);
__irq_stack = .;
_supervisor_stack_end = .;
. += _SUPERVISOR_STACK_SIZE;
. = ALIGN(16);
__supervisor_stack = .;
_abort_stack_end = .;
. += _ABORT_STACK_SIZE;
. = ALIGN(16);
__abort_stack = .;
_fiq_stack_end = .;
. += _FIQ_STACK_SIZE;
. = ALIGN(16);
__fiq_stack = .;
_undef_stack_end = .;
. += _UNDEF_STACK_SIZE;
. = ALIGN(16);
__undef_stack = .;
} > COLD_MEMORY

/* There are no sections for the stack. This is intentional, since VEXOs sets up a stack before
starting the program, and FreeRTOS task stacks are dynamically allocated. */
_end = .;
}
10 changes: 3 additions & 7 deletions include/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* This file should not be modified by users, since it gets replaced whenever
* a kernel upgrade occurs.
*
* \copyright Copyright (c) 2017-2023, Purdue University ACM SIGBots.
* \copyright Copyright (c) 2017-2024, Purdue University ACM SIGBots.
* All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -39,13 +39,8 @@
#include <unistd.h>
#endif /* __cplusplus */

#define PROS_VERSION_MAJOR 4
#define PROS_VERSION_MINOR 1
#define PROS_VERSION_PATCH 1
#define PROS_VERSION_STRING "4.1.1"


#include "pros/adi.h"
#include "pros/ai_vision.h"
#include "pros/colors.h"
#include "pros/device.h"
#include "pros/distance.h"
Expand All @@ -65,6 +60,7 @@

#ifdef __cplusplus
#include "pros/adi.hpp"
#include "pros/ai_vision.hpp"
#include "pros/colors.hpp"
#include "pros/device.hpp"
#include "pros/distance.hpp"
Expand Down
Loading