Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 5 additions & 1 deletion magicbot/magicrobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,14 @@ class MagicRobot(wpilib.RobotBase):

def __init__(self) -> None:
super().__init__()
hal.report(
hal.tResourceType.kResourceType_Framework.value,
hal.tInstances.kFramework_MagicBot.value,
)

self._exclude_from_injection = ["logger"]

self.__last_error_report = -10
self.__last_error_report = -10.0

self._components: list[tuple[str, Any]] = []
self._feedbacks: list[tuple[Callable[[], Any], Callable[[Any], Any]]] = []
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ zip_safe = False
include_package_data = True
packages = find:
install_requires =
wpilib>=2025.0.0b1,<2026
wpilib>=2025.0.0b2,<2026
setup_requires =
setuptools_scm > 6
python_requires = >=3.9
Expand Down